Date: Wednesday, May 27, 2020 @ 09:34:12 Author: felixonmars Revision: 635842
archrelease: copy trunk to community-testing-x86_64 Added: python-pyicu/repos/community-testing-x86_64/ python-pyicu/repos/community-testing-x86_64/PKGBUILD (from rev 635841, python-pyicu/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: python-pyicu/repos/community-testing-x86_64/PKGBUILD (from rev 635841, python-pyicu/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-05-27 09:34:12 UTC (rev 635842) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Jonathan Liu <net...@gmail.com> + +pkgname=python-pyicu +pkgver=2.5 +pkgrel=1 +pkgdesc="Python binding for ICU" +arch=('x86_64') +license=('MIT') +url="http://pyicu.osafoundation.org/" +depends=('python' 'icu') +makedepends=('python-setuptools') +checkdepends=('python-fonttools' 'python-pytest') +source=("https://pypi.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz") +sha512sums=('b2641c6f9956cd8026150923f0f10031712c426f45ed2b9fe468ce85917b028a6e1988ac73cd74e9eec2569601ece77018aa06863525e24df1944d4a5b762548') + +build() { + cd PyICU-$pkgver + python setup.py build +} + +check() { + cd PyICU-$pkgver + python setup.py test +} + +package() { + cd PyICU-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 + install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}