[arch-commits] Commit in python-babel/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Nov 11 19:41:58 UTC 2020
Date: Wednesday, November 11, 2020 @ 19:41:57
Author: eschwartz
Revision: 751201
upgpkg: python-babel 2.8.1-1: upstream release
- only change is test compat for pytest 6
- also set the timezone for the test, since it fails if you're not UTC:
https://github.com/python-babel/babel/issues/757
Modified:
python-babel/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 19:31:09 UTC (rev 751200)
+++ PKGBUILD 2020-11-11 19:41:57 UTC (rev 751201)
@@ -3,9 +3,9 @@
# Contributor : Giedrius Slavinskas <giedrius25 at gmail.com>
pkgname=python-babel
-pkgver=2.8.0
+pkgver=2.8.1
_core=36
-pkgrel=5
+pkgrel=1
pkgdesc="A collection of tools for internationalizing Python applications"
url="http://babel.pocoo.org/"
license=("BSD")
@@ -17,7 +17,7 @@
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"
"python-3.9.patch")
-sha256sums=('2d4d29e73e85afd10ff260579303b5479b332eadc393663089dceb14ff6f8b9c'
+sha256sums=('2324e41ffb439a83748813e54718574c094222bb32996d466958a7a3d6c23a47'
'07279e56c1f4266d140b907ef3ec379dce0a99542303a9628562ac5fe460ba43'
'13adbc61cf0c59f215f38cd5b1a4dc3c29f2e35c9e9d054f64a9f03308401b0a')
@@ -36,7 +36,9 @@
check(){
cd "$srcdir/babel-$pkgver"
- python setup.py pytest
+ # the tests fail if running in the wrong timezone:
+ # https://github.com/python-babel/babel/issues/757
+ TZ=UTC python setup.py pytest
}
package_python-babel() {
More information about the arch-commits
mailing list