summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 22:06:29 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-05-13 22:06:29 +0800
commit18f7af1cb344994c93c403b74b91b5a8feaf4dbd (patch)
treefd276b55e4a218ceec8972116db437495ae055d8 /print
parentprint/py-fontaine: Convert to USE_PYTHON=pep517 (diff)
print/py-fontpens: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
Diffstat (limited to 'print')
-rw-r--r--print/py-fontpens/Makefile5
-rw-r--r--print/py-fontpens/files/patch-setup.py11
2 files changed, 15 insertions, 1 deletions
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."),