# Contributor: Justin Berthault # Maintainer: Justin Berthault pkgname=py3-mypy-extensions pkgver=1.0.0 pkgrel=2 pkgdesc="Experimental type system extensions for mypy typechecker" url="https://www.mypy-lang.org/" arch="noarch" license="MIT" depends="python3" makedepends=" py3-gpep517 py3-setuptools py3-wheel " subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/python/mypy_extensions/archive/$pkgver.tar.gz" builddir="$srcdir/"mypy_extensions-$pkgver build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { python3 -m venv --clear --without-pip --system-site-packages test-env test-env/bin/python3 -m installer .dist/*.whl test-env/bin/python3 -m unittest discover tests } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" ac89a9f60a2c3df3457d5a6ab7ed47b72dd173646ef57f1450556051617e62046405a69fadeb40d2c24e68ce6ffed56d9182365e3203477facdc935e1a807847 py3-mypy-extensions-1.0.0.tar.gz "