# Maintainer: pkgname=py3-text-unidecode _pkgname=text-unidecode pkgver=1.3 pkgrel=5 pkgdesc="The most basic Text::Unidecode port" url=https://github.com/kmike/text-unidecode/ arch=noarch license="Artistic-1.0-cl8" depends="python3" makedepends="py3-setuptools" checkdepends="pytest" subpackages="$pkgname-pyc" source="$pkgname-$pkgver.tar.gz::https://github.com/kmike/$_pkgname/archive/$pkgver.tar.gz" builddir=$srcdir/$_pkgname-$pkgver replaces=py-text-unidecode # Backwards compatibility provides=py-text-unidecode=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } check() { PYTHONPATH=src pytest-3 } package() { python3 setup.py install --skip-build --root="$pkgdir" } sha512sums="8f782a1f0289721bf72d4f32c351628c537a118ea995ea63636abd0f87124909cf52b2f4d8a9b02ab9403fd41f2d1725eb0d7ffeb4f6e80cbd1791edfcd4faec py3-text-unidecode-1.3.tar.gz"