python3-Babel: update to 2.12.1.

This commit is contained in:
Gonzalo Tornaría 2023-04-17 14:31:03 -03:00 committed by Đoàn Trần Công Danh
parent ce6623ecd5
commit cc324cca35

View file

@ -1,18 +1,25 @@
# Template file for 'python3-Babel'
pkgname=python3-Babel
version=2.10.3
revision=2
version=2.12.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytz"
checkdepends="python3-pytest python3-pytz python3-freezegun"
checkdepends="python3-pytest python3-freezegun faketime"
short_desc="Tools for internationalizing Python applications (Python3)"
maintainer="Orphaned <orphan@voidlinux.org>"
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=7614553711ee97490f732126dc077f8d0ae084ebc6a96e23db1482afabdb2c51
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
}
post_install() {
vlicense LICENSE