mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
30 lines
864 B
Text
30 lines
864 B
Text
# Contributor: Leo <thinkabit.ukim@gmail.com>
|
|
# Maintainer:
|
|
pkgname=py3-gitlab
|
|
_pkgname=python-gitlab
|
|
pkgver=2.1.2
|
|
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="9d139a4fc21b02f9d0640fcd88528a42a51c29ab20802f476744b30cc85c174f91c2514f8aca0d5b0b45b494510e2a606a5e7a7edbc68cda7bdcd0636669e6ea python-gitlab-2.1.2.tar.gz"
|