~dricottone/huttese-apk

ref: 1c7b3ff3805af7986a167a7229aee50da0fda625 huttese-apk/sr.ht/py3-gitlab/APKBUILD -rw-r--r-- 919 bytes
1c7b3ff3 — Konrad Borowski pages.sr.ht: depend on mailcap 2 years ago
                                                                                
cac62c1c Drew DeVault
5d3269e3 Drew DeVault
ef0904d5 Drew DeVault
cac62c1c Drew DeVault
c64eaa2c Drew DeVault
cac62c1c Drew DeVault
d13d3a40 Drew DeVault
5d3269e3 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=3.3.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="
4db9efcfa747dc003d9e7a3529d4d6cc42e65e6158efe28e3fc0997b64ed6f2f9add9ba0774cb0b026e3374f2e54ca811f44508e291e064d53ff7a60e28ef460  python-gitlab-3.3.0.tar.gz
"