git: 0075255bf293 - main - mail/py-flask-mail: Fix PEP 517 installation

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 17 Oct 2024 19:07:21 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0075255bf2937487dd4cff2db512565d79bf0d5e

commit 0075255bf2937487dd4cff2db512565d79bf0d5e
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-17 19:03:59 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-17 19:03:59 +0000

    mail/py-flask-mail: Fix PEP 517 installation
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 mail/py-flask-mail/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/mail/py-flask-mail/Makefile b/mail/py-flask-mail/Makefile
index 2e9210b11d4b..4b926099e4d2 100644
--- a/mail/py-flask-mail/Makefile
+++ b/mail/py-flask-mail/Makefile
@@ -13,16 +13,13 @@ WWW=		https://flask-mail.readthedocs.io/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=0<4:devel/py-flit-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flask>=0.9:www/py-flask@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}blinker>=0:devel/py-blinker@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist pep517
 
-PEP517_BUILD_DEPEND=	${PYTHON_PKGNAMEPREFIX}flit-core>=0:devel/py-flit-core@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-PEP517_BUILD_CMD=	${PYTHON_CMD} -m flit_core.wheel
-
 NO_ARCH=	yes
 
 .include <bsd.port.mk>