# Contributor: Duncan Bellamy # Maintainer: Duncan Bellamy pkgname=py3-humanfriendly pkgver=10.0 pkgrel=4 pkgdesc="Human friendly output for text interfaces using Python" url="https://humanfriendly.readthedocs.io/en/latest/" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="bash py3-capturer py3-docutils py3-mock py3-pytest" subpackages="$pkgname-pyc" source="https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-$pkgver.tar.gz fix-tests.patch " builddir="$srcdir/humanfriendly-$pkgver" build() { python3 setup.py build } check() { #check for input fails pytest --deselect humanfriendly/tests.py::HumanFriendlyTestCase::test_prompt_for_confirmation \ humanfriendly/tests.py } package() { python3 setup.py install --skip-build --root="$pkgdir" find "$pkgdir" -name "*tests*" -delete } sha512sums=" 496700bcea1dabf003c938558bf807fabb41b71192f69622979dd9e243dda9b4b06c5ac8f65cef217df85ebadf99099dc22b50d63216791a569be11081d267d6 humanfriendly-10.0.tar.gz c3bd8d8352ad945b3d101ab0fd997d0056adb88ca2a8042adcb2490db9b5ea58d408e48a2db3e54ae3d1f7cb2511dfde41cca725031466be5d834c13ce313cfe fix-tests.patch "