# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-python-stdnum _pkgname=python-stdnum pkgver=1.5 pkgrel=2 pkgdesc="Python module to handle standardized numbers and codes" url="https://arthurdejong.org/python-stdnum" arch="noarch" license="LGPL-2.0-or-later" depends="python3" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-stdnum" # Backwards compatibility provides="py-stdnum=$pkgver-r$pkkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="8d6394d7039fc5a2e3785eb95ef1793038ae75443224fc5af7f1cae2cb575c2f4e5451bd9668304ba95d3ee3f87dc0103ccf6c35837220f9729cbe1a3e13f656 python-stdnum-1.5.tar.gz"