textproc/py-colorclass: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
2023Q3
Po-Chuan Hsieh 2023-06-30 15:04:47 +08:00
parent f561e6aca3
commit ddbd50d864
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= colorclass
PORTVERSION= 2.2.2
PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,8 +12,10 @@ WWW= https://github.com/matthewdeanmartin/colorclass
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes

View File

@ -0,0 +1,10 @@
--- pyproject.toml.orig 2021-12-09 00:41:34 UTC
+++ pyproject.toml
@@ -62,5 +62,5 @@ python = ">=2.6 || >=3.0"
pytest = "==6.0.1"
[build-system]
-requires = ["poetry>=0.12"]
-build-backend = "poetry.masonry.api"
+requires = ["poetry-core>=1.0.0"]
+build-backend = "poetry.core.masonry.api"