pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-babel



Module Name:    pkgsrc
Committed By:   adam
Date:           Mon Feb  2 10:07:36 UTC 2026

Modified Files:
        pkgsrc/devel/py-babel: Makefile PLIST distinfo

Log Message:
py-babel: updated to 2.18.0

Version 2.18.0

Happy 2026! This release is, coincidentally, also being made from FOSDEM.

We will aspire for a slightly less glacial release cadence in this year;
there are interesting features in the pipeline.

Features

* Core: Add `babel.core.get_cldr_version()`
* Core: Use CLDR 47
* Core: Use canonical IANA zone names in zone_territories
* Messages: Improve extract performance via ignoring directories early during os.walk
* Messages: Merge in per-format keywords and auto_comments
* Messages: Update keywords for extraction of dpgettext and dnpgettext
* Messages: Validate all plurals in Python format checker
* Time: Use standard library `timezone` instead of `FixedOffsetTimezone`

Bugfixes

* Core: Fix formatting for "Empty locale identifier" exception added
* Core: Improve handling of no-inheritance-marker in timezone data
* Core: Make the number pattern regular expression more efficient
* Messages: Keep translator comments next to the translation function call
* Numbers: Fix KeyError that occurred when formatting compact currencies of exactly one thousand in several locales

Other improvements

* Core: Avoid unnecessary uses of `map()`
* Messages: Have init-catalog create directories too
* Messages: Optimizations for read_po
* Messages: Use pathlib.Path() in catalog frontend; improve test coverage


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 pkgsrc/devel/py-babel/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/py-babel/PLIST
cvs rdiff -u -r1.25 -r1.26 pkgsrc/devel/py-babel/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-babel/Makefile
diff -u pkgsrc/devel/py-babel/Makefile:1.45 pkgsrc/devel/py-babel/Makefile:1.46
--- pkgsrc/devel/py-babel/Makefile:1.45 Sat Apr 12 08:28:30 2025
+++ pkgsrc/devel/py-babel/Makefile      Mon Feb  2 10:07:36 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.45 2025/04/12 08:28:30 adam Exp $
+# $NetBSD: Makefile,v 1.46 2026/02/02 10:07:36 adam Exp $
 
-DISTNAME=      babel-2.17.0
+DISTNAME=      babel-2.18.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=B/Babel/}
 
@@ -12,7 +11,7 @@ COMMENT=      Collection of tools for interna
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun-[0-9]*:../../devel/py-freezegun
+TEST_DEPENDS+= ${PYPKGPREFIX}-freezegun>=1.0:../../devel/py-freezegun
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
 
 USE_LANGUAGES= # none

Index: pkgsrc/devel/py-babel/PLIST
diff -u pkgsrc/devel/py-babel/PLIST:1.16 pkgsrc/devel/py-babel/PLIST:1.17
--- pkgsrc/devel/py-babel/PLIST:1.16    Sat Apr 12 08:28:30 2025
+++ pkgsrc/devel/py-babel/PLIST Mon Feb  2 10:07:36 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2025/04/12 08:28:30 adam Exp $
+@comment $NetBSD: PLIST,v 1.17 2026/02/02 10:07:36 adam Exp $
 bin/pybabel-${PYVERSSUFFIX}
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -177,6 +177,8 @@ ${PYSITELIB}/babel/locale-data/ckb_IQ.da
 ${PYSITELIB}/babel/locale-data/ckb_IR.dat
 ${PYSITELIB}/babel/locale-data/co.dat
 ${PYSITELIB}/babel/locale-data/co_FR.dat
+${PYSITELIB}/babel/locale-data/cop.dat
+${PYSITELIB}/babel/locale-data/cop_EG.dat
 ${PYSITELIB}/babel/locale-data/cs.dat
 ${PYSITELIB}/babel/locale-data/cs_CZ.dat
 ${PYSITELIB}/babel/locale-data/csw.dat
