pkgsrc/devel/py-babel/Makefile
adam a6d74d8ff0 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
2017-04-06 06:49:18 +00:00

22 lines
608 B
Makefile

# $NetBSD: Makefile,v 1.20 2017/04/06 06:49:18 adam Exp $
DISTNAME= Babel-2.4.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=B/Babel/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://babel.pocoo.org/
COMMENT= Collection of tools for internationalizing Python applications
LICENSE= modified-bsd
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
USE_LANGUAGES= # none
post-install:
${MV} ${DESTDIR}${PREFIX}/bin/pybabel \
${DESTDIR}${PREFIX}/bin/pybabel-${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"