python-gitlab: drop package
This commit is contained in:
parent
e20aeccae7
commit
fb1669ca9b
3 changed files with 21 additions and 35 deletions
|
@ -1,34 +0,0 @@
|
|||
# Template file for 'python-gitlab'
|
||||
pkgname=python-gitlab
|
||||
version=1.12.1
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_style=python-module
|
||||
pycompile_module="gitlab"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-requests python-six"
|
||||
checkdepends="${depends} python-httmock python-mock"
|
||||
short_desc="Wrapper for GitLab's API (Python2)"
|
||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="https://github.com/gpocentek/python-gitlab"
|
||||
changelog="https://raw.githubusercontent.com/python-gitlab/python-gitlab/master/ChangeLog.rst"
|
||||
distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz"
|
||||
checksum=984e110c1f76fd939652c30ce3101267a7064e34417cbfc4687e6106d4db54ec
|
||||
alternatives="python-gitlab:gitlab:/usr/bin/gitlab2"
|
||||
|
||||
do_check() {
|
||||
python2 setup.py test
|
||||
}
|
||||
|
||||
python3-gitlab_package() {
|
||||
archs=noarch
|
||||
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*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-gitlab
|
21
srcpkgs/python3-gitlab/template
Normal file
21
srcpkgs/python3-gitlab/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'python3-gitlab'
|
||||
pkgname=python3-gitlab
|
||||
version=1.12.1
|
||||
revision=3
|
||||
wrksrc=python-gitlab-$version
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-requests python3-six"
|
||||
checkdepends="${depends}"
|
||||
short_desc="Wrapper for GitLab's API (Python3)"
|
||||
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="https://github.com/gpocentek/python-gitlab"
|
||||
changelog="https://raw.githubusercontent.com/python-gitlab/python-gitlab/master/ChangeLog.rst"
|
||||
distfiles="${PYPI_SITE}/p/python-gitlab/python-gitlab-${version}.tar.gz"
|
||||
checksum=984e110c1f76fd939652c30ce3101267a7064e34417cbfc4687e6106d4db54ec
|
||||
conflicts="python-gitlab>=0"
|
||||
|
||||
do_check() {
|
||||
python2 setup.py test
|
||||
}
|
Loading…
Reference in a new issue