~dricottone/apkbuilds

ref: 5227293f32cf5072200e1d4aa78c9a434f272472 apkbuilds/src/py3-infinity/APKBUILD -rw-r--r-- 785 bytes
5227293fDominic Ricottone Alpine 3.19 7 months 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>
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
"