pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-flask-babel



Module Name:    pkgsrc
Committed By:   markd
Date:           Sat Jun  3 23:55:32 UTC 2023

Modified Files:
        pkgsrc/www/py-flask-babel: Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/www/py-flask-babel/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-flask-babel/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/www/py-flask-babel/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-flask-babel/Makefile
diff -u pkgsrc/www/py-flask-babel/Makefile:1.13 pkgsrc/www/py-flask-babel/Makefile:1.14
--- pkgsrc/www/py-flask-babel/Makefile:1.13     Fri Apr 29 11:56:44 2022
+++ pkgsrc/www/py-flask-babel/Makefile  Sat Jun  3 23:55:32 2023
@@ -1,24 +1,23 @@
-# $NetBSD: Makefile,v 1.13 2022/04/29 11:56:44 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2023/06/03 23:55:32 markd Exp $
 
-DISTNAME=      Flask-Babel-1.0.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   2
+DISTNAME=      flask_babel-3.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    www python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Babel/}
+MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flask_babel/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/mitsuhiko/flask-babel
 COMMENT=       Adds i18n/l10n support to Flask applications
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-babel>=2.3:../../devel/py-babel
-DEPENDS+=      ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
-DEPENDS+=      ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
-DEPENDS+=      ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+=      ${PYPKGPREFIX}-babel>=2.12:../../devel/py-babel
+DEPENDS+=      ${PYPKGPREFIX}-flask>=2.0:../../www/py-flask
+DEPENDS+=      ${PYPKGPREFIX}-jinja2>=3.1:../../textproc/py-jinja2
+DEPENDS+=      ${PYPKGPREFIX}-pytz>=2022.7:../../time/py-pytz
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-flask-babel/PLIST
diff -u pkgsrc/www/py-flask-babel/PLIST:1.3 pkgsrc/www/py-flask-babel/PLIST:1.4
--- pkgsrc/www/py-flask-babel/PLIST:1.3 Mon Nov 23 06:51:32 2020
+++ pkgsrc/www/py-flask-babel/PLIST     Sat Jun  3 23:55:32 2023
@@ -1,16 +1,12 @@
-@comment $NetBSD: PLIST,v 1.3 2020/11/23 06:51:32 khorben Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.4 2023/06/03 23:55:32 markd Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/flask_babel/__init__.py
 ${PYSITELIB}/flask_babel/__init__.pyc
-${PYSITELIB}/flask_babel/__init__.pyo
-${PYSITELIB}/flask_babel/_compat.py
-${PYSITELIB}/flask_babel/_compat.pyc
-${PYSITELIB}/flask_babel/_compat.pyo
 ${PYSITELIB}/flask_babel/speaklater.py
 ${PYSITELIB}/flask_babel/speaklater.pyc
-${PYSITELIB}/flask_babel/speaklater.pyo

Index: pkgsrc/www/py-flask-babel/distinfo
diff -u pkgsrc/www/py-flask-babel/distinfo:1.8 pkgsrc/www/py-flask-babel/distinfo:1.9
--- pkgsrc/www/py-flask-babel/distinfo:1.8      Tue Oct 26 11:30:37 2021
+++ pkgsrc/www/py-flask-babel/distinfo  Sat Jun  3 23:55:32 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:30:37 nia Exp $
+$NetBSD: distinfo,v 1.9 2023/06/03 23:55:32 markd Exp $
 
-BLAKE2s (Flask-Babel-1.0.0.tar.gz) = 194fbc11314bbc66216341020b3bb772d83d42451ef87a4dbe0dd3a9744720e4
-SHA512 (Flask-Babel-1.0.0.tar.gz) = 3624b2e4877821551267e2719d76b714bda0a1da24e5a3c36d045273039823c4f3bbdf28cad5d8e0d4f0c896578248bfc40aebee720b543e500edf6de607ad8d
-Size (Flask-Babel-1.0.0.tar.gz) = 49680 bytes
+BLAKE2s (flask_babel-3.1.0.tar.gz) = e820a039a52888d86cb68a8da67e097f19f4d93f8b230033f8412f8992c86df7
+SHA512 (flask_babel-3.1.0.tar.gz) = 693875addb793627068a372b98d3f206c164fc5dba7f23ad7b31f7e52767ef29df92c4c1073adf294e41554a2f60cf328e34e837818135117d3c880205471f59
+Size (flask_babel-3.1.0.tar.gz) = 10188 bytes



Home | Main Index | Thread Index | Old Index