# Contributor: Philipp Glaum # Maintainer: Philipp Glaum pkgname=py3-babelfish _pkgname=babelfish pkgver=0.5.5 pkgrel=1 pkgdesc="Work with countries and languages" url="https://pypi.org/project/babelfish/" arch="noarch" license="BSD-3-Clause" depends="python3 py3-sphinx" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" python3 babelfish/tests.py } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="71504dd0203ad85a6a69107d67df3bd5ae4193515e74c05b346a8bd0aab425fc1534d54d1c74b14e48580ee5e76f04705e35c2d359fbe46254bee37e41cb4bfa babelfish-0.5.5.tar.gz"