From 18f7af1cb344994c93c403b74b91b5a8feaf4dbd Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 13 May 2024 22:06:29 +0800 Subject: print/py-fontpens: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- print/py-fontpens/Makefile | 5 ++++- print/py-fontpens/files/patch-setup.py | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 print/py-fontpens/files/patch-setup.py (limited to 'print') diff --git a/print/py-fontpens/Makefile b/print/py-fontpens/Makefile index 227f2908bb42..9620b840e89c 100644 --- a/print/py-fontpens/Makefile +++ b/print/py-fontpens/Makefile @@ -1,5 +1,6 @@ PORTNAME= fontpens PORTVERSION= 0.2.4 +PORTREVISION= 1 CATEGORIES= print python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,14 @@ WWW= https://github.com/robotools/fontPens LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +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>=3.32.0:print/py-fonttools@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fontparts>=0.8.1:print/py-fontparts@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} USES= python zip -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/print/py-fontpens/files/patch-setup.py b/print/py-fontpens/files/patch-setup.py new file mode 100644 index 000000000000..ab90dc9ded28 --- /dev/null +++ b/print/py-fontpens/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2018-12-15 04:52:52 UTC ++++ setup.py +@@ -142,7 +142,7 @@ setup_params = dict( + long_description = f.read() + + setup_params = dict( +- name="fontPens", ++ name="fontpens", + version="0.2.4", + description=("A collection of classes implementing the pen " + "protocol for manipulating glyphs."), -- cgit v1.2.3