~dricottone/huttese-apk

ref: 119b253b44545cd1728a7a8b9cd5aff664512912 huttese-apk/sr.ht/py3-vine/APKBUILD -rw-r--r-- 771 bytes
119b253b — Drew DeVault py3-click-repl: new aport 3 years ago
                                                                                
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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-vine
_pyname=vine
pkgver=1.3.0
pkgrel=2
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"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="f7242378ebc9b591b6e0a7b6263514f32cee4b996bc6461313221b9a391dd0dd1d833591d6e9ca72ae003f6ce5c4204856d49bb5e57c69a125072cac25758688  vine-1.3.0.tar.gz"