@@ -246,6 +248,7 @@ ${PYSITELIB}/babel/locale-data/en_CK.dat
 ${PYSITELIB}/babel/locale-data/en_CM.dat
 ${PYSITELIB}/babel/locale-data/en_CX.dat
 ${PYSITELIB}/babel/locale-data/en_CY.dat
+${PYSITELIB}/babel/locale-data/en_CZ.dat
 ${PYSITELIB}/babel/locale-data/en_DE.dat
 ${PYSITELIB}/babel/locale-data/en_DG.dat
 ${PYSITELIB}/babel/locale-data/en_DK.dat
@@ -253,25 +256,30 @@ ${PYSITELIB}/babel/locale-data/en_DM.dat
 ${PYSITELIB}/babel/locale-data/en_Dsrt.dat
 ${PYSITELIB}/babel/locale-data/en_Dsrt_US.dat
 ${PYSITELIB}/babel/locale-data/en_ER.dat
+${PYSITELIB}/babel/locale-data/en_ES.dat
 ${PYSITELIB}/babel/locale-data/en_FI.dat
 ${PYSITELIB}/babel/locale-data/en_FJ.dat
 ${PYSITELIB}/babel/locale-data/en_FK.dat
 ${PYSITELIB}/babel/locale-data/en_FM.dat
+${PYSITELIB}/babel/locale-data/en_FR.dat
 ${PYSITELIB}/babel/locale-data/en_GB.dat
 ${PYSITELIB}/babel/locale-data/en_GD.dat
 ${PYSITELIB}/babel/locale-data/en_GG.dat
 ${PYSITELIB}/babel/locale-data/en_GH.dat
 ${PYSITELIB}/babel/locale-data/en_GI.dat
 ${PYSITELIB}/babel/locale-data/en_GM.dat
+${PYSITELIB}/babel/locale-data/en_GS.dat
 ${PYSITELIB}/babel/locale-data/en_GU.dat
 ${PYSITELIB}/babel/locale-data/en_GY.dat
 ${PYSITELIB}/babel/locale-data/en_HK.dat
+${PYSITELIB}/babel/locale-data/en_HU.dat
 ${PYSITELIB}/babel/locale-data/en_ID.dat
 ${PYSITELIB}/babel/locale-data/en_IE.dat
 ${PYSITELIB}/babel/locale-data/en_IL.dat
 ${PYSITELIB}/babel/locale-data/en_IM.dat
 ${PYSITELIB}/babel/locale-data/en_IN.dat
 ${PYSITELIB}/babel/locale-data/en_IO.dat
+${PYSITELIB}/babel/locale-data/en_IT.dat
 ${PYSITELIB}/babel/locale-data/en_JE.dat
 ${PYSITELIB}/babel/locale-data/en_JM.dat
 ${PYSITELIB}/babel/locale-data/en_KE.dat
@@ -295,15 +303,19 @@ ${PYSITELIB}/babel/locale-data/en_NA.dat
 ${PYSITELIB}/babel/locale-data/en_NF.dat
 ${PYSITELIB}/babel/locale-data/en_NG.dat
 ${PYSITELIB}/babel/locale-data/en_NL.dat
+${PYSITELIB}/babel/locale-data/en_NO.dat
 ${PYSITELIB}/babel/locale-data/en_NR.dat
 ${PYSITELIB}/babel/locale-data/en_NU.dat
 ${PYSITELIB}/babel/locale-data/en_NZ.dat
 ${PYSITELIB}/babel/locale-data/en_PG.dat
 ${PYSITELIB}/babel/locale-data/en_PH.dat
 ${PYSITELIB}/babel/locale-data/en_PK.dat
+${PYSITELIB}/babel/locale-data/en_PL.dat
 ${PYSITELIB}/babel/locale-data/en_PN.dat
 ${PYSITELIB}/babel/locale-data/en_PR.dat
+${PYSITELIB}/babel/locale-data/en_PT.dat
 ${PYSITELIB}/babel/locale-data/en_PW.dat
