~dricottone/huttese-apk

ref: d98b3b34688f9a6457427c93aac496f60c0a05e1 huttese-apk/sr.ht/py3-infinity/APKBUILD -rw-r--r-- 723 bytes
d98b3b34 — Drew DeVault Move into subdir for abuild reasons 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=infinity
pkgname=py3-infinity
pkgver=1.3
pkgrel=1
pkgdesc="All-in-one infinity value for Python. Can be compared to any object."
url="https://github.com/kvesteri/infinity"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.python.org/packages/source/i/${_name}/${_name}-${pkgver}.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

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

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

sha512sums="2f4832dddec9357dfb6f40ed338aedd297990f3ac9ff9f289d6340dce1375984022d754b3d432b6729cd6222a50c2441e277fe7cefbf7d5c15240399ae78b99d  infinity-1.3.tar.gz"