Skip to content

Commit

Permalink
python3-Babel: update to 2.12.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria authored and sgn committed Apr 28, 2023
1 parent ce6623e commit cc324cc
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions srcpkgs/python3-Babel/template
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit cc324cc

Please sign in to comment.