From 16de4e836ff508300b9c8172ec1a9a8a48a551bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 17 Apr 2023 14:31:03 -0300 Subject: [PATCH] python3-Babel: update to 2.12.1. --- srcpkgs/python3-Babel/template | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-Babel/template b/srcpkgs/python3-Babel/template index 4f2dc8425795..9255e8537f4e 100644 --- a/srcpkgs/python3-Babel/template +++ b/srcpkgs/python3-Babel/template @@ -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 " 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