~dricottone/huttese-apk

ref: 9b90564868c0c0db6c4513184c0c9290a527d18d huttese-apk/sr.ht/py3-vine/APKBUILD -rw-r--r-- 747 bytes
9b905648 — Drew DeVault Add buildall.yml 5 years ago
                                                                                
1702be43 Drew DeVault
04866bce Drew DeVault
1702be43 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>
_name=vine
pkgname=py3-vine
pkgver=1.1.4
pkgrel=0
pkgdesc="Promises library for Python"
url="https://github.com/celery/vine"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools py3-case py3-pytest"
source="https://files.pythonhosted.org/packages/source/v/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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

sha512sums="b85438cd30b3cb6c642380b3da120783cf2d4306366e04a141061d40cf6b8ce5b52ca15562b71f28392ad376c1f160b39162fa7933665b5c21179b0994347460  vine-1.1.4.tar.gz"