Re: [voidlinux/void-packages] New package: python-gitlab-0.18 (#5784)

Toyam Cox at Wed, 22 Feb 2017 06:39:29 -0800
Vaelatern requested changes on this pull request. > @@ -0,0 +1,29 @@ +# Template file for 'python-gitlab' +pkgname=python-gitlab +version=0.18 +revision=1 +noarch=yes +wrksrc="${pkgname}-${version}" Totally redundant. > +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-six" +short_desc="Wrapper for GitLab's API (Python2)" +maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" +homepage="https://github.com/gpocentek/python-gitlab" +license="GPL-3" +distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz" +checksum=d60d67c82fedd8c3e4f0bb8b5241bf2df32307c98fdf2f02a94850e21db2d804 +alternatives="gitlab:gitlab:/usr/bin/gitlab2" + +python3-gitlab_package() { + noarch=yes + depends="python3-requests python3-six" + pycompile_module="gitlab" + short_desc="${short_desc/Python2/Python3}" + alternatives="gitlab:gitlab:/usr/bin/gitlab3" Can we name the alternatives group something like `python-gitlab`
Alessio Sergi at Fri, 24 Feb 2017 02:10:33 -0800
asergi commented on this pull request. > @@ -0,0 +1,28 @@ +# Template file for 'python-gitlab' +pkgname=python-gitlab +version=0.18 +revision=1 +noarch=yes +build_style=python-module +pycompile_module="gitlab" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-six" +short_desc="Wrapper for GitLab's API (Python2)" +maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" +homepage="https://github.com/gpocentek/python-gitlab" +license="GPL-3" `license="LGPL-3"`
Toyam Cox at Sun, 26 Feb 2017 01:42:43 -0800
Vaelatern requested changes on this pull request. > +# Template file for 'python-gitlab' +pkgname=python-gitlab +version=0.18 +revision=1 +noarch=yes +build_style=python-module +pycompile_module="gitlab" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-six" +short_desc="Wrapper for GitLab's API (Python2)" +maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" +homepage="https://github.com/gpocentek/python-gitlab" +license="LGPL-3" +distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz" +checksum=d60d67c82fedd8c3e4f0bb8b5241bf2df32307c98fdf2f02a94850e21db2d804 +alternatives="python-gitlab:python-gitlab:/usr/bin/gitlab2" `${group}:${a}:${b}` where `ln -s ${b} ${a}` So `python-gitlab:gitlab:/usr/bin/gitlab2` > +hostmakedepends="python-setuptools python3-setuptools" +depends="python-requests python-six" +short_desc="Wrapper for GitLab's API (Python2)" +maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>" +homepage="https://github.com/gpocentek/python-gitlab" +license="LGPL-3" +distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz" +checksum=d60d67c82fedd8c3e4f0bb8b5241bf2df32307c98fdf2f02a94850e21db2d804 +alternatives="python-gitlab:python-gitlab:/usr/bin/gitlab2" + +python3-gitlab_package() { + noarch=yes + depends="python3-requests python3-six" + pycompile_module="gitlab" + short_desc="${short_desc/Python2/Python3}" + alternatives="python-gitlab:python-gitlab:/usr/bin/gitlab3" And here
Toyam Cox at Fri, 03 Mar 2017 11:54:12 -0800
Vaelatern approved this pull request.
Toyam Cox at Fri, 03 Mar 2017 11:54:22 -0800
Merged #5784.