[arch-commits] Commit in python-pyicu/repos/community-testing-x86_64 (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Apr 16 15:07:58 UTC 2021
Date: Friday, April 16, 2021 @ 15:07:58
Author: foutrelis
Revision: 919497
archrelease: copy trunk to community-testing-x86_64
Added:
python-pyicu/repos/community-testing-x86_64/PKGBUILD
(from rev 919496, python-pyicu/trunk/PKGBUILD)
Deleted:
python-pyicu/repos/community-testing-x86_64/PKGBUILD
----------+
PKGBUILD | 77 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-16 15:07:54 UTC (rev 919496)
+++ PKGBUILD 2021-04-16 15:07:58 UTC (rev 919497)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Jonathan Liu <net147 at gmail.com>
-
-pkgname=python-pyicu
-pkgver=2.7.1
-pkgrel=2
-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
-}
Copied: python-pyicu/repos/community-testing-x86_64/PKGBUILD (from rev 919496, python-pyicu/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-04-16 15:07:58 UTC (rev 919497)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jonathan Liu <net147 at gmail.com>
+
+pkgname=python-pyicu
+pkgver=2.7.2
+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"
+ $pkgname-$pkgver-LICENSE::https://gitlab.pyicu.org/main/pyicu/-/raw/v$pkgver/LICENSE)
+sha512sums=('45d60ec2fc7a62d4f7b9d4cc954529b2cd998161172f6017a399ebb31fff9d7da24231e461c6ecb17d77246c96d93c7bbf5cd693eb1b66c46a729c215b4134f1'
+ 'ac2b6d1fe6124b84249426abbf4ecdb7c40ab3101ff6b91fa98776a8f27e6b0c255ed88724d19a77e9c89628aab7a16ede1416d5e2464bfe5d8f3ace59dc67f5')
+
+prepare() {
+ # 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() {
+ 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