# Maintainer: Natanael Copa pkgname=py3-icu _pkgname=PyICU pkgver=2.4.3 pkgrel=2 pkgdesc="Python3 binding for ICU" url="https://pypi.org/project/PyICU/" arch="all" license="MIT" makedepends="py3-setuptools python3-dev icu-dev" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces="py-icu" # Backwards compatibility provides="py-icu=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { python3 setup.py check } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="77b81b0e9a17972696967ebc0421d05c1119a43c7e853f8d939390dddefa4a2a35dd316e08c10c10a283472bb64738016e47c5f45c7c6191d9dba296057740a0 PyICU-2.4.3.tar.gz"