Date: Monday, November 22, 2021 @ 01:56:21
  Author: foutrelis
Revision: 1054190

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

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

Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 1054189, 
python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2021-11-22 01:56:21 UTC (rev 1054190)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Jonathan Liu <[email protected]>
+
+pkgname=python-pyicu
+pkgver=2.8
+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=('c0447a7ffa3eef69a24fc4347496fe40c48df9bf13871c9920f1b932b409642fd4d3a63e272262cb4b4ed4ec7f9070b6d93e9ee70d0efea7eaa049e1c8d5afc2')
+
+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
+}

Reply via email to