mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
textproc/py-colorclass: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
f561e6aca3
commit
ddbd50d864
@ -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
|
||||
|
||||
|
10
textproc/py-colorclass/files/patch-pyproject.toml
Normal file
10
textproc/py-colorclass/files/patch-pyproject.toml
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user