# Contributor: Andy Hawkins # Maintainer: Andy Hawkins pkgname=py3-tidyexc pkgver=0.10.0 pkgrel=0 pkgdesc="An exception class inspired by the tidyverse style guide." url="https://pypi.org/project/tidyexc/" arch="noarch" license="MIT" makedepends=" py3-gpep517 py3-flit-core " checkdepends=" py3-pytest " source="https://files.pythonhosted.org/packages/source/t/tidyexc/tidyexc-$pkgver.tar.gz flit-core.patch " builddir="$srcdir/tidyexc-$pkgver" build() { gpep517 build-wheel \ --wheel-dir dist \ --output-fd 3 3>&1 >&2 } check() { PY_IGNORE_IMPORTMISMATCH=1 PYTHONPATH="$PWD" pytest } package() { python3 -m installer -d "$pkgdir" \ dist/tidyexc*.whl } sha512sums=" 7671c2bd9d4444ae207a55d9d9c1b24192ef1e0ab8f906ea94919e60cc636bc224ac69e86d494db6e133566c1debc6713618f5b94922a42c09d883f7392a2537 tidyexc-0.10.0.tar.gz 797302081b65bc1dad525503e1bb81ae4885c20cb0ed0275cb15dc4ea50276cea219ef58fc7846add1343bfa2fa5e9bfb091d64e7c60ebb6ab0056d9893f0188 flit-core.patch "