# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-intervals
_pyname=intervals
pkgver=0.9.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="8b7030ac37a0e59c00c9bd43bc043dcbdf9bd92d82b701c1ec05089bde93bf1e1c89c59e1ede2abb0c3889b1d7b8fb9aa3b5d331a79d7794337371448d16762e intervals-0.9.1.tar.gz"