~dricottone/huttese-apk

ref: 6753e70affb0d1c297d93c5472c19e62df4c8216 huttese-apk/sr.ht/py3-gitlab/APKBUILD -rw-r--r-- 919 bytes
6753e70a — Drew DeVault py3-humanize: upgrade to 3.14.0 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-gitlab
_pkgname=python-gitlab
pkgver=3.1.1
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="
66c229c4172c92d579c0f6a6c63138e2c18f1cd4a4e1eb49d4d045f371d565d4921d0feb9e0c8a785a775119decefb611a9822c66dc50aae067107a0c8184ffc  python-gitlab-3.1.1.tar.gz
"