x11-fonts/py-fontfeatures: Convert to USE_PYTHON=pep517

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2024-03-23 22:23:51 +08:00
parent 4fdef02afc
commit 31b294cd17
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= fontfeatures
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= x11-fonts python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,12 +13,14 @@ WWW= https://github.com/simoncozens/fontFeatures
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
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>=4.28.0:print/py-fonttools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}fs2>=0:devel/py-fs2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes

View File

@ -0,0 +1,11 @@
--- setup.py.orig 2023-07-17 10:33:56 UTC
+++ setup.py
@@ -14,7 +14,7 @@ config = {
scripts = glob.glob("bin/*")
config = {
- 'name': 'fontFeatures',
+ 'name': 'fontfeatures',
'author': 'Simon Cozens',
'author_email': 'simon@simon-cozens.org',
'url': 'https://github.com/simoncozens/fontFeatures',