git: 9f8959bc0a90 - main - textproc/py-chevron: Switch to PEP517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Feb 2025 15:15:12 UTC
The branch main has been updated by nork: URL: https://cgit.FreeBSD.org/ports/commit/?id=9f8959bc0a9053ff87a56ef42b9a19bf0753ef6d commit 9f8959bc0a9053ff87a56ef42b9a19bf0753ef6d Author: Norikatsu Shigemura <nork@FreeBSD.org> AuthorDate: 2025-02-20 15:14:43 +0000 Commit: Norikatsu Shigemura <nork@FreeBSD.org> CommitDate: 2025-02-20 15:14:43 +0000 textproc/py-chevron: Switch to PEP517 Approved by: hrs (mentor, blanket) --- textproc/py-chevron/Makefile | 6 +++++- textproc/py-chevron/files/patch-setup.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/textproc/py-chevron/Makefile b/textproc/py-chevron/Makefile index de1db247d809..cf2b233bdab4 100644 --- a/textproc/py-chevron/Makefile +++ b/textproc/py-chevron/Makefile @@ -1,5 +1,6 @@ PORTNAME= chevron PORTVERSION= 0.14.0 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,8 +11,11 @@ WWW= https://pypi.org/project/chevron/ LICENSE= MIT +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/textproc/py-chevron/files/patch-setup.py b/textproc/py-chevron/files/patch-setup.py new file mode 100644 index 000000000000..92e3ef5c597d --- /dev/null +++ b/textproc/py-chevron/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-01-02 20:33:10 UTC ++++ setup.py +@@ -3,7 +3,7 @@ try: + import chevron.metadata + + try: +- from setuptools import setup ++ from setuptools import setup, find_packages + except ImportError: + from distutils.core import setup +