# Maintainer: Natanael Copa pkgname=py3-icu _pyname=PyICU pkgver=2.6 pkgrel=0 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/P/$_pyname/$_pyname-$pkgver.tar.gz" builddir="$srcdir"/$_pyname-$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="ab4c167cbeb80a23904476e51a3c16aa4721e26840b1d4c2f44b5a610e5467a6880c45f27636efb9e44e8e4302a095d437f4868409103270d79ecd56a3d90c9c PyICU-2.6.tar.gz"