git: 8b110a518b02 - main - devel/py-rx: Convert to USE_PYTHON=pep517

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

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

commit 8b110a518b023b5eb0128d4ffb163abf8db83a98
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:00:10 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:00:10 +0000

    devel/py-rx: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-rx/Makefile                | 6 +++++-
 devel/py-rx/files/patch-project.cfg | 9 +++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/devel/py-rx/Makefile b/devel/py-rx/Makefile
index 6440374ab881..3e2bb5a72e51 100644
--- a/devel/py-rx/Makefile
+++ b/devel/py-rx/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rx
 PORTVERSION=	3.2.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://github.com/ReactiveX/RxPY
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-rx/files/patch-project.cfg b/devel/py-rx/files/patch-project.cfg
new file mode 100644
index 000000000000..b4f2809d8b4f
--- /dev/null
+++ b/devel/py-rx/files/patch-project.cfg
@@ -0,0 +1,9 @@
+--- project.cfg.orig	2021-04-25 15:51:21 UTC
++++ project.cfg
+@@ -1,5 +1,5 @@
+ [project]
+-name = Rx
++name = rx
+ project = RxPY
+ # Please make sure the version here remains the same as in rx/__init__.py
+ version = 3.2.0