maxice8 de27c8e15d python-gitlab: update to 1.0.1.
Closes: #7857 [via git-merge-pr]
2017-10-15 16:19:09 -07:00

29 lines
920 B
Bash

# Template file for 'python-gitlab'
pkgname=python-gitlab
version=1.0.1
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=8f118501ff679717b9932d1aee8086fdf4c122212920ae6937901d81711c3b7c
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*
}
}