+${PYSITELIB}/babel/locale-data/en_RO.dat
 ${PYSITELIB}/babel/locale-data/en_RW.dat
 ${PYSITELIB}/babel/locale-data/en_SB.dat
 ${PYSITELIB}/babel/locale-data/en_SC.dat
@@ -312,6 +324,7 @@ ${PYSITELIB}/babel/locale-data/en_SE.dat
 ${PYSITELIB}/babel/locale-data/en_SG.dat
 ${PYSITELIB}/babel/locale-data/en_SH.dat
 ${PYSITELIB}/babel/locale-data/en_SI.dat
+${PYSITELIB}/babel/locale-data/en_SK.dat
 ${PYSITELIB}/babel/locale-data/en_SL.dat
 ${PYSITELIB}/babel/locale-data/en_SS.dat
 ${PYSITELIB}/babel/locale-data/en_SX.dat
@@ -510,6 +523,8 @@ ${PYSITELIB}/babel/locale-data/hr_BA.dat
 ${PYSITELIB}/babel/locale-data/hr_HR.dat
 ${PYSITELIB}/babel/locale-data/hsb.dat
 ${PYSITELIB}/babel/locale-data/hsb_DE.dat
+${PYSITELIB}/babel/locale-data/ht.dat
+${PYSITELIB}/babel/locale-data/ht_HT.dat
 ${PYSITELIB}/babel/locale-data/hu.dat
 ${PYSITELIB}/babel/locale-data/hu_HU.dat
 ${PYSITELIB}/babel/locale-data/hy.dat
@@ -1070,6 +1085,7 @@ ${PYSITELIB}/babel/locale-data/yue_Hans_
 ${PYSITELIB}/babel/locale-data/yue_Hant.dat
 ${PYSITELIB}/babel/locale-data/yue_Hant_CN.dat
 ${PYSITELIB}/babel/locale-data/yue_Hant_HK.dat
+${PYSITELIB}/babel/locale-data/yue_Hant_MO.dat
 ${PYSITELIB}/babel/locale-data/za.dat
 ${PYSITELIB}/babel/locale-data/za_CN.dat
 ${PYSITELIB}/babel/locale-data/zgh.dat

Index: pkgsrc/devel/py-babel/distinfo
diff -u pkgsrc/devel/py-babel/distinfo:1.25 pkgsrc/devel/py-babel/distinfo:1.26
--- pkgsrc/devel/py-babel/distinfo:1.25 Sat Feb  1 18:29:49 2025
+++ pkgsrc/devel/py-babel/distinfo      Mon Feb  2 10:07:36 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.25 2025/02/01 18:29:49 adam Exp $
+$NetBSD: distinfo,v 1.26 2026/02/02 10:07:36 adam Exp $
 
-BLAKE2s (babel-2.17.0.tar.gz) = ca770f82d75749d7fd2d74639c3a3fb27cf90133c6657c8c86daed268ba60d00
-SHA512 (babel-2.17.0.tar.gz) = 978ca79e9ce95ecfcfc8e3c6fe1b9b273088cc166490e64edd59c71f6793472d987ea982a67e8cf9d840b8e25f602639ad45e3a35c1482d39cbf09e0c21071ae
-Size (babel-2.17.0.tar.gz) = 9951852 bytes
+BLAKE2s (babel-2.18.0.tar.gz) = 02549f6bdce9a08c3871c89679430f559365fd5ce60eb60abe601c1e6c1b170d
+SHA512 (babel-2.18.0.tar.gz) = e8fafa5d026dbb3aa02eca0ca2c08bb80adf78825a4b4d71c15a1c6d142bac058adfe38b8b52ce3fab42fcea615c8e543ee28dfe3ad50b4598e6b1b587be59fe
+Size (babel-2.18.0.tar.gz) = 9959554 bytes



Home | Main Index | Thread Index | Old Index