Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 14:21:58 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: 384d8cf12dd0 - main - net/py-socksio: Convert to USE_PYTHON=pep517
Message-ID:  <202405131421.44DELwvg007243@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=384d8cf12dd07f4dd698b40fa21702542dfeeb63

commit 384d8cf12dd07f4dd698b40fa21702542dfeeb63
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-13 14:05:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-13 14:05:38 +0000

    net/py-socksio: Convert to USE_PYTHON=pep517
    
    - Bump PORTREVISION for package change
---
 net/py-socksio/Makefile                   | 5 ++++-
 net/py-socksio/files/patch-pyproject.toml | 9 +++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/net/py-socksio/Makefile b/net/py-socksio/Makefile
index 6fc97681bfdb..2c0a060c8eb5 100644
--- a/net/py-socksio/Makefile
+++ b/net/py-socksio/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	socksio
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,8 +12,10 @@ WWW=		https://github.com/sethmlarson/socksio
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}flit-core>=2<4:devel/py-flit-core@${PY_FLAVOR}
+
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/net/py-socksio/files/patch-pyproject.toml b/net/py-socksio/files/patch-pyproject.toml
new file mode 100644
index 000000000000..2fefa2800515
--- /dev/null
+++ b/net/py-socksio/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig	2020-01-09 18:52:35 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["flit_core >=2,<3"]
++requires = ["flit_core >=2,<4"]
+ build-backend = "flit_core.buildapi"
+ 
+ [tool.flit.metadata]



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