# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=py3-humanize _pkgname=humanize pkgver=0.5.1 pkgrel=3 pkgdesc="Python humanize functions" url="https://pypi.python.org/pypi/humanize" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-mock" source="$_pkgname-$pkgver.tar.gz::https://github.com/jmoiron/humanize/archive/$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces=py-humanize # Backwards compatibility provides=py-humanize=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="dd7ad7f3c564cc6abcb6b128e50dbea7f19f7f418bfd936aae2472961c53ec71202133c5c2b5b930ef41ef807b51d6ba1210565627ed32c0b41acc0abd32a2d5 humanize-0.5.1.tar.gz"