Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
upgpkg: python-babel 2.8.1-1: upstream release
Browse files Browse the repository at this point in the history
- only change is test compat for pytest 6

- also set the timezone for the test, since it fails if you're not UTC:
  python-babel/babel#757

git-svn-id: file:///srv/repos/svn-community/svn@751201 9fca08f4-af9d-4005-b8df-a31f2cc04f65
  • Loading branch information
eli-schwartz authored and svntogit committed Nov 11, 2020
1 parent cb5d2f7 commit aa67533
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions trunk/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
# Contributor : Giedrius Slavinskas <giedrius25@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")
Expand All @@ -17,7 +17,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"
"python-3.9.patch")
sha256sums=('2d4d29e73e85afd10ff260579303b5479b332eadc393663089dceb14ff6f8b9c'
sha256sums=('2324e41ffb439a83748813e54718574c094222bb32996d466958a7a3d6c23a47'
'07279e56c1f4266d140b907ef3ec379dce0a99542303a9628562ac5fe460ba43'
'13adbc61cf0c59f215f38cd5b1a4dc3c29f2e35c9e9d054f64a9f03308401b0a')

Expand All @@ -36,7 +36,9 @@ build(){

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() {
Expand Down

0 comments on commit aa67533

Please sign in to comment.