~dricottone/huttese-apk

ref: 82ab309f2c2c94074666ba87db541734f87927c4 huttese-apk/pkgsrc/py3-vine/APKBUILD -rw-r--r-- 805 bytes
82ab309fDominic Ricottone New build process 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"