summaryrefslogtreecommitdiff
path: root/www/py-flask
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--www/py-flask-admin/Makefile3
-rw-r--r--www/py-flask-admin/distinfo6
-rw-r--r--www/py-flask/Makefile24
-rw-r--r--www/py-flask/distinfo6
4 files changed, 22 insertions, 17 deletions
diff --git a/www/py-flask-admin/Makefile b/www/py-flask-admin/Makefile
index 4ebcfbd82dd2..93bb24254bb0 100644
--- a/www/py-flask-admin/Makefile
+++ b/www/py-flask-admin/Makefile
@@ -1,6 +1,5 @@
PORTNAME= Flask-Admin
-PORTVERSION= 1.6.0
-PORTREVISION= 1
+PORTVERSION= 1.6.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/www/py-flask-admin/distinfo b/www/py-flask-admin/distinfo
index c772724a703e..c29386b65b40 100644
--- a/www/py-flask-admin/distinfo
+++ b/www/py-flask-admin/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644834701
-SHA256 (Flask-Admin-1.6.0.tar.gz) = 424ffc79b7b0dfff051555686ea12e86e48dffacac14beaa319fb4502ac40988
-SIZE (Flask-Admin-1.6.0.tar.gz) = 6644630
+TIMESTAMP = 1754313273
+SHA256 (Flask-Admin-1.6.1.tar.gz) = 24cae2af832b6a611a01d7dc35f42d266c1d6c75a426b869d8cb241b78233369
+SIZE (Flask-Admin-1.6.1.tar.gz) = 6651224
diff --git a/www/py-flask/Makefile b/www/py-flask/Makefile
index b7c137b698ff..4e3fee0e633d 100644
--- a/www/py-flask/Makefile
+++ b/www/py-flask/Makefile
@@ -1,5 +1,6 @@
PORTNAME= flask
-DISTVERSION= 3.1.1
+DISTVERSION= 3.1.2
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -19,19 +20,24 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}werkzeug>=3.1:www/py-werkzeug@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}blinker>=1.9:devel/py-blinker@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
-USES= cpe python
+USES= cpe python:3.10+
CPE_VENDOR= palletsprojects
USE_PYTHON= pep517 concurrent autoplist
NO_ARCH= yes
-do-test:
- @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
+OPTIONS_DEFINE= ASYNC DOTENV
+OPTIONS_DEFAULT=ASYNC DOTENV
+
+ASYNC_DESC= Enable async
+ASYNC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asgiref>=3.2:www/py-asgiref@${PY_FLAVOR}
-.include <bsd.port.pre.mk>
+DOTENV_DESC= Enable dotenv
+DOTENV_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dotenv>=0:www/py-python-dotenv@${PY_FLAVOR}
-.if ${PYTHON_REL} < 31000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6.0:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
+.include <bsd.port.options.mk>
+
+do-test:
+ @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/www/py-flask/distinfo b/www/py-flask/distinfo
index dd7789fa3a5b..8caaf5eb9819 100644
--- a/www/py-flask/distinfo
+++ b/www/py-flask/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747179697
-SHA256 (flask-3.1.1.tar.gz) = 284c7b8f2f58cb737f0cf1c30fd7eaf0ccfcde196099d24ecede3fc2005aa59e
-SIZE (flask-3.1.1.tar.gz) = 753440
+TIMESTAMP = 1755740139
+SHA256 (flask-3.1.2.tar.gz) = bf656c15c80190ed628ad08cdfd3aaa35beb087855e2f494910aa3774cc4fd87
+SIZE (flask-3.1.2.tar.gz) = 720160