Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:18:31 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 646bdc87928d - main - devel/py-rx1: Convert to USE_PYTHON=pep517
Message-ID:  <202405131418.44DEIVmP088282@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

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

    devel/py-rx1: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 devel/py-rx1/Makefile             |  6 +++++-
 devel/py-rx1/files/patch-setup.py | 11 +++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/devel/py-rx1/Makefile b/devel/py-rx1/Makefile
index 59c481aae9d2..652e9eefc9ba 100644
--- a/devel/py-rx1/Makefile
+++ b/devel/py-rx1/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	rx
 PORTVERSION=	1.6.1
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +13,11 @@ WWW=		https://github.com/ReactiveX/RxPY
 
 LICENSE=	APACHE20
 
+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-rx1/files/patch-setup.py b/devel/py-rx1/files/patch-setup.py
new file mode 100644
index 000000000000..7083fc004685
--- /dev/null
+++ b/devel/py-rx1/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2018-02-17 14:32:28 UTC
++++ setup.py
+@@ -6,7 +6,7 @@ setup(
+     from setuptools import setup
+ 
+ setup(
+-    name='Rx',
++    name='rx',
+     version='1.6.1',
+     description='Reactive Extensions (Rx) for Python',
+     long_description=("is a library for composing asynchronous and "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405131418.44DEIVmP088282>