git: 22b7723b77da - main - www/py-flask-wtf: fix build

From: Ruslan Makhmatkhanov <rm_at_FreeBSD.org>
Date: Sun, 04 Jun 2023 15:53:06 UTC
The branch main has been updated by rm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22b7723b77dadd4d9203ad94107423f3574e5db9

commit 22b7723b77dadd4d9203ad94107423f3574e5db9
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2023-06-04 15:52:33 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2023-06-04 15:52:33 +0000

    www/py-flask-wtf: fix build
    
    Add missing build dependencies for www/py-flask-wtf and math/py-autograd
---
 math/py-autograd/Makefile | 2 ++
 www/py-flask-wtf/Makefile | 5 ++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/math/py-autograd/Makefile b/math/py-autograd/Makefile
index 36e1f94bdecb..07cf421d9bf5 100644
--- a/math/py-autograd/Makefile
+++ b/math/py-autograd/Makefile
@@ -10,6 +10,8 @@ WWW=		https://github.com/HIPS/autograd
 
 LICENSE=	MIT
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
 RUN_DEPENDS=	${PYNUMPY} \
 		${PYTHON_PKGNAMEPREFIX}future>=0.15.2:devel/py-future@${PY_FLAVOR}
 
diff --git a/www/py-flask-wtf/Makefile b/www/py-flask-wtf/Makefile
index c5bcb484e5f0..d1f122f0664a 100644
--- a/www/py-flask-wtf/Makefile
+++ b/www/py-flask-wtf/Makefile
@@ -11,6 +11,9 @@ WWW=		https://flask-wtf.readthedocs.org/en/latest/
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.rst
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wtforms>0:textproc/py-wtforms@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}itsdangerous>0:security/py-itsdangerous@${PY_FLAVOR}
@@ -19,7 +22,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Flask>0:www/py-flask@${PY_FLAVOR} \
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}flask-babel>0:devel/py-flask-babel@${PY_FLAVOR}
 
-USES=		python:3.6+
+USES=		python:3.7+
 USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes