python3-Babel: update to 2.16.0, adopt.

This commit is contained in:
Gonzalo Tornaría 2024-08-07 00:37:15 -03:00 committed by classabbyamp
parent fcdc98fa10
commit 7c5b386e31
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 8 additions and 15 deletions

View File

@ -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 <orphan@voidlinux.org>"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
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