~dricottone/huttese-apk

ref: 06c053e6cd71ee0fbbf30ff91f1a03bb2b0135e8 huttese-apk/sr.ht/py3-intervals/APKBUILD -rw-r--r-- 789 bytes
06c053e6 — Drew DeVault prometheus/alertmanager: new APKBUILD 5 years ago
                                                                                
129e647f Drew DeVault
04866bce Drew DeVault
129e647f 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
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=intervals
pkgname=py3-intervals
pkgver=0.8.0
pkgrel=0
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="py-setuptools"
source="https://pypi.python.org/packages/30/7a/7364356d073426b73014bc6f7aab36914fd9fc53e8d99150a0de69d7846a/intervals-0.8.0.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

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

sha512sums="1953c9535c9d5dbf2080409000e9942b71416473d4856f6eb1e08e55576fce1e979d00563953afca59eed4a6ff8df2f52cf0557e88312416cf1294213e924c38  intervals-0.8.0.tar.gz"