# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=py3-aenum _pyname=aenum pkgver=3.1.15 pkgrel=0 pkgdesc="Advanced Enumerations for Python" url="https://pypi.python.org/project/$_pyname" license="MIT" arch="noarch" depends="python3" makedepends=" py3-setuptools py3-gpep517 py3-wheel py3-installer " source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz" options="!check" # Failing test unit builddir="$srcdir"/$_pyname-$pkgver subpackages="$pkgname-pyc" build() { gpep517 build-wheel \ --wheel-dir .dist \ --output-fd 3 3>&1 >&2 } check() { pytest -v } package() { python3 -m installer -d "$pkgdir" \ .dist/*.whl } sha512sums=" 3bee86fbe5e4dacf0109f3fb7e7eec069addea7dc8e4516be3eb643315e38d5eb3a23f347ac8c6bde65e294e4f237cc830109c30a5a6c1b3d9c85dc68067dbf3 py3-aenum-3.1.15.tar.gz "