void-packages/srcpkgs/python-gitlab/template
maxice8 8528a66c65 python-gitlab: update to 1.2.0.
Closes: #10334 [via git-merge-pr]
2018-01-04 01:06:16 +01:00

28 lines
920 B
Bash

# Template file for 'python-gitlab'
pkgname=python-gitlab
version=1.2.0
revision=1
noarch=yes
build_style=python-module
pycompile_module="gitlab"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-setuptools 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=899aa3f01cc6216d6a9514339df04a0405174fbf4b3f8466f7cbc555b4286066
alternatives="python-gitlab:gitlab:/usr/bin/gitlab2"
python3-gitlab_package() {
noarch=yes
depends="python3-setuptools 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*
}
}