~dricottone/huttese-apk

ref: f569ac0485c258d3676e42befd70635ce55e2642 huttese-apk/sr.ht/py3-gitlab/APKBUILD -rw-r--r-- 921 bytes
f569ac04 — Drew DeVault py3-weasyprint: upgrade to 54.0 2 years ago
                                                                                
cac62c1c Drew DeVault
b3c3359d Drew DeVault
8ac1c524 Drew DeVault
cac62c1c Drew DeVault
c64eaa2c Drew DeVault
cac62c1c Drew DeVault
d13d3a40 Drew DeVault
b3c3359d Drew DeVault
d13d3a40 Drew DeVault
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=2.10.1
pkgrel=1
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="
ab3ca0039ca5fa0b025ffbbe9ee65b1041d02c869f86e8656f6616d4e1dbc3d20898d5cfffcdf0557ad545c40837e4517bffefdbee9948fb366aba7e22d7eb41  python-gitlab-2.10.1.tar.gz
"