Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / 
python-babel


Commits:
2974927e by Jelle van der Waa at 2024-01-02T23:46:28+01:00
Drop python-pytest-runner

This is deprecated and can be directly invoked with pytest. Also update the
patch checksum as nothing changed but Github/Gitlab changed the checksum.

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,23 @@
+pkgbase = python-babel
+       pkgdesc = A collection of tools for internationalizing Python 
applications
+       pkgver = 2.12.1
+       pkgrel = 2
+       url = http://babel.pocoo.org/
+       arch = any
+       license = BSD
+       checkdepends = python-pytest
+       checkdepends = python-freezegun
+       makedepends = python-setuptools
+       depends = python
+       depends = python-pytz
+       noextract = cldr-core-42.zip
+       source = 
python-babel-2.12.1.tar.gz::https://github.com/python-babel/babel/archive/v2.12.1.tar.gz
+       source = cldr-core-42.zip::http://unicode.org/Public/cldr/42/core.zip
+       source = 
cldr-common-42.0.zip::http://unicode.org/Public/cldr/42/cldr-common-42.0.zip
+       source = 
python-babel-2.12.1-fix-test.patch::https://github.com/python-babel/babel/commit/641f58c9951d9f5746cd63743dd337f1340d7bff.diff
+       sha256sums = 
37de3435fdec7c3267430765fc3ebe05cd234e65774ff1dc42a7b3b5cd39ef97
+       sha256sums = 
53cd4fd1ac2ee4d4cbcae362e7af5d02e98e5e39c826ce9d723d41ca836fc846
+       sha256sums = 
53cd4fd1ac2ee4d4cbcae362e7af5d02e98e5e39c826ce9d723d41ca836fc846
+       sha256sums = 
571849bf4e1a1d5b87a1e9d27f085119c845a77f67c3772af1a558b24dc004e3
+
+pkgname = python-babel


=====================================
PKGBUILD
=====================================
@@ -5,14 +5,14 @@
 pkgname=python-babel
 pkgver=2.12.1
 _core=42
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of tools for internationalizing Python applications"
 url="http://babel.pocoo.org/";
 license=("BSD")
 arch=('any')
 depends=('python' 'python-pytz')
 makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-pytest-runner' 'python-freezegun')
+checkdepends=('python-pytest' 'python-freezegun')
 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";
@@ -21,7 +21,7 @@ 
source=("$pkgname-$pkgver.tar.gz::https://github.com/python-babel/babel/archive/
 sha256sums=('37de3435fdec7c3267430765fc3ebe05cd234e65774ff1dc42a7b3b5cd39ef97'
             '53cd4fd1ac2ee4d4cbcae362e7af5d02e98e5e39c826ce9d723d41ca836fc846'
             '53cd4fd1ac2ee4d4cbcae362e7af5d02e98e5e39c826ce9d723d41ca836fc846'
-            '629bbf810493ab2d4b104da7e007b8850bba7e5e39ab8065972a3a32b4093bc9')
+            '571849bf4e1a1d5b87a1e9d27f085119c845a77f67c3772af1a558b24dc004e3')
 
 prepare() {
   cp "$srcdir"/cldr-core-$_core.zip babel-$pkgver/cldr/cldr-core-$_core.zip
@@ -40,7 +40,7 @@ check(){
   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
+  TZ=UTC pytest
 }
 
 package_python-babel() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-babel/-/commit/2974927ee2942cc33f93a4bb1c76f18b1a20da7d

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-babel/-/commit/2974927ee2942cc33f93a4bb1c76f18b1a20da7d
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to