~dricottone/huttese-apk

ref: b4161cf2b3919147e4f052aa1c778d4e7083de34 huttese-apk/sr.ht/py3-intervals/APKBUILD -rw-r--r-- 803 bytes
b4161cf2 — Drew DeVault py3-kombu: bump pkgrel 3 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-intervals
_pyname=intervals
pkgver=0.8.1
pkgrel=2
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"