# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-intervals _pkgname=intervals pkgver=0.9.0 pkgrel=0 pkgdesc="Python module for handling intervals (ranges of comparable objects)" url="https://github.com/kvesteri/intervals" arch="noarch" license="BSD-3-Clause" depends="py3-infinity" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz pytest5.patch" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-intervals" # Backwards compatibility provides="py-intervals=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="474ce8fadaf5e884b1cf2f429497e0c234ef18b47592bd9a8e71eacae75abd5605c22153a2649123bfb7132272a8fa75009f4c8c872baf689528319f0af503d3 intervals-0.9.0.tar.gz af545bec7d8157259197e045396d69ac1791b5e0420056fca69bea444cceacaa208ae568fd80792f614e1c775611ea22c48521bdd47dbdd976a699c150835f96 pytest5.patch"