pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-babel Version 2.4.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1a0ce2a26f8
branches:  trunk
changeset: 360745:a1a0ce2a26f8
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Apr 06 06:49:18 2017 +0000

description:
Version 2.4.0

New Features
~~~~~~~~~~~~
Some of these changes might break your current code and/or tests.

* CLDR: CLDR 29 is now used instead of CLDR 28
* Messages: Add option 'add_location' for location line formatting
* Numbers: Allow full control of decimal behavior

Minor Improvements and bugfixes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Documentation: Improve Date Fields descriptions
* Documentation: Typo fixes and documentation improvementscs10)
* Messages: Default to UTF-8 source encoding instead of ISO-8859-1
* Messages: Ensure messages are extracted in the order they were passed in
* Messages: Message extraction for JSX files is improved
* Messages: PO file reading supports multi-line obsolete units
* Messages: Python message extractor respects unicode_literals in __future__
* Messages: Roundtrip Language headers
* Messages: units before obsolete units are no longer erroneously marked obsolete
* Numbers: `parse_pattern` now preserves the full original pattern
* Numbers: Fix float conversion in `extract_operands`
* Plurals: Fix plural forms for Czech and Slovak locales
* Plurals: More plural form fixes based on Mozilla and CLDR references

Internal improvements
~~~~~~~~~~~~~~~~~~~~~
* Local times are constructed correctly in tests
* Miscellaneous small improvements
* Regex flags are extracted from the regex strings
* The PO file reader is now a class and has seen some refactoring

diffstat:

 devel/py-babel/Makefile |   6 +++---
 devel/py-babel/PLIST    |   8 +++++++-
 devel/py-babel/distinfo |  10 +++++-----
 3 files changed, 15 insertions(+), 9 deletions(-)

diffs (74 lines):

diff -r 11c1fc525c58 -r a1a0ce2a26f8 devel/py-babel/Makefile
--- a/devel/py-babel/Makefile   Thu Apr 06 06:33:57 2017 +0000
+++ b/devel/py-babel/Makefile   Thu Apr 06 06:49:18 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2017/01/03 13:23:01 jperkin Exp $
+# $NetBSD: Makefile,v 1.20 2017/04/06 06:49:18 adam Exp $
 
-DISTNAME=      Babel-2.3.4
+DISTNAME=      Babel-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=B/Babel/}
@@ -16,7 +16,7 @@
 
 post-install:
        ${MV} ${DESTDIR}${PREFIX}/bin/pybabel \
-               ${DESTDIR}${PREFIX}/bin/pybabel-${PYVERSSUFFIX} || ${TRUE}
+               ${DESTDIR}${PREFIX}/bin/pybabel-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 11c1fc525c58 -r a1a0ce2a26f8 devel/py-babel/PLIST
--- a/devel/py-babel/PLIST      Thu Apr 06 06:33:57 2017 +0000
+++ b/devel/py-babel/PLIST      Thu Apr 06 06:49:18 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/12/15 10:41:20 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2017/04/06 06:49:18 adam Exp $
 bin/pybabel-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -265,6 +265,7 @@
 ${PYSITELIB}/babel/locale-data/es_419.dat
 ${PYSITELIB}/babel/locale-data/es_AR.dat
 ${PYSITELIB}/babel/locale-data/es_BO.dat
+${PYSITELIB}/babel/locale-data/es_BR.dat
 ${PYSITELIB}/babel/locale-data/es_CL.dat
 ${PYSITELIB}/babel/locale-data/es_CO.dat
 ${PYSITELIB}/babel/locale-data/es_CR.dat
@@ -567,8 +568,11 @@
 ${PYSITELIB}/babel/locale-data/pt.dat
 ${PYSITELIB}/babel/locale-data/pt_AO.dat
 ${PYSITELIB}/babel/locale-data/pt_BR.dat
+${PYSITELIB}/babel/locale-data/pt_CH.dat
 ${PYSITELIB}/babel/locale-data/pt_CV.dat
+${PYSITELIB}/babel/locale-data/pt_GQ.dat
 ${PYSITELIB}/babel/locale-data/pt_GW.dat
+${PYSITELIB}/babel/locale-data/pt_LU.dat
 ${PYSITELIB}/babel/locale-data/pt_MO.dat
 ${PYSITELIB}/babel/locale-data/pt_MZ.dat
 ${PYSITELIB}/babel/locale-data/pt_PT.dat
@@ -721,6 +725,8 @@
 ${PYSITELIB}/babel/locale-data/yo.dat
 ${PYSITELIB}/babel/locale-data/yo_BJ.dat
 ${PYSITELIB}/babel/locale-data/yo_NG.dat
+${PYSITELIB}/babel/locale-data/yue.dat
+${PYSITELIB}/babel/locale-data/yue_HK.dat
 ${PYSITELIB}/babel/locale-data/zgh.dat
 ${PYSITELIB}/babel/locale-data/zgh_MA.dat
 ${PYSITELIB}/babel/locale-data/zh.dat
diff -r 11c1fc525c58 -r a1a0ce2a26f8 devel/py-babel/distinfo
--- a/devel/py-babel/distinfo   Thu Apr 06 06:33:57 2017 +0000
+++ b/devel/py-babel/distinfo   Thu Apr 06 06:49:18 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2016/12/15 10:41:20 adam Exp $
+$NetBSD: distinfo,v 1.8 2017/04/06 06:49:18 adam Exp $
 
-SHA1 (Babel-2.3.4.tar.gz) = c92786942f1c920e3c39a057a7678d2aa0d1c44c
-RMD160 (Babel-2.3.4.tar.gz) = 7e9d4cbd8cfccd087f7d0ace179db382cf1dff2c
-SHA512 (Babel-2.3.4.tar.gz) = 1fdba01946e7a8ebe3fef23843e23707cd060b0a179d775e29f938318d824e8779df2852fb8bbd18f61fc47de33af5d988c509dc67f54ea4cb3a4a66767869a5
-Size (Babel-2.3.4.tar.gz) = 6866920 bytes
+SHA1 (Babel-2.4.0.tar.gz) = c3b247d17a34dc600c93f93f8f533029430bccb4
+RMD160 (Babel-2.4.0.tar.gz) = 0ebebb4d95699844cd1b8aad8d67a0f54e0d0115
+SHA512 (Babel-2.4.0.tar.gz) = 4e1341144dfb319c172a446facc47204c9b9f49972c8646b62e082975d8ec41c35e503e610d7114ef5346a5c073e87ed8d40a65a60d9540fb7ca947681cc0beb
+Size (Babel-2.4.0.tar.gz) = 6607513 bytes



Home | Main Index | Thread Index | Old Index