Merge pull request #5784 from lafrenierejm/python-gitlab

New package: python-gitlab-0.18
This commit is contained in:
Toyam Cox 2017-03-03 14:54:21 -05:00 committed by GitHub
commit eb49113814
2 changed files with 29 additions and 0 deletions

View File

@ -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="LGPL-3"
distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz"
checksum=d60d67c82fedd8c3e4f0bb8b5241bf2df32307c98fdf2f02a94850e21db2d804
alternatives="python-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="python-gitlab:gitlab:/usr/bin/gitlab3"
pkg_install() {
vmove usr/bin/*3
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-gitlab Symbolic link
View File

@ -0,0 +1 @@
python-gitlab