py-babel: updated to 2.7.0

Version 2.7.0

Possibly incompatible changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These may be backward incompatible in some cases, as some more-or-less internal
APIs have changed. Please feel free to file issues if you bump into anything
strange and we'll try to help!

* General: Internal uses of babel.util.odict have been replaced with
  collections.OrderedDict from The Python standard library.

Improvements
~~~~~~~~~~~~
* CLDR: Upgrade to CLDR 35.1
* General: allow anchoring path patterns to the start of a string
* General: Bumped version requirement on pytz
* Messages: pybabel compile: exit with code 1 if errors were encountered
* Messages: Add omit-header to update_catalog
* Messages: Catalog update: keep user comments from destination by default
* Messages: Skip empty message when writing mo file
* Messages: Small fixes to avoid crashes on badly formatted .po files
* Numbers: parse_decimal() strict argument and suggestions
* Numbers: don't repeat suggestions in parse_decimal strict
* Numbers: implement currency formatting with long display names
* Numbers: parse_decimal(): assume spaces are equivalent to non-breaking spaces when not in strict mode
* Performance: Cache locale_identifiers()

Bugfixes
~~~~~~~~
* CLDR: Skip alt=... for week data (minDays, firstDay, weekendStart, weekendEnd)
* Dates: Fix wrong weeknumber for 31.12.2018
* Locale: Avoid KeyError trying to get data on WindowsXP
* Locale: get_display_name(): Don't attempt to concatenate variant information to None
* Messages: pofile: Add comparison operators to _NormalizedString
* Messages: pofile: don't crash when message.locations can't be sorted

Tooling & docs
~~~~~~~~~~~~~~
* Docs: Remove all references to deprecated easy_install
* Docs: Switch print statement in docs to print function - NotAFile
* Docs: Update all pypi.python.org URLs to pypi.org
* Docs: Use https URLs throughout project where available
* Support: Add testing and document support for Python 3.7
* Support: Test on Python 3.8-dev
* Support: Using ABCs from collections instead of collections.abc is deprecated.
* Tests: Fix conftest.py compatibility with pytest 4.3
* Tests: Update pytest and pytest-cov
This commit is contained in:
adam 2019-05-29 21:02:29 +00:00
parent 6f2b571a2f
commit 8813875513
3 changed files with 38 additions and 14 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.25 2018/06/24 11:43:49 adam Exp $
# $NetBSD: Makefile,v 1.26 2019/05/29 21:02:29 adam Exp $
DISTNAME= Babel-2.6.0
DISTNAME= Babel-2.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=B/Babel/}
@ -10,12 +10,13 @@ HOMEPAGE= http://babel.pocoo.org/
COMMENT= Collection of tools for internationalizing Python applications
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-pytz>=2015.7:../../time/py-pytz
USE_LANGUAGES= # none
post-install:
cd ${DESTDIR}${PREFIX}/bin && ${MV} pybabel pybabel-${PYVERSSUFFIX} || ${TRUE}
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pybabel pybabel-${PYVERSSUFFIX} || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.7 2018/06/24 11:43:49 adam Exp $
@comment $NetBSD: PLIST,v 1.8 2019/05/29 21:02:29 adam Exp $
bin/pybabel-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@ -113,6 +113,8 @@ ${PYSITELIB}/babel/locale-data/ccp_BD.dat
${PYSITELIB}/babel/locale-data/ccp_IN.dat
${PYSITELIB}/babel/locale-data/ce.dat
${PYSITELIB}/babel/locale-data/ce_RU.dat
${PYSITELIB}/babel/locale-data/ceb.dat
${PYSITELIB}/babel/locale-data/ceb_PH.dat
${PYSITELIB}/babel/locale-data/cgg.dat
${PYSITELIB}/babel/locale-data/cgg_UG.dat
${PYSITELIB}/babel/locale-data/chr.dat
@ -160,6 +162,7 @@ ${PYSITELIB}/babel/locale-data/el_GR.dat
${PYSITELIB}/babel/locale-data/en.dat
${PYSITELIB}/babel/locale-data/en_001.dat
${PYSITELIB}/babel/locale-data/en_150.dat
${PYSITELIB}/babel/locale-data/en_AE.dat
${PYSITELIB}/babel/locale-data/en_AG.dat
${PYSITELIB}/babel/locale-data/en_AI.dat
${PYSITELIB}/babel/locale-data/en_AS.dat
@ -304,10 +307,19 @@ ${PYSITELIB}/babel/locale-data/fa.dat
${PYSITELIB}/babel/locale-data/fa_AF.dat
${PYSITELIB}/babel/locale-data/fa_IR.dat
${PYSITELIB}/babel/locale-data/ff.dat
${PYSITELIB}/babel/locale-data/ff_CM.dat
${PYSITELIB}/babel/locale-data/ff_GN.dat
${PYSITELIB}/babel/locale-data/ff_MR.dat
${PYSITELIB}/babel/locale-data/ff_SN.dat
${PYSITELIB}/babel/locale-data/ff_Latn.dat
${PYSITELIB}/babel/locale-data/ff_Latn_BF.dat
${PYSITELIB}/babel/locale-data/ff_Latn_CM.dat
${PYSITELIB}/babel/locale-data/ff_Latn_GH.dat
${PYSITELIB}/babel/locale-data/ff_Latn_GM.dat
${PYSITELIB}/babel/locale-data/ff_Latn_GN.dat
${PYSITELIB}/babel/locale-data/ff_Latn_GW.dat
${PYSITELIB}/babel/locale-data/ff_Latn_LR.dat
${PYSITELIB}/babel/locale-data/ff_Latn_MR.dat
${PYSITELIB}/babel/locale-data/ff_Latn_NE.dat
${PYSITELIB}/babel/locale-data/ff_Latn_NG.dat
${PYSITELIB}/babel/locale-data/ff_Latn_SL.dat
${PYSITELIB}/babel/locale-data/ff_Latn_SN.dat
${PYSITELIB}/babel/locale-data/fi.dat
${PYSITELIB}/babel/locale-data/fi_FI.dat
${PYSITELIB}/babel/locale-data/fil.dat
@ -401,6 +413,8 @@ ${PYSITELIB}/babel/locale-data/hu.dat
${PYSITELIB}/babel/locale-data/hu_HU.dat
${PYSITELIB}/babel/locale-data/hy.dat
${PYSITELIB}/babel/locale-data/hy_AM.dat
${PYSITELIB}/babel/locale-data/ia.dat
${PYSITELIB}/babel/locale-data/ia_001.dat
${PYSITELIB}/babel/locale-data/id.dat
${PYSITELIB}/babel/locale-data/id_ID.dat
${PYSITELIB}/babel/locale-data/ig.dat
@ -420,6 +434,8 @@ ${PYSITELIB}/babel/locale-data/jgo.dat
${PYSITELIB}/babel/locale-data/jgo_CM.dat
${PYSITELIB}/babel/locale-data/jmc.dat
${PYSITELIB}/babel/locale-data/jmc_TZ.dat
${PYSITELIB}/babel/locale-data/jv.dat
${PYSITELIB}/babel/locale-data/jv_ID.dat
${PYSITELIB}/babel/locale-data/ka.dat
${PYSITELIB}/babel/locale-data/ka_GE.dat
${PYSITELIB}/babel/locale-data/kab.dat
@ -459,6 +475,8 @@ ${PYSITELIB}/babel/locale-data/ksf.dat
${PYSITELIB}/babel/locale-data/ksf_CM.dat
${PYSITELIB}/babel/locale-data/ksh.dat
${PYSITELIB}/babel/locale-data/ksh_DE.dat
${PYSITELIB}/babel/locale-data/ku.dat
${PYSITELIB}/babel/locale-data/ku_TR.dat
${PYSITELIB}/babel/locale-data/kw.dat
${PYSITELIB}/babel/locale-data/kw_GB.dat
${PYSITELIB}/babel/locale-data/ky.dat
@ -504,6 +522,8 @@ ${PYSITELIB}/babel/locale-data/mgh.dat
${PYSITELIB}/babel/locale-data/mgh_MZ.dat
${PYSITELIB}/babel/locale-data/mgo.dat
${PYSITELIB}/babel/locale-data/mgo_CM.dat
${PYSITELIB}/babel/locale-data/mi.dat
${PYSITELIB}/babel/locale-data/mi_NZ.dat
${PYSITELIB}/babel/locale-data/mk.dat
${PYSITELIB}/babel/locale-data/mk_MK.dat
${PYSITELIB}/babel/locale-data/ml.dat
@ -574,6 +594,7 @@ ${PYSITELIB}/babel/locale-data/prg.dat
${PYSITELIB}/babel/locale-data/prg_001.dat
${PYSITELIB}/babel/locale-data/ps.dat
${PYSITELIB}/babel/locale-data/ps_AF.dat
${PYSITELIB}/babel/locale-data/ps_PK.dat
${PYSITELIB}/babel/locale-data/pt.dat
${PYSITELIB}/babel/locale-data/pt_AO.dat
${PYSITELIB}/babel/locale-data/pt_BR.dat
@ -733,6 +754,8 @@ ${PYSITELIB}/babel/locale-data/wae.dat
${PYSITELIB}/babel/locale-data/wae_CH.dat
${PYSITELIB}/babel/locale-data/wo.dat
${PYSITELIB}/babel/locale-data/wo_SN.dat
${PYSITELIB}/babel/locale-data/xh.dat
${PYSITELIB}/babel/locale-data/xh_ZA.dat
${PYSITELIB}/babel/locale-data/xog.dat
${PYSITELIB}/babel/locale-data/xog_UG.dat
${PYSITELIB}/babel/locale-data/yav.dat

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.12 2018/06/24 11:43:49 adam Exp $
$NetBSD: distinfo,v 1.13 2019/05/29 21:02:29 adam Exp $
SHA1 (Babel-2.6.0.tar.gz) = 6aed99e4fb8a2a75de7815599f610cdcbb81e3c2
RMD160 (Babel-2.6.0.tar.gz) = 8641980902522636ddc58983ff9ccfe1d421cb4c
SHA512 (Babel-2.6.0.tar.gz) = a87f26c25f1e48a64d1e7ee112bc0c325a6268e0e716a81cb6814a53f0add8f3d579babd2ba064f160298ebe3ac9711aa5d28f112582ee287767b6ed8427b6e0
Size (Babel-2.6.0.tar.gz) = 7960433 bytes
SHA1 (Babel-2.7.0.tar.gz) = 5605f75353368d32500afb30e60fc8f0edbca506
RMD160 (Babel-2.7.0.tar.gz) = 7f88ff1c2714287eb3dbda2c0ba6b104e522e767
SHA512 (Babel-2.7.0.tar.gz) = 96314c7b26f6915a825e0344fa06e4f1d9a71b97a52b16f2f696c2e81c69318974547620135912b11edb95668a717ec49f1be68eef5a4753092d8e4cdc39a1e5
Size (Babel-2.7.0.tar.gz) = 8244870 bytes