diff --git a/devel/py-importlib-resources/Makefile b/devel/py-importlib-resources/Makefile index 79599f39de29..131e073724f5 100644 --- a/devel/py-importlib-resources/Makefile +++ b/devel/py-importlib-resources/Makefile @@ -1,24 +1,29 @@ PORTNAME= importlib-resources -DISTVERSION= 6.5.2 +DISTVERSION= 7.0.0 CATEGORIES= devel MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= importlib_resources-${PORTVERSION} MAINTAINER= bofh@FreeBSD.org COMMENT= Read resources from Python packages WWW= https://github.com/python/importlib_resources LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}coherent.licensed>0:devel/py-coherent.licensed@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.1:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 NO_ARCH= yes +post-patch: + @${REINPLACE_CMD} '/license-files/d; s|^license = "Apache-2.0"|license = { text = "Apache-2.0" }|; s|77|63|g' \ + ${WRKSRC}/pyproject.toml + .include diff --git a/devel/py-importlib-resources/distinfo b/devel/py-importlib-resources/distinfo index 79b6a7187595..1f341f79836e 100644 --- a/devel/py-importlib-resources/distinfo +++ b/devel/py-importlib-resources/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1736943877 -SHA256 (importlib_resources-6.5.2.tar.gz) = 185f87adef5bcc288449d98fb4fba07cea78bc036455dd44c5fc4a2fe78fed2c -SIZE (importlib_resources-6.5.2.tar.gz) = 44693 +TIMESTAMP = 1783213747 +SHA256 (importlib_resources-7.0.0.tar.gz) = ccb3c88c71b22528f9e8f2ccf46493f83496b93002fe0faeaefd90461c642585 +SIZE (importlib_resources-7.0.0.tar.gz) = 44582