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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 12 02:27:16 UTC 2019


    Date: Tuesday, November 12, 2019 @ 02:27:15
  Author: foutrelis
Revision: 526936

archrelease: copy trunk to community-staging-x86_64

Added:
  python-pyicu/repos/community-staging-x86_64/
  python-pyicu/repos/community-staging-x86_64/PKGBUILD
    (from rev 526935, python-pyicu/trunk/PKGBUILD)

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

Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 526935, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-12 02:27:15 UTC (rev 526936)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.3.1
+pkgrel=3
+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=('edb60320ffe649f257d4d691ad9cc8287a7611de6a970d33a25a6e12a14c1faa591023d99d0b10619b0860bba70d1b67af2eff5cf146381afcaa872f0af1be29')
+
+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