# Contributor: prspkt # Maintainer: prspkt pkgname=py3-wrapt _pkgname=wrapt pkgver=1.11.2 pkgrel=1 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/$pkgname-$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="2551247c46fbc34068e0f2d6efa91d8c87669c8bf1e16c3b5e2e5e0d84402301c38a78485b7e9a13120c99c9c942db680a84d87a52a072d530aba6444d86297d py3-wrapt-1.11.2.tar.gz"