x11-fonts/py-afdko: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
This commit is contained in:
parent
35f59f8e72
commit
60f7725ce4
2 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
12
x11-fonts/py-afdko/files/patch-pyproject.toml
Normal file
12
x11-fonts/py-afdko/files/patch-pyproject.toml
Normal file
|
@ -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"
|
||||
|
Loading…
Reference in a new issue