From 7c5b386e313e887028321366279ea5d322ffae8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 7 Aug 2024 00:37:15 -0300 Subject: [PATCH] python3-Babel: update to 2.16.0, adopt. --- srcpkgs/python3-Babel/template | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/srcpkgs/python3-Babel/template b/srcpkgs/python3-Babel/template index cc25916cc7d..c1625da5fe8 100644 --- a/srcpkgs/python3-Babel/template +++ b/srcpkgs/python3-Babel/template @@ -1,25 +1,18 @@ # Template file for 'python3-Babel' pkgname=python3-Babel -version=2.12.1 -revision=2 -build_style=python3-module +version=2.16.0 +revision=1 +build_style=python3-pep517 hostmakedepends="python3-setuptools" -checkdepends="python3-pytest python3-freezegun faketime" +depends="python3" +checkdepends="$depends python3-pytest python3-freezegun python3-pytz" short_desc="Tools for internationalizing Python applications (Python3)" -maintainer="Orphaned " +maintainer="Gonzalo TornarĂ­a " license="BSD-3-Clause" homepage="https://babel.pocoo.org" changelog="https://raw.githubusercontent.com/python-babel/babel/master/CHANGES.rst" -distfiles="${PYPI_SITE}/B/Babel/Babel-${version}.tar.gz" -checksum=cc2d99999cd01d44420ae725a21c9e3711b3aadc7976d6147f622d8581963455 - -do_check() { - # If you see this is hanging, remove faketime - # it has problem with python's time.sleep - LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1 \ - FAKETIME="@2023-01-01 00:00:00" \ - python3 -m pytest -} +distfiles="${PYPI_SITE}/B/Babel/babel-${version}.tar.gz" +checksum=d1f3554ca26605fe173f3de0c65f750f5a42f924499bf134de6423582298e316 post_install() { vlicense LICENSE