git: 31b294cd1770 - main - x11-fonts/py-fontfeatures: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 15:02:26 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=31b294cd1770f252545e7f21544b995ec1d006c1 commit 31b294cd1770f252545e7f21544b995ec1d006c1 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-23 14:23:51 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-23 14:49:39 +0000 x11-fonts/py-fontfeatures: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- x11-fonts/py-fontfeatures/Makefile | 5 ++++- x11-fonts/py-fontfeatures/files/patch-setup.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/x11-fonts/py-fontfeatures/Makefile b/x11-fonts/py-fontfeatures/Makefile index 0f6cffc1d48c..b4cc69348f22 100644 --- a/x11-fonts/py-fontfeatures/Makefile +++ b/x11-fonts/py-fontfeatures/Makefile @@ -1,5 +1,6 @@ PORTNAME= fontfeatures PORTVERSION= 1.8.0 +PORTREVISION= 1 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,14 @@ WWW= https://github.com/simoncozens/fontFeatures LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.28.0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}fs2>=0:devel/py-fs2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/x11-fonts/py-fontfeatures/files/patch-setup.py b/x11-fonts/py-fontfeatures/files/patch-setup.py new file mode 100644 index 000000000000..8262e07b37bd --- /dev/null +++ b/x11-fonts/py-fontfeatures/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2023-07-17 10:33:56 UTC ++++ setup.py +@@ -14,7 +14,7 @@ config = { + scripts = glob.glob("bin/*") + + config = { +- 'name': 'fontFeatures', ++ 'name': 'fontfeatures', + 'author': 'Simon Cozens', + 'author_email': 'simon@simon-cozens.org', + 'url': 'https://github.com/simoncozens/fontFeatures',