# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-polib _pkgname=polib pkgver=1.1.1 pkgrel=0 pkgdesc="library to manipulate gettext files" url="http://polib.readthedocs.org/en/latest/index.html" arch="noarch" license="MIT" 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-polib # Backwards compatibility provides=py-polib=$pkgver-r$pkgrel # Backwards compatibility options="!check" # tests broken build() { python3 setup.py build } check() { python3 tests/tests.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums=" 38de5fbdbc9ef879a4d55b9fe4f86a3aca3fb90dbb671745bd2b126be443598b8b18fe53afd116c3a4d3efc7a42b5ed05d75569bb5b2ef0bd2ced6e13eda95ad polib-1.1.1.tar.gz "