[arch-commits] Commit in python-pyicu/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Fri Apr 16 15:07:54 UTC 2021
Date: Friday, April 16, 2021 @ 15:07:54
Author: foutrelis
Revision: 919496
upgpkg: python-pyicu 2.7.2-1: new upstream release
Modified:
python-pyicu/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-16 15:04:51 UTC (rev 919495)
+++ PKGBUILD 2021-04-16 15:07:54 UTC (rev 919496)
@@ -2,8 +2,8 @@
# Contributor: Jonathan Liu <net147 at gmail.com>
pkgname=python-pyicu
-pkgver=2.7.1
-pkgrel=2
+pkgver=2.7.2
+pkgrel=1
pkgdesc="Python binding for ICU"
arch=('x86_64')
license=('MIT')
@@ -11,14 +11,15 @@
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')
+source=("https://pypi.io/packages/source/P/PyICU/PyICU-$pkgver.tar.gz"
+ $pkgname-$pkgver-LICENSE::https://gitlab.pyicu.org/main/pyicu/-/raw/v$pkgver/LICENSE)
+sha512sums=('45d60ec2fc7a62d4f7b9d4cc954529b2cd998161172f6017a399ebb31fff9d7da24231e461c6ecb17d77246c96d93c7bbf5cd693eb1b66c46a729c215b4134f1'
+ 'ac2b6d1fe6124b84249426abbf4ecdb7c40ab3101ff6b91fa98776a8f27e6b0c255ed88724d19a77e9c89628aab7a16ede1416d5e2464bfe5d8f3ace59dc67f5')
prepare() {
- # Remove this when switching back to the PyPI tarball
- mv pyicu-v$pkgver PyICU-$pkgver
+ # https://gitlab.pyicu.org/main/pyicu/-/issues/148#note_785
+ # next release after 2.7.2 will include this in the tarball
+ mv -vn $pkgname-$pkgver-LICENSE PyICU-$pkgver/LICENSE
}
build() {
More information about the arch-commits
mailing list