git: 70181e3fb776 - main - math/py-iohexperimenter: Convert to USE_PYTHON=pep517

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

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

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

    math/py-iohexperimenter: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 math/py-iohexperimenter/Makefile             | 6 ++++--
 math/py-iohexperimenter/files/patch-setup.py | 9 +++++++--
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/math/py-iohexperimenter/Makefile b/math/py-iohexperimenter/Makefile
index cae66a4d73df..7ec2f629afdb 100644
--- a/math/py-iohexperimenter/Makefile
+++ b/math/py-iohexperimenter/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	iohexperimenter
 PORTVERSION=	0.2.9.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	math python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -13,10 +13,12 @@ WWW=		https://github.com/IOHprofiler/IOHexperimenter
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		compiler:c++14-lang dos2unix python
-USE_PYTHON=	autoplist concurrent distutils unittest
+USE_PYTHON=	autoplist concurrent pep517 unittest
 
 USE_CXXSTD=	c++14
 TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}/IOHexperimenter
diff --git a/math/py-iohexperimenter/files/patch-setup.py b/math/py-iohexperimenter/files/patch-setup.py
index f888102c625c..07963f258aa7 100644
--- a/math/py-iohexperimenter/files/patch-setup.py
+++ b/math/py-iohexperimenter/files/patch-setup.py
@@ -1,6 +1,11 @@
---- setup.py.orig	2021-01-29 16:13:26 UTC
+--- setup.py.orig	2024-04-27 13:56:50 UTC
 +++ setup.py
-@@ -43,7 +43,7 @@ setup(
+@@ -39,11 +39,11 @@ setup(
+ 
+ 
+ setup(
+-    name="IOHexperimenter",
++    name="iohexperimenter",
      version=__version__,
      author="Furong Ye, Diederick Vermetten, and Hao Wang",
      author_email="f.ye@liacs.leidenuniv.nl",