# Contributor: Thomas Boerger # Maintainer: Thomas Boerger pkgname=py3-humanize _pkgname=humanize pkgver=1.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" 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="bf8ec28e3e109a5a7c98c8fd515e3285c960bb532a672b2cc43998922e48a151baf3bada977f18affe4d5d1873ff7724f6eb024f5b2e860efa57a43a08924521 humanize-1.0.0.tar.gz"