# Contributor: Leo # Maintainer: pkgname=py3-contextlib2 pkgver=21.6.0 pkgrel=1 pkgdesc="Proving ground for contextlib from Python3" url="https://github.com/jazzband/contextlib2" arch="noarch" license="PSF-2.0 AND Apache-2.0" depends="python3" makedepends="py3-setuptools" source="$pkgname-$pkgver.tar.gz::https://github.com/jazzband/contextlib2/archive/$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=" 60bdee16ac14612bfd3986ee06a42f74653fc07d5c2da6f00e1bf552c75372f6ed3fd0e313e929e20d9d9efe8c48320d59ac2ae680ebc83efef413ea82776c9b py3-contextlib2-21.6.0.tar.gz "