# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-venusian _pkgname=venusian pkgver=1.2.0 pkgrel=3 pkgdesc="A Python library for deferring decorator actions" url="https://pypi.python.org/pypi/venusian" arch="noarch" license="BSD-4-Clause" 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-venusian" # Backwards compatibility provides="py-venusian=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="b305850e3a32a2591413386d01af63927d9ae2be1db579d3c12396d4e367ae61cd4b1c8697459646e84ca9affded00f62553156193e9eecfdc39a3c8a5ec0cca venusian-1.2.0.tar.gz"