~dricottone/huttese-apk

ref: 57b6e8063a41a88f9d6f89ce8a14c8ba10471bc1 huttese-apk/py3-vine/APKBUILD -rw-r--r-- 747 bytes
57b6e806 — Drew DeVault Fix up builds.sr.ht package 6 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
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=vine
pkgname=py3-vine
pkgver=1.1.4
pkgrel=1
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"