~dricottone/huttese-apk

ref: 636063aed7d0618676a42719b453d08933c083d5 huttese-apk/sr.ht/py3-infinity/APKBUILD -rw-r--r-- 783 bytes
636063ae — Drew DeVault py3-intervals: bump pkgrel 4 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.4
pkgrel=2
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="57ce539d861a47d02b570f997a0b1ee6c631a1d9825b68692e9edfac789ec3069b754abb64bb4128dbfcf2eea231067c61a287315ec130a301f18c0e65387acb  infinity-1.4.tar.gz"