git: bbb8831b025a - main - x11-fonts/py-ufoprocessor: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 23 Mar 2024 15:02:31 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bbb8831b025a53357d082fd0c36e4d0e5880d43f
commit bbb8831b025a53357d082fd0c36e4d0e5880d43f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:23:54 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:40 +0000
x11-fonts/py-ufoprocessor: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
x11-fonts/py-ufoprocessor/Makefile | 8 +++++---
x11-fonts/py-ufoprocessor/files/patch-setup.py | 11 +++++++++++
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/x11-fonts/py-ufoprocessor/Makefile b/x11-fonts/py-ufoprocessor/Makefile
index 335a0ebedf10..6be05d3a0285 100644
--- a/x11-fonts/py-ufoprocessor/Makefile
+++ b/x11-fonts/py-ufoprocessor/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ufoprocessor
PORTVERSION= 1.9.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,9 @@ WWW= https://github.com/LettError/ufoProcessor
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fontMath>=0.4.9:x11-fonts/py-fontMath@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fontparts>=0.8.2:print/py-fontparts@${PY_FLAVOR} \
@@ -21,7 +23,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVO
${PYTHON_PKGNAMEPREFIX}MutatorMath>=2.1.2:math/py-MutatorMath@${PY_FLAVOR}
USES= python zip
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/x11-fonts/py-ufoprocessor/files/patch-setup.py b/x11-fonts/py-ufoprocessor/files/patch-setup.py
new file mode 100644
index 000000000000..ce9cd2a61969
--- /dev/null
+++ b/x11-fonts/py-ufoprocessor/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig 2020-03-24 08:33:32 UTC
++++ setup.py
+@@ -12,7 +12,7 @@ setup(
+ long_description = f.read()
+
+ setup(
+- name="ufoProcessor",
++ name="ufoprocessor",
+ use_scm_version={"write_to": "Lib/ufoProcessor/_version.py"},
+ description="Read, write and generate UFOs with designspace data.",
+ long_description=long_description,