void-packages/srcpkgs/python-gitlab/template

29 lines
882 B
Bash
Raw Normal View History

2017-02-20 17:06:23 +00:00
# Template file for 'python-gitlab'
pkgname=python-gitlab
2017-03-05 21:58:20 +00:00
version=0.19
2017-02-20 17:06:23 +00:00
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"
2017-03-05 21:58:20 +00:00
checksum=88b65591db7a10a0d9979797e4e654a113e2b93b3a559309f6092b27ab93934a
2017-02-20 17:06:23 +00:00
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*
}
}