net/py-socksio: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
main
Po-Chuan Hsieh 2024-05-13 22:05:38 +08:00
parent 8f7f91654a
commit 384d8cf12d
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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]