# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-infinity _pkgname=infinity pkgver=1.4 pkgrel=4 pkgdesc="All-in-one infinity value for Python" url="https://github.com/kvesteri/infinity" arch="noarch" license="BSD-3-Clause" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-infinity" # Backwards compatibility provides="py-infinity=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="57ce539d861a47d02b570f997a0b1ee6c631a1d9825b68692e9edfac789ec3069b754abb64bb4128dbfcf2eea231067c61a287315ec130a301f18c0e65387acb infinity-1.4.tar.gz"