~dricottone/huttese-apk

ref: 218a61c7ba9c2bdf7a599a60917c251001a24ea2 huttese-apk/sr.ht/py3-infinity/APKBUILD -rw-r--r-- 783 bytes
218a61c7 — Drew DeVault py3-celery: upgrade to 5.1.1 3 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
fabec1aa Drew DeVault
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
fabec1aa 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
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"