# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=py3-humanize _pkgname=humanize pkgver=2.0.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="95b3d400124ddf619d913fa6995bf07176b79dbfd55bd3f4c242b0493bf9c7d7c8c5a29a20d93aed161234e193925116370157b0ee5cf2ca3155cfad36ad63ea humanize-2.0.0.tar.gz"