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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Apr 14 23:37:56 UTC 2022


    Date: Thursday, April 14, 2022 @ 23:37:56
  Author: foutrelis
Revision: 1186402

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

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

Copied: python-pyicu/repos/community-staging-x86_64/PKGBUILD (from rev 1186401, python-pyicu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2022-04-14 23:37:56 UTC (rev 1186402)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.9
+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' 'python-six')
+source=("https://pypi.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+sha512sums=('49b0961ed855517f039ac8a863b1af1a58c6716751eb1f5cebb987a16faabc5585ed6ed3ed3d80d4cf45e9091d855cafe4b6683f4d274e5c4d41c9dab9164799')
+
+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