py-flask-babel: update to 3.1.0 v3.1.0 - Documentation and packaging improvements. - Don't return the default locale twice - Fix tests breaking against babel 12.2, which changed localized times to use non-breaking-spaces. Babel 12.2 or greater is now required. - Relax version requirements for dependencies. v3.0.0 Major version bump as this version removes support for Python 3.5 and 3.6, along with multiple major breaking changes. Hope you've been following SemVer :) - Dropped support for end-of-life Python 3.5 and 3.6, added tests for 3.10 and 3.11. - Fixes to documentation to address outdated links and settings - Jinja version 3 or greater is now required (released 2021) - Removed Babel._date_formats, use the public Babel.date_formats instead. - list_translations() always returns the default locale, even if it does not exist. - Add lazy_npgettext() - Babel.locale_selector and Babel.timezone_selector no longer exist. They must be provided either when the Babel() object is created or when init_app() is called. This is to support having a single Babel object for multiple Flask apps as well as to simplify settings and multi-threaded state. - Most configuration options can be passed directly through init_app(). v2.0.0 Starting with version 2, flask-babel drops official support for Python2. Python versions 3.5 through 3.9-beta1 are tested and supported, as well as pypy3. - Tests moved from unittest to pytest - Domain and caching support from Flask-BabelEx - Documentation moved from python-hosted to Github Pages. - CI moved from Travisci to Github Actions - Small documentation improvements. - Removed uncessary checks on get_translations() - localeselector and timezoneselector can be changed after creation.diff -r1.13 -r1.14 pkgsrc/www/py-flask-babel/Makefile
(markd)
@@ -1,24 +1,23 @@ | @@ -1,24 +1,23 @@ | |||
1 | # $NetBSD: Makefile,v 1.13 2022/04/29 11:56:44 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.14 2023/06/03 23:55:32 markd Exp $ | |
2 | 2 | |||
3 | DISTNAME= Flask-Babel-1.0.0 | 3 | DISTNAME= flask_babel-3.1.0 | |
4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} | 4 | PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/} | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= www python | 5 | CATEGORIES= www python | |
7 | MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask-Babel/} | 6 | MASTER_SITES= ${MASTER_SITE_PYPI:=f/flask_babel/} | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= https://github.com/mitsuhiko/flask-babel | 9 | HOMEPAGE= https://github.com/mitsuhiko/flask-babel | |
11 | COMMENT= Adds i18n/l10n support to Flask applications | 10 | COMMENT= Adds i18n/l10n support to Flask applications | |
12 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
13 | 12 | |||
14 | DEPENDS+= ${PYPKGPREFIX}-babel>=2.3:../../devel/py-babel | 13 | DEPENDS+= ${PYPKGPREFIX}-babel>=2.12:../../devel/py-babel | |
15 | DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask | 14 | DEPENDS+= ${PYPKGPREFIX}-flask>=2.0:../../www/py-flask | |
16 | DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 | 15 | DEPENDS+= ${PYPKGPREFIX}-jinja2>=3.1:../../textproc/py-jinja2 | |
17 | DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz | 16 | DEPENDS+= ${PYPKGPREFIX}-pytz>=2022.7:../../time/py-pytz | |
18 | 17 | |||
19 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | 18 | PYTHON_VERSIONS_INCOMPATIBLE= 27 | |
20 | 19 | |||
21 | USE_LANGUAGES= # none | 20 | USE_LANGUAGES= # none | |
22 | 21 | |||
23 | .include "../../lang/python/egg.mk" | 22 | .include "../../lang/python/wheel.mk" | |
24 | .include "../../mk/bsd.pkg.mk" | 23 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,12 @@ | @@ -1,16 +1,12 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.3 2020/11/23 06:51:32 khorben Exp $ | 1 | @comment $NetBSD: PLIST,v 1.4 2023/06/03 23:55:32 markd Exp $ | |
2 | ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO | 2 | ${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER | |
3 | ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt | 3 | ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE | |
4 | ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt | 4 | ${PYSITELIB}/${WHEEL_INFODIR}/METADATA | |
5 | ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe | 5 | ${PYSITELIB}/${WHEEL_INFODIR}/RECORD | |
6 | ${PYSITELIB}/${EGG_INFODIR}/requires.txt | 6 | ${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED | |
7 | ${PYSITELIB}/${EGG_INFODIR}/top_level.txt | 7 | ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL | |
8 | ${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json | |||
8 | ${PYSITELIB}/flask_babel/__init__.py | 9 | ${PYSITELIB}/flask_babel/__init__.py | |
9 | ${PYSITELIB}/flask_babel/__init__.pyc | 10 | ${PYSITELIB}/flask_babel/__init__.pyc | |
10 | ${PYSITELIB}/flask_babel/__init__.pyo | |||
11 | ${PYSITELIB}/flask_babel/_compat.py | |||
12 | ${PYSITELIB}/flask_babel/_compat.pyc | |||
13 | ${PYSITELIB}/flask_babel/_compat.pyo | |||
14 | ${PYSITELIB}/flask_babel/speaklater.py | 11 | ${PYSITELIB}/flask_babel/speaklater.py | |
15 | ${PYSITELIB}/flask_babel/speaklater.pyc | 12 | ${PYSITELIB}/flask_babel/speaklater.pyc | |
16 | ${PYSITELIB}/flask_babel/speaklater.pyo |
@@ -1,5 +1,5 @@ | @@ -1,5 +1,5 @@ | |||
1 | $NetBSD: distinfo,v 1.8 2021/10/26 11:30:37 nia Exp $ | 1 | $NetBSD: distinfo,v 1.9 2023/06/03 23:55:32 markd Exp $ | |
2 | 2 | |||
3 | BLAKE2s (Flask-Babel-1.0.0.tar.gz) = 194fbc11314bbc66216341020b3bb772d83d42451ef87a4dbe0dd3a9744720e4 | 3 | BLAKE2s (flask_babel-3.1.0.tar.gz) = e820a039a52888d86cb68a8da67e097f19f4d93f8b230033f8412f8992c86df7 | |
4 | SHA512 (Flask-Babel-1.0.0.tar.gz) = 3624b2e4877821551267e2719d76b714bda0a1da24e5a3c36d045273039823c4f3bbdf28cad5d8e0d4f0c896578248bfc40aebee720b543e500edf6de607ad8d | 4 | SHA512 (flask_babel-3.1.0.tar.gz) = 693875addb793627068a372b98d3f206c164fc5dba7f23ad7b31f7e52767ef29df92c4c1073adf294e41554a2f60cf328e34e837818135117d3c880205471f59 | |
5 | Size (Flask-Babel-1.0.0.tar.gz) = 49680 bytes | 5 | Size (flask_babel-3.1.0.tar.gz) = 10188 bytes |