~dricottone/huttese-apk

ref: fd060ac459ab4a2c8803b42e42a33312c2fcfc8b huttese-apk/sr.ht/py3-intervals/APKBUILD -rw-r--r-- 803 bytes
fd060ac4 — Drew DeVault prometheus: drop package 4 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
0991611d Drew DeVault
129e647f Drew DeVault
f9216d16 Drew DeVault
129e647f Drew DeVault
f9216d16 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-intervals
_pyname=intervals
pkgver=0.8.1
pkgrel=1
pkgdesc="Python tools for handling intervals (ranges of comparable objects)."
url="https://github.com/kvesteri/intervals"
arch="noarch"
license="BSD"
depends="python3 py3-infinity"
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="f97142d5f1c8d4da21692b856803481878ac2b2afc3b81937de456bacbf66ebb129b1fe9a070ac442cbc6bbe26fdaf2ed839f8fc8b26392b4bd1ce032d054e65  intervals-0.8.1.tar.gz"