~dricottone/huttese-apk

ref: f9216d16b857dcdfb041adbb37ad2864d8d217fa huttese-apk/sr.ht/py3-intervals/APKBUILD -rw-r--r-- 803 bytes
f9216d16 — Drew DeVault Update all dependency packages 5 years ago
                                                                                
129e647f Drew DeVault
f9216d16 Drew DeVault
04866bce 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=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="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"