Version 2.9.0 Upcoming version support changes * This version, Babel 2.9, is the last version of Babel to support Python 2.7, Python 3.4, and Python 3.5. Improvements * CLDR: Use CLDR 37 * Dates: Handle ZoneInfo objects in get_timezone_location, get_timezone_name * Numbers: Add group_separator feature in number formatting Bugfixes * Dates: Correct default Format().timedelta format to 'long' to mute deprecation warnings * Import: Simplify iteration code in "import_cldr.py" * Import: Stop using deprecated ElementTree methods "getchildren()" and "getiterator()" * Messages: Fix unicode printing error on Python 2 without TTY. * Messages: Introduce invariant that _invalid_pofile() takes unicode line. * Tests: fix tests when using Python 3.9 * Tests: Remove deprecated 'sudo: false' from Travis configuration * Tests: Support Py.test 6.x * Utilities: LazyProxy: Handle AttributeError in specified func * Utilities: Replace usage of parser.suite with ast.parse Documentation * Update parse_number comments * Add __iter__ to Catalog documentation
22 lines
601 B
Makefile
22 lines
601 B
Makefile
# $NetBSD: Makefile,v 1.28 2020/11/26 11:43:33 adam Exp $
|
|
|
|
DISTNAME= Babel-2.9.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>=2015.7:../../time/py-pytz
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pybabel pybabel-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|