pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan 19 22:00:32 UTC 2024

Modified Files:
        pkgsrc/www/py-flask-session: Makefile distinfo

Log Message:
py-flask-session: updated to 0.6.0

0.6.0
- Use ``should_set_cookie`` for preventing each request from saving the session again.
- Permanent session otherwise empty will not be saved.
- Use `secrets` module to generate session identifiers, with 256 bits of
  entropy (was previously 122).
- Explicitly name support for python-memcached, pylibmc and pymemcache.
- Introduce SESSION_KEY_LENGTH to control the length of the session key in bytes, default is 32.
- Fix pymongo 4.0 compatibility.
- Fix expiry is None bug in SQLAlchemy.
- Fix bug when existing SQLAlchemy db instance.
- Support SQLAlchemy SESSION_SQLALCHEMY_SEQUENCE, SESSION_SQLALCHEMY_SCHEMA and SESSION_SQLALCHEMY_BINDKEY
- Drop support for Redis < 2.6.12.
- Fix empty sessions being saved.
- Support Flask 3.0 and Werkzeug 3.0


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-flask-session/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-flask-session/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-session/Makefile
diff -u pkgsrc/www/py-flask-session/Makefile:1.5 pkgsrc/www/py-flask-session/Makefile:1.6
--- pkgsrc/www/py-flask-session/Makefile:1.5    Sat Oct 28 19:57:23 2023
+++ pkgsrc/www/py-flask-session/Makefile        Fri Jan 19 22:00:31 2024
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2023/10/28 19:57:23 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2024/01/19 22:00:31 adam Exp $
 
-DISTNAME=      Flask-Session-0.5.0
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   1
+DISTNAME=      flask_session-0.6.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flask-session/}
 
@@ -15,13 +14,9 @@ TOOL_DEPENDS+=       ${PYPKGPREFIX}-flit_core-
 DEPENDS+=      ${PYPKGPREFIX}-cachelib-[0-9]*:../../devel/py-cachelib
 DEPENDS+=      ${PYPKGPREFIX}-flask>=2.2:../../www/py-flask
 
-WHEEL_NAME=    ${DISTNAME:C/-([^0-9])/_\1/g:tl}
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-flask-session/distinfo
diff -u pkgsrc/www/py-flask-session/distinfo:1.3 pkgsrc/www/py-flask-session/distinfo:1.4
--- pkgsrc/www/py-flask-session/distinfo:1.3    Mon May 15 21:22:34 2023
+++ pkgsrc/www/py-flask-session/distinfo        Fri Jan 19 22:00:31 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2023/05/15 21:22:34 adam Exp $
+$NetBSD: distinfo,v 1.4 2024/01/19 22:00:31 adam Exp $
 
-BLAKE2s (Flask-Session-0.5.0.tar.gz) = 5bd4aaa80daacef98e13f703b1de3f79673a2b239d60f99b8d340a753e894db9
-SHA512 (Flask-Session-0.5.0.tar.gz) = fe77b5b14929c4a9db2daca0833e10a857db6137f00bc4e72258b938195896ad895f2f2c8f429110daf8921ad2ecb8c347c23896c64d815febafa940f0136f0d
-Size (Flask-Session-0.5.0.tar.gz) = 11319 bytes
+BLAKE2s (flask_session-0.6.0.tar.gz) = 01e88ba3bbb4802f4084df749a5b416da8c016f1c8cd17a483ab69018d697fce
+SHA512 (flask_session-0.6.0.tar.gz) = 1ad34d19470e148c99551558c5495dad4f07031b43b7a6c98c2062937f1d8cf36b93c48cad10ea1ed1900ceec1f518373aa647ceff2661529eda8c4b6dc14c89
+Size (flask_session-0.6.0.tar.gz) = 13090 bytes



Home | Main Index | Thread Index | Old Index