[arch-commits] Commit in python-pyicu/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 15 05:33:54 UTC 2019


    Date: Friday, November 15, 2019 @ 05:33:53
  Author: felixonmars
Revision: 528773

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 528772, python-pyicu/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-pyicu/repos/community-testing-x86_64/PKGBUILD (from rev 528772, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-11-15 05:33:53 UTC (rev 528773)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.4.2
+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=('3cd1f632c2551dce3d721c54190a19c2a46e2554ef54915c9e07b133fa4a499b1a8c49f406abe9777721903799eb23a2d55d3b1aadd758870f8bd591f143a05b')
+
+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
+}



More information about the arch-commits mailing list