~dricottone/huttese-apk

ref: 4bbaacb863e59dee26ad09e129e623209fd7fe93 huttese-apk/sr.ht/py3-infinity/APKBUILD -rw-r--r-- 783 bytes
4bbaacb8 — Simon Ser soju: upgrade 2 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-infinity
_pyname=infinity
pkgver=1.5
pkgrel=0
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="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="d61c16fe08749dab050ffb17f8cb392b22ef0c409d736625820419859a0533e067d04a3244e937cf968b40eb02d6bcecb0f80525797dc372eba7205836bad9cb  infinity-1.5.tar.gz"