git: d6b5053fedca - main - mail/py-mail-parser: Convert to USE_PYTHON=pep517

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 13 May 2024 14:20:55 UTC
The branch main has been updated by sunpoet:

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

commit d6b5053fedca33b7c10c23bf9448b4d35b379239
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:02:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:02:08 +0000

    mail/py-mail-parser: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 mail/py-mail-parser/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/mail/py-mail-parser/Makefile b/mail/py-mail-parser/Makefile
index c64f61c4811f..868f2e485bdc 100644
--- a/mail/py-mail-parser/Makefile
+++ b/mail/py-mail-parser/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mail-parser
 PORTVERSION=	3.15.0
+PORTREVISION=	1
 CATEGORIES=	mail python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,12 +11,14 @@ WWW=		https://github.com/SpamScope/mail-parser
 
 LICENSE=	APACHE20
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	msgconvert:mail/p5-Email-Outlook-Message \
 		${PYTHON_PKGNAMEPREFIX}simplejson>=3.17.0:devel/py-simplejson@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}six>=1.14.0:devel/py-six@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes