pkgsrc-Changes archive

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

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



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Aug 10 09:42:16 UTC 2024

Modified Files:
        pkgsrc/www/py-flask-security: Makefile PLIST distinfo
Added Files:
        pkgsrc/www/py-flask-security/patches: patch-setup.py

Log Message:
py-flask-security: convert to wheel.mk

Remove unused dependencies.

Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/www/py-flask-security/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-flask-security/PLIST
cvs rdiff -u -r1.12 -r1.13 pkgsrc/www/py-flask-security/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-flask-security/patches/patch-setup.py

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-security/Makefile
diff -u pkgsrc/www/py-flask-security/Makefile:1.17 pkgsrc/www/py-flask-security/Makefile:1.18
--- pkgsrc/www/py-flask-security/Makefile:1.17  Tue Jun  6 12:42:50 2023
+++ pkgsrc/www/py-flask-security/Makefile       Sat Aug 10 09:42:15 2024
@@ -1,18 +1,18 @@
-# $NetBSD: Makefile,v 1.17 2023/06/06 12:42:50 riastradh Exp $
+# $NetBSD: Makefile,v 1.18 2024/08/10 09:42:15 wiz Exp $
 
 DISTNAME=      Flask-Security-3.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:tl}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=F/Flask-Security/}
 
 MAINTAINER=    kleink%NetBSD.org@localhost
-HOMEPAGE=      https://pythonhosted.org/Flask-Security/
+#HOMEPAGE=     https://pythonhosted.org/Flask-Security/
 COMMENT=       Simple security for Flask apps
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-babel>=1.3:../../devel/py-babel
-TOOL_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-flask>=0.11:../../www/py-flask
 DEPENDS+=      ${PYPKGPREFIX}-flask-babelex>=0.9.3:../../www/py-flask-babelex
 DEPENDS+=      ${PYPKGPREFIX}-flask-login>=0.3.0:../../www/py-flask-login
@@ -21,13 +21,11 @@ DEPENDS+=   ${PYPKGPREFIX}-flask-principal
 DEPENDS+=      ${PYPKGPREFIX}-flask-wtf>=0.13.1:../../www/py-flask-wtf
 DEPENDS+=      ${PYPKGPREFIX}-itsdangerous>=0.21:../../security/py-itsdangerous
 DEPENDS+=      ${PYPKGPREFIX}-passlib>=1.7:../../security/py-passlib
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
 
 USE_LANGUAGES= # empty
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-post-extract:
-       ${FIND} ${WRKSRC} -type f -name .DS_Store -exec ${RM} {} \;
-
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-flask-security/PLIST
diff -u pkgsrc/www/py-flask-security/PLIST:1.2 pkgsrc/www/py-flask-security/PLIST:1.3
--- pkgsrc/www/py-flask-security/PLIST:1.2      Thu Nov 22 03:16:18 2018
+++ pkgsrc/www/py-flask-security/PLIST  Sat Aug 10 09:42:15 2024
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2018/11/22 03:16:18 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.3 2024/08/10 09:42:15 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/flask_security/__init__.py
 ${PYSITELIB}/flask_security/__init__.pyc
 ${PYSITELIB}/flask_security/__init__.pyo

Index: pkgsrc/www/py-flask-security/distinfo
diff -u pkgsrc/www/py-flask-security/distinfo:1.12 pkgsrc/www/py-flask-security/distinfo:1.13
--- pkgsrc/www/py-flask-security/distinfo:1.12  Tue Oct 26 11:30:39 2021
+++ pkgsrc/www/py-flask-security/distinfo       Sat Aug 10 09:42:15 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.12 2021/10/26 11:30:39 nia Exp $
+$NetBSD: distinfo,v 1.13 2024/08/10 09:42:15 wiz Exp $
 
 BLAKE2s (Flask-Security-3.0.0.tar.gz) = e9329e670cccd11903ce2ed951773238f707192aff162b9290f82fe94b751865
 SHA512 (Flask-Security-3.0.0.tar.gz) = 09b94f0850372513add5c054c07aa465ecb95e8d1c414647e3ebee571ec08c94a29f0c138d092c02a55e242c422bc53f929ca066d671c082dcb29834ac753984
 Size (Flask-Security-3.0.0.tar.gz) = 160367 bytes
+SHA1 (patch-setup.py) = de17050312be9481776ac93c62c563e1864aed5d

Added files:

Index: pkgsrc/www/py-flask-security/patches/patch-setup.py
diff -u /dev/null pkgsrc/www/py-flask-security/patches/patch-setup.py:1.1
--- /dev/null   Sat Aug 10 09:42:16 2024
+++ pkgsrc/www/py-flask-security/patches/patch-setup.py Sat Aug 10 09:42:15 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2024/08/10 09:42:15 wiz Exp $
+
+Remove unused dependencies.
+
+--- setup.py.orig      2024-08-10 09:39:31.992535597 +0000
++++ setup.py
+@@ -41,8 +41,6 @@ for reqs in extras_require.values():
+     extras_require['all'].extend(reqs)
+ 
+ setup_requires = [
+-    'Babel>=1.3',
+-    'pytest-runner>=2.6.2',
+ ]
+ 
+ install_requires = [



Home | Main Index | Thread Index | Old Index