~dricottone/huttese-apk

ref: 78032e4aa0d2eef8fe909bd354a415b7d72bbec1 huttese-apk/sr.ht/py3-vine/APKBUILD -rw-r--r-- 747 bytes
78032e4a — Drew DeVault py-cairosvg: update to 2.4.0 5 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=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"