Skip to content
Snippets Groups Projects
Commit 3f7afadd authored by Leo's avatar Leo
Browse files

testing/py3-gitlab: new aport

https://github.com/python-gitlab/python-gitlab
v4 GitLab API compliant library and cmdline tool
parent 33fb8e5b
No related branches found
No related tags found
1 merge request!148testing/py3-gitlab: new aport
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-gitlab
_pkgname=python-gitlab
pkgver=1.11.0
pkgrel=0
pkgdesc="v4 GitLab API compliant library and cmdline tool"
options="!check" # Requires unpackaged 'httmock'
url="https://github.com/python-gitlab/python-gitlab"
arch="noarch"
license="LGPL-3.0-or-later"
depends="python3 py3-requests py3-six"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
python3 setup.py build
}
check() {
py.test-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="26af77485eed5212bbe581adb7be6dd85f824de258a0775c6946a5c0adf5c4bacdb2edbcdb3501408fb1019f07b8995cd13dfb65fa742582e26e4d7afddf5a9d python-gitlab-1.11.0.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment