[arch-commits] Commit in python-pyicu/repos/community-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Thu Apr 15 17:54:00 UTC 2021


    Date: Thursday, April 15, 2021 @ 17:54:00
  Author: foutrelis
Revision: 919174

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-15 17:53:55 UTC (rev 919173)
+++ PKGBUILD	2021-04-15 17:54:00 UTC (rev 919174)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jonathan Liu <net147 at gmail.com>
-
-pkgname=python-pyicu
-pkgver=2.6
-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=('ab4c167cbeb80a23904476e51a3c16aa4721e26840b1d4c2f44b5a610e5467a6880c45f27636efb9e44e8e4302a095d437f4868409103270d79ecd56a3d90c9c')
-
-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
-}

Copied: python-pyicu/repos/community-x86_64/PKGBUILD (from rev 919173, python-pyicu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-15 17:54:00 UTC (rev 919174)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.7.1
+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')
+# PyPI source is missing some files (e.g. test/noms.txt)
+#source=("https://pypi.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz")
+source=("https://gitlab.pyicu.org/main/pyicu/-/archive/v$pkgver/pyicu-v$pkgver.tar.bz2")
+sha512sums=('9d6a0c713396e0391a8617e68ad5ec5410e2dbb7ea0decad02816530ecc5a5ce8dc6b0ef905107b45f0e62c9d60e1e0d565ad18aeaf92e38fefd1c123e8754b5')
+
+prepare() {
+  # Remove this when switching back to the PyPI tarball
+  mv pyicu-v$pkgver PyICU-$pkgver
+}
+
+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