diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 14:05:38 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-05-13 14:05:38 +0000 |
commit | 384d8cf12dd07f4dd698b40fa21702542dfeeb63 (patch) | |
tree | 795f907547f8ac3fb810e988d9f897608cf4616c | |
parent | 8f7f91654acc0f7a0257cfd380a06fde7bbe3aba (diff) | |
download | ports-384d8cf12dd07f4dd698b40fa21702542dfeeb63.tar.gz ports-384d8cf12dd07f4dd698b40fa21702542dfeeb63.zip |
net/py-socksio: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
-rw-r--r-- | net/py-socksio/Makefile | 5 | ||||
-rw-r--r-- | net/py-socksio/files/patch-pyproject.toml | 9 |
2 files changed, 13 insertions, 1 deletions
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] |