33 lines
921 B
Plaintext
33 lines
921 B
Plaintext
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer: Leo <thinkabit.ukim@gmail.com>
|
|
pkgname=py3-gitlab
|
|
_pkgname=python-gitlab
|
|
pkgver=2.10.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-requests-toolbelt 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="
|
|
89d14e3627c2549bc3a27ea9b609ad9e110cc36195fdd924290a51383f6dc805828706575aa83cc7ae7f8c173697a730a1813b0e60aa668e11c559da062919da python-gitlab-2.10.0.tar.gz
|
|
"
|