~dricottone/huttese-apk

ref: 351d80cd675f6e8f65d1b03fd4cfd9fb751b3e5c huttese-apk/pkgsrc/py3-vine/APKBUILD -rw-r--r-- 805 bytes
351d80cdDominic Ricottone todo.sr.ht version upgrade 2 years ago
                                                                                
1702be43 Drew DeVault
f9216d16 Drew DeVault
e56b1e65 Drew DeVault
9cdf2ad0 Drew DeVault
1702be43 Drew DeVault
f9216d16 Drew DeVault
f852eeba Drew DeVault
1702be43 Drew DeVault
f852eeba Drew DeVault
1702be43 Drew DeVault
e56b1e65 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-vine
_pyname=vine
pkgver=5.0.0
pkgrel=0
pkgdesc="Promises library for Python"
url="https://github.com/celery/vine"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py3-setuptools py3-case py3-pytest"
checkdepends="py3-nose"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # Missing some fixtures? TODO

build() {
	python3 setup.py build
}

check() {
	pytest-3
}

package() {
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="ff8f4b3f675220772ed0523e468eedbaec4aca793877b984e9a215603d1288cc3cc71dfeb152219d22f98de0ac7e9f9fa0cc35c2424ff36044cfc8f28192c159  vine-5.0.0.tar.gz"