~dricottone/huttese-apk

ref: b19fb0365eeb8e04a1a7825f256035faf4e77994 huttese-apk/py3-infinity/APKBUILD -rw-r--r-- 723 bytes
b19fb036 — Drew DeVault Add python-srht 7 years ago
                                                                                
129e647f 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
# 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"