28 lines
882 B
Bash
28 lines
882 B
Bash
# Template file for 'python-gitlab'
|
|
pkgname=python-gitlab
|
|
version=0.20
|
|
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=028cb3f13c968f93315159686bf3cc2f693cd84585c9f0f807d0869a579fefbf
|
|
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*
|
|
}
|
|
}
|