git: 60f7725ce495 - main - x11-fonts/py-afdko: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Apr 2023 13:41:57 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=60f7725ce49576b11f03b12bc806050c35d7b6b5
commit 60f7725ce49576b11f03b12bc806050c35d7b6b5
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:32:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:37:02 +0000
x11-fonts/py-afdko: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
x11-fonts/py-afdko/Makefile | 8 +++++---
x11-fonts/py-afdko/files/patch-pyproject.toml | 12 ++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/x11-fonts/py-afdko/Makefile b/x11-fonts/py-afdko/Makefile
index ebeea95d587a..dc150495aee8 100644
--- a/x11-fonts/py-afdko/Makefile
+++ b/x11-fonts/py-afdko/Makefile
@@ -1,6 +1,6 @@
PORTNAME= afdko
PORTVERSION= 3.9.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +13,9 @@ LICENSE= APACHE20
# print/py-fonttools[woff]: archivers/py-brotli and archivers/py-zopfli
# x11-fonts/py-defcon[pens]: print/py-fontpens
-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= afdko>=${PORTVERSION}<${PORTVERSION}_99:x11-fonts/afdko \
${PYTHON_PKGNAMEPREFIX}booleanOperations>=0.9.0:x11-fonts/py-booleanOperations@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}brotli>=1.0.1:archivers/py-brotli@${PY_FLAVOR} \
@@ -29,7 +31,7 @@ RUN_DEPENDS= afdko>=${PORTVERSION}<${PORTVERSION}_99:x11-fonts/afdko \
${PYTHON_PKGNAMEPREFIX}zopfli>=0.1.4:archivers/py-zopfli@${PY_FLAVOR}
USES= python:3.7+
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/x11-fonts/py-afdko/files/patch-pyproject.toml b/x11-fonts/py-afdko/files/patch-pyproject.toml
new file mode 100644
index 000000000000..4201b3d60148
--- /dev/null
+++ b/x11-fonts/py-afdko/files/patch-pyproject.toml
@@ -0,0 +1,12 @@
+--- pyproject.toml.orig 2023-02-02 20:42:42 UTC
++++ pyproject.toml
+@@ -3,9 +3,6 @@ requires = [
+ "setuptools",
+ "wheel",
+ "setuptools_scm",
+- "scikit-build",
+- "cmake",
+- "ninja"
+ ]
+ build-backend = "setuptools.build_meta"
+