pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: mark py-flask dependencies as not-for-python-2.x
details: https://anonhg.NetBSD.org/pkgsrc/rev/e2e7d9c99763
branches: trunk
changeset: 378098:e2e7d9c99763
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Apr 29 11:56:44 2022 +0000
description:
*: mark py-flask dependencies as not-for-python-2.x
I'll update py-flask soon; the current pkgsrc of py-flask version
is broken and all newer versions do not support python 2.x
diffstat:
net/py-impacket/Makefile | 7 ++-----
www/curl/Makefile | 4 +++-
www/py-flask-admin/Makefile | 4 +++-
www/py-flask-api/Makefile | 4 +++-
www/py-flask-assets/Makefile | 8 +++++---
www/py-flask-babel/Makefile | 6 +++---
www/py-flask-babelex/Makefile | 8 ++++----
www/py-flask-bootstrap/Makefile | 4 +++-
www/py-flask-cors/Makefile | 6 +++---
www/py-flask-debugtoolbar/Makefile | 4 +++-
www/py-flask-flatpages/Makefile | 14 ++++++++------
www/py-flask-frozen/Makefile | 6 ++++--
www/py-flask-limiter/Makefile | 4 +++-
www/py-flask-login/Makefile | 4 +++-
www/py-flask-mail/Makefile | 8 +++++---
www/py-flask-principal/Makefile | 8 +++++---
www/py-flask-rest/Makefile | 4 +++-
www/py-flask-restful/Makefile | 4 +++-
www/py-flask-script/Makefile | 6 ++++--
www/py-flask-security/Makefile | 4 +++-
www/py-flask-sendmail/Makefile | 6 ++++--
www/py-flask-sqlalchemy/Makefile | 4 +++-
www/py-flask-sslify/Makefile | 6 ++++--
www/py-flask-testing/Makefile | 11 ++++-------
www/py-flask-uploads/Makefile | 6 ++++--
www/py-flask-user/Makefile | 9 ++++-----
www/py-flask-webpack/Makefile | 11 ++++++-----
www/py-flask-wtf/Makefile | 8 +++++---
www/py-raven/Makefile | 16 ++++------------
29 files changed, 111 insertions(+), 83 deletions(-)
diffs (truncated from 678 to 300 lines):
diff -r 13d2cb023102 -r e2e7d9c99763 net/py-impacket/Makefile
--- a/net/py-impacket/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/net/py-impacket/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:16 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/04/29 11:56:44 wiz Exp $
DISTNAME= impacket-0.9.24
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -24,10 +24,7 @@
USE_PKG_RESOURCES= yes
-.include "../../lang/python/pyversion.mk"
-.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-argparse-[0-9]*:../../devel/py-argparse
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # flask
SUBST_CLASSES+= crypto
SUBST_STAGE.crypto= pre-configure
diff -r 13d2cb023102 -r e2e7d9c99763 www/curl/Makefile
--- a/www/curl/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/curl/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.255 2022/04/27 07:51:20 wiz Exp $
+# $NetBSD: Makefile,v 1.256 2022/04/29 11:56:44 wiz Exp $
DISTNAME= curl-7.83.0
CATEGORIES= www
@@ -15,6 +15,8 @@
TEST_DEPENDS+= ${PYPKGPREFIX}-impacket-[0-9]*:../../net/py-impacket
+PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-impacket
+
USE_TOOLS+= nroff perl
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-admin/Makefile
--- a/www/py-flask-admin/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-admin/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2022/01/04 20:55:25 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-Admin-1.5.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -16,6 +16,8 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-extract:
${FIND} ${WRKSRC}/flask_admin/static -type f -exec ${CHMOD} a-x {} +
${FIND} ${WRKSRC}/flask_admin/templates -type f -exec ${CHMOD} a-x {} +
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-api/Makefile
--- a/www/py-flask-api/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-api/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/01/04 20:55:25 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-API-1.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -15,5 +15,7 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-assets/Makefile
--- a/www/py-flask-assets/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-assets/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:25 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-Assets-2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -11,12 +11,14 @@
COMMENT= Flask webassets integration
LICENSE= modified-bsd
-USE_LANGUAGES= # empty
-
DEPENDS+= ${PYPKGPREFIX}-flask>=0.8:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-webassets>=2.0:../../www/py-webassets
TEST_DEPENDS+= ${PYPKGPREFIX}-flask-script-[0-9]*:../../www/py-flask-script
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+USE_LANGUAGES= # empty
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-babel/Makefile
--- a/www/py-flask-babel/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-babel/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/04/19 12:09:09 tnn Exp $
+# $NetBSD: Makefile,v 1.13 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-Babel-1.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -13,12 +13,12 @@
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
-PYTHON_VERSIONED_DEPENDENCIES+= jinja2
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-babelex/Makefile
--- a/www/py-flask-babelex/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-babelex/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2022/04/19 12:10:19 tnn Exp $
+# $NetBSD: Makefile,v 1.11 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-BabelEx-0.9.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -11,14 +11,14 @@
COMMENT= Adds i18n and l10n support for Flask based on Babel and pytz
LICENSE= modified-bsd
-PYTHON_VERSIONED_DEPENDENCIES= jinja2
-
DEPENDS+= ${PYPKGPREFIX}-babel>=1.0:../../devel/py-babel
DEPENDS+= ${PYPKGPREFIX}-flask-[0-9]*:../../www/py-flask
+DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
DEPENDS+= ${PYPKGPREFIX}-speaklater>=1.2:../../devel/py-speaklater
USE_LANGUAGES= # empty
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-bootstrap/Makefile
--- a/www/py-flask-bootstrap/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-bootstrap/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:55:25 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/04/29 11:56:44 wiz Exp $
DISTNAME= Flask-Bootstrap-3.3.7.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -17,6 +17,8 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
REPLACE_PYTHON+= flask_bootstrap/__init__.py
.include "../../lang/python/application.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-cors/Makefile
--- a/www/py-flask-cors/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-cors/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:55:26 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Flask-Cors-3.0.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -14,11 +14,11 @@
DEPENDS+= ${PYPKGPREFIX}-flask>=0.9:../../www/py-flask
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+TEST_DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
-PYTHON_VERSIONED_DEPENDENCIES+= packaging:test
+PYTHON_VERSIONS_INCOMPATIBLE= 27
USE_LANGUAGES= # none
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-debugtoolbar/Makefile
--- a/www/py-flask-debugtoolbar/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-debugtoolbar/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:26 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Flask-DebugToolbar-0.10.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -18,6 +18,8 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/codemirror/mode/properties/index.html
${CHMOD} -x ${DESTDIR}${PREFIX}/${PYSITELIB}/flask_debugtoolbar/static/codemirror/mode/properties/properties.js
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-flatpages/Makefile
--- a/www/py-flask-flatpages/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-flatpages/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/04/19 12:11:10 tnn Exp $
+# $NetBSD: Makefile,v 1.17 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Flask-FlatPages-0.7.3
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -11,18 +11,20 @@
COMMENT= Provides flat static pages to a Flask application
LICENSE= modified-bsd
-.include "options.mk"
-
DEPENDS+= ${PYPKGPREFIX}-flask>1.0:../../www/py-flask
+DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
DEPENDS+= ${PYPKGPREFIX}-yaml>5.3.1:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "options.mk"
+
USE_LANGUAGES= # none
-PYTHON_VERSIONED_DEPENDENCIES+= jinja2 markdown pygments:test
-
.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-frozen/Makefile
--- a/www/py-flask-frozen/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-frozen/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2022/01/04 20:55:26 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Frozen-Flask-0.15
PKGNAME= ${PYPKGPREFIX}-flask-frozen-0.15
@@ -11,9 +11,11 @@
COMMENT= Freezes a Flask application into a set of static files
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask
+
USE_LANGUAGES= # empty
-DEPENDS+= ${PYPKGPREFIX}-flask>=0.7:../../www/py-flask
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-limiter/Makefile
--- a/www/py-flask-limiter/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-limiter/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:55:26 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Flask-Limiter-1.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -17,6 +17,8 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
EGG_NAME= ${DISTNAME:S/-/_/1}
.include "../../lang/python/egg.mk"
diff -r 13d2cb023102 -r e2e7d9c99763 www/py-flask-login/Makefile
--- a/www/py-flask-login/Makefile Fri Apr 29 08:41:00 2022 +0000
+++ b/www/py-flask-login/Makefile Fri Apr 29 11:56:44 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2022/01/04 20:55:26 wiz Exp $
+# $NetBSD: Makefile,v 1.20 2022/04/29 11:56:45 wiz Exp $
DISTNAME= Flask-Login-0.5.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -15,5 +15,7 @@
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
Home |
Main Index |
Thread Index |
Old Index