# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=py3-humanize _pkgname=humanize pkgver=2.2.0 pkgrel=0 pkgdesc="Python humanize functions" url="https://pypi.python.org/pypi/humanize" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools py3-setuptools_scm" checkdepends="py3-mock py3-freezegun py3-pytest" 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() { git init python3 setup.py build } check() { python3 setup.py test } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4195047ddc92ed537bfad582ddccc2cfae64c1f90ae248a4e9ea759499d30cc8a50b190ea18ccaea76448f8c4c7c2bbe54bd6313d75baaaceb6c13e0f926de48 humanize-2.2.0.tar.gz"