[arch-commits] Commit in python-pyicu/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Apr 15 17:53:56 UTC 2021
Date: Thursday, April 15, 2021 @ 17:53:55
Author: foutrelis
Revision: 919173
upgpkg: python-pyicu 2.7.1-1: new upstream release
Modified:
python-pyicu/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-15 17:35:04 UTC (rev 919172)
+++ PKGBUILD 2021-04-15 17:53:55 UTC (rev 919173)
@@ -2,8 +2,8 @@
# Contributor: Jonathan Liu <net147 at gmail.com>
pkgname=python-pyicu
-pkgver=2.6
-pkgrel=3
+pkgver=2.7.1
+pkgrel=1
pkgdesc="Python binding for ICU"
arch=('x86_64')
license=('MIT')
@@ -11,9 +11,16 @@
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')
+# 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
More information about the arch-commits
mailing list