~dricottone/huttese-apk

ref: be40601ca1d67b214839f6d791d25263ceb0e7df huttese-apk/sr.ht/py3-vine/APKBUILD -rw-r--r-- 805 bytes
be40601c — Drew DeVault py3-humanize: upgrade to 3.6.0 3 years ago
                                                                                
1702be43 Drew DeVault
f9216d16 Drew DeVault
e56b1e65 Drew DeVault
1cb91325 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=1
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"