git: 2186d1122c43 - main - devel/py-pathos: Update to 0.3.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 18 Apr 2023 18:09:04 UTC
The branch main has been updated by sunpoet:

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

commit 2186d1122c43fe61dc2e6fc47b47e2bdf5e0a361
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-18 17:57:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-18 18:00:52 +0000

    devel/py-pathos: Update to 0.3.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/uqfoundation/pathos/releases
---
 devel/py-pathos/Makefile             | 14 ++++++++------
 devel/py-pathos/distinfo             |  6 +++---
 devel/py-pathos/files/patch-setup.py | 11 +++++++++++
 3 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/devel/py-pathos/Makefile b/devel/py-pathos/Makefile
index 0271c8438785..15a49c0ec932 100644
--- a/devel/py-pathos/Makefile
+++ b/devel/py-pathos/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pathos
-PORTVERSION=	0.2.8
+PORTVERSION=	0.3.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,15 @@ WWW=		https://github.com/uqfoundation/pathos
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dill>=0.3.4:devel/py-dill@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dill>=0.3.6:devel/py-dill@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}multiprocess>=0.70.12:devel/py-multiprocess@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pox>=0.3.0:devel/py-pox@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ppft>=1.6.6.4:devel/py-ppft@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pox>=0.3.2:devel/py-pox@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ppft>=1.7.6.6:devel/py-ppft@${PY_FLAVOR}
 
-USES=		python:3.7+ zip
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-pathos/distinfo b/devel/py-pathos/distinfo
index de3796cbe727..851797c1eb9c 100644
--- a/devel/py-pathos/distinfo
+++ b/devel/py-pathos/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655561126
-SHA256 (pathos-0.2.8.zip) = 1f0f27a90f7ab66c423ba796529000fde9360d17b2d8e50097641ff405fc6f15
-SIZE (pathos-0.2.8.zip) = 219791
+TIMESTAMP = 1681052960
+SHA256 (pathos-0.3.0.tar.gz) = 24fa8db51fbd9284da8e191794097c4bb2aa3fce411090e57af6385e61b97e09
+SIZE (pathos-0.3.0.tar.gz) = 164417
diff --git a/devel/py-pathos/files/patch-setup.py b/devel/py-pathos/files/patch-setup.py
new file mode 100644
index 000000000000..0c165cd66e3a
--- /dev/null
+++ b/devel/py-pathos/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2022-10-24 02:43:02 UTC
++++ setup.py
+@@ -91,7 +91,7 @@ class BinaryDistribution(Distribution):
+ ppft_version = 'ppft>=1.7.6.6'
+ dill_version = 'dill>=0.3.6'
+ pox_version = 'pox>=0.3.2'
+-mp_version = 'multiprocess>=0.70.14'
++mp_version = 'multiprocess>=0.70.12'
+ pyina_version = 'pyina>=0.2.6'
+ mystic_version = 'mystic>=0.3.9'
+ # add dependencies