# Contributor: Max Rees <maxcrees@me.com> # Maintainer: Max Rees <maxcrees@me.com> pkgname=py3-pluggy _pkgname=pluggy pkgver=1.0.0 pkgrel=0 pkgdesc="Plugin management and hook calling for Python" url="https://pypi.python.org/pypi/pluggy" arch="noarch" options="!check" # Cyclic dependency with py3-pytest. Passes on x86_64 # Certified net clean license="MIT" depends="python3" checkdepends="py3-pytest" makedepends="python3-dev" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$builddir/build/lib:$PYTHONPATH" pytest testing } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="cf0bcbb4330c24ce473614befa19548f33fb39fa0ad094e1eae786202d7adadc28e16499f80ab96b630091765404ca5c5b6f9a55bc605e03514d8ab50cf9ae00 py3-pluggy-1.0.0.tar.gz"