diff --git a/x11-fonts/py-axisregistry/Makefile b/x11-fonts/py-axisregistry/Makefile index 8cfec11fb1f9..7a837c96f631 100644 --- a/x11-fonts/py-axisregistry/Makefile +++ b/x11-fonts/py-axisregistry/Makefile @@ -1,25 +1,31 @@ PORTNAME= axisregistry -PORTVERSION= 0.4.11 +PORTVERSION= 0.4.12 CATEGORIES= x11-fonts python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python API to access data from the Google Fonts variable fonts axis registry WWW= https://github.com/googlefonts/axisregistry LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}protobuf>=3.19.4,1:devel/py-protobuf@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR} +.endif + +.include diff --git a/x11-fonts/py-axisregistry/distinfo b/x11-fonts/py-axisregistry/distinfo index fcf54a0f5d15..58889c0c2b87 100644 --- a/x11-fonts/py-axisregistry/distinfo +++ b/x11-fonts/py-axisregistry/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1724084668 -SHA256 (axisregistry-0.4.11.tar.gz) = a75fe87265aaac22780b295181e9ff0d1d0b7aa7302310758c06ae25bc3cca06 -SIZE (axisregistry-0.4.11.tar.gz) = 4133245 +TIMESTAMP = 1738089174 +SHA256 (axisregistry-0.4.12.tar.gz) = 77ad156f39438802fe27cb02134b29d91801d36586ae282a71dcea5b9e5ec75b +SIZE (axisregistry-0.4.12.tar.gz) = 4144524 diff --git a/x11-fonts/py-axisregistry/files/patch-setup.py b/x11-fonts/py-axisregistry/files/patch-setup.py index 50f91c7ab81a..2fc09b6e0475 100644 --- a/x11-fonts/py-axisregistry/files/patch-setup.py +++ b/x11-fonts/py-axisregistry/files/patch-setup.py @@ -1,9 +1,11 @@ ---- setup.py.orig 2023-01-11 17:08:40 UTC +--- setup.py.orig 2025-01-27 13:14:54 UTC +++ setup.py -@@ -46,5 +46,5 @@ setup( - "setuptools>=61.2", +@@ -47,7 +47,7 @@ setup( "setuptools_scm[toml]>=6.2", ], -- install_requires=["protobuf>=3.19.4, <4", "fonttools"], -+ install_requires=["protobuf>=3.19.4", "fonttools"], - ) + install_requires=[ +- "protobuf>=3.19.4, <4", ++ "protobuf>=3.19.4", + "fonttools", + "importlib_resources ; python_version < '3.10'", + ],