# Contributor: Leo # Maintainer: Leo pkgname=py3-contextlib2 pkgver=0.6.0 pkgrel=0 pkgdesc="Proving ground for contextlib from Python3" url="https://github.com/jazzband/contextlib2" arch="noarch" license="PSF-2.0" depends="python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/jazzband/contextlib2/archive/v$pkgver.tar.gz" builddir="$srcdir/contextlib2-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="586e5dcd0ae54661df8a7a0be7868f514af2b3fa35328ad56a42dfd793deab9b0487e6b4aacb8ae727607d8b8cf2cf2a3a8f017cec1c2f975ea015afaa83382b py3-contextlib2-0.6.0.tar.gz"