# Contributor: prspkt # Maintainer: prspkt pkgname=py3-wrapt _pkgname=wrapt pkgver=1.12.0 pkgrel=0 pkgdesc="Module for decorators, wrappers and monkey patching" url="https://github.com/GrahamDumpleton/wrapt" arch="all" license="BSD-2-Clause" depends="python3" makedepends="python3-dev" checkdepends="py3-pytest" source="https://github.com/GrahamDumpleton/wrapt/archive/$pkgver/py3-wrapt-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$(echo $PWD/build/lib.*)" py.test-3 -v } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="56a88e223dfe3d1b0f5fa01219b0a9a710d5a67cacd87d8766cf122498c47a41f4e64d2fcb0d3c939bc775893a7edcac68295754819b37ca469b301f1e98df41 py3-wrapt-1.12.0.tar.gz"