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:           Mon May 15 21:22:35 UTC 2023

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

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

Version 0.5.0
- Drop support for Python < 3.7.
- Switch to ``pyproject.toml`` and Flit for packaging.
- Move to Pallets Community Ecosystem for community-driven maintenance.
- Replace use of ``session_cookie_name`` for Flask 2.3 compatibility.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/py-flask-session/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-flask-session/PLIST
cvs rdiff -u -r1.2 -r1.3 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.3 pkgsrc/www/py-flask-session/Makefile:1.4
--- pkgsrc/www/py-flask-session/Makefile:1.3    Mon May  8 08:56:02 2023
+++ pkgsrc/www/py-flask-session/Makefile        Mon May 15 21:22:34 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2023/05/08 08:56:02 adam Exp $
+# $NetBSD: Makefile,v 1.4 2023/05/15 21:22:34 adam Exp $
 
-DISTNAME=      Flask-Session-0.4.1
+DISTNAME=      Flask-Session-0.5.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=f/flask-session/}
@@ -10,12 +10,17 @@ HOMEPAGE=   https://github.com/fengsp/flas
 COMMENT=       Adds server-side session support to your Flask application
 LICENSE=       modified-bsd
 
-DEPENDS+=      ${PYPKGPREFIX}-flask>=0.8:../../www/py-flask
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-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
 
-.include "../../lang/python/egg.mk"
+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/PLIST
diff -u pkgsrc/www/py-flask-session/PLIST:1.1 pkgsrc/www/py-flask-session/PLIST:1.2
--- pkgsrc/www/py-flask-session/PLIST:1.1       Thu Sep  1 11:39:51 2022
+++ pkgsrc/www/py-flask-session/PLIST   Mon May 15 21:22:34 2023
@@ -1,13 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2022/09/01 11:39:51 markd 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.2 2023/05/15 21:22:34 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.rst
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
 ${PYSITELIB}/flask_session/__init__.py
 ${PYSITELIB}/flask_session/__init__.pyc
-${PYSITELIB}/flask_session/__init__.pyo
 ${PYSITELIB}/flask_session/sessions.py
 ${PYSITELIB}/flask_session/sessions.pyc
-${PYSITELIB}/flask_session/sessions.pyo

Index: pkgsrc/www/py-flask-session/distinfo
diff -u pkgsrc/www/py-flask-session/distinfo:1.2 pkgsrc/www/py-flask-session/distinfo:1.3
--- pkgsrc/www/py-flask-session/distinfo:1.2    Mon May  8 08:56:02 2023
+++ pkgsrc/www/py-flask-session/distinfo        Mon May 15 21:22:34 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/05/08 08:56:02 adam Exp $
+$NetBSD: distinfo,v 1.3 2023/05/15 21:22:34 adam Exp $
 
-BLAKE2s (Flask-Session-0.4.1.tar.gz) = 6c40d11270f4b9b10b4c9724ba6d8e07250ed27acc89ce7d42d61b1d7ba4b987
-SHA512 (Flask-Session-0.4.1.tar.gz) = 606a99d54c0fc9db750727f101e6d01f67bbed0b4a872d1dcfa379387aeeea5b059aba5028092f8b9006c2ff5941df0ec56af3aba4dd4dfe3f4dde8c71b6ae52
-Size (Flask-Session-0.4.1.tar.gz) = 23057 bytes
+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



Home | Main Index | Thread Index | Old Index