[arch-commits] Commit in python-babel/trunk (PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun May 9 11:52:30 UTC 2021
Date: Sunday, May 9, 2021 @ 11:52:30
Author: foxboron
Revision: 929082
upgpkg: python-babel 2.9.1-1
Modified:
python-babel/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-09 11:52:15 UTC (rev 929081)
+++ PKGBUILD 2021-05-09 11:52:30 UTC (rev 929082)
@@ -3,7 +3,7 @@
# Contributor : Giedrius Slavinskas <giedrius25 at gmail.com>
pkgname=python-babel
-pkgver=2.9.0
+pkgver=2.9.1
_core=37
pkgrel=1
pkgdesc="A collection of tools for internationalizing Python applications"
@@ -16,7 +16,7 @@
noextract=("cldr-core-$_core.zip")
source=("$pkgname-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/v$pkgver.tar.gz"
"cldr-core-$_core.zip::http://unicode.org/Public/cldr/$_core/core.zip")
-sha256sums=('7df55ebc7a75b6c544c381e1cc07151c2429f73f4ed01107bd8998b96cc83f42'
+sha256sums=('96102878b273d0160c210d9323406d26c4a5cf0f5d3a0097a059836a624231f9'
'ba93f5ba256a61a6f8253397c6c4b1a9b9e77531f013cc7ffa7977b5f7e4da57')
prepare() {
@@ -24,13 +24,13 @@
}
build(){
- cd "$srcdir/babel-$pkgver"
+ cd "babel-$pkgver"
python setup.py import_cldr
python setup.py build
}
check(){
- cd "$srcdir/babel-$pkgver"
+ cd "babel-$pkgver"
# the tests fail if running in the wrong timezone:
# https://github.com/python-babel/babel/issues/757
TZ=UTC python setup.py pytest
@@ -37,7 +37,8 @@
}
package_python-babel() {
- cd "$srcdir"/babel-${pkgver}
+ cd "babel-$pkgver"
+ export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list