git: e49c736dd3d2 - main - finance/py-mplfinance: Convert to USE_PYTHON=pep517

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

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

commit e49c736dd3d2515da038e5db999e06ea9a21b956
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:01:26 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:01:26 +0000

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

diff --git a/finance/py-mplfinance/Makefile b/finance/py-mplfinance/Makefile
index 16cbe66ff612..ab8686236058 100644
--- a/finance/py-mplfinance/Makefile
+++ b/finance/py-mplfinance/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mplfinance
 PORTVERSION=	0.12.10b0
+PORTREVISION=	1
 CATEGORIES=	finance python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,11 +12,13 @@ WWW=		https://github.com/matplotlib/mplfinance
 LICENSE=	PSFL
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pandas>=0,1:math/py-pandas@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes