Date: Sat, 19 Dec 2020 18:17:07 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r558463 - head/devel/py-importlib-metadata Message-ID: <202012191817.0BJIH7oD026011@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Sat Dec 19 18:17:07 2020 New Revision: 558463 URL: https://svnweb.freebsd.org/changeset/ports/558463 Log: devel/py-importlib-metadata: Fix RUN_DEPENDS for Python < 3.8 * Python < 3.8 also needs devel/py-typing-extensions for runtime. * Bump PORTREVISION due changed dependencies. Approved by: portmgr ("just fix it") Modified: head/devel/py-importlib-metadata/Makefile Modified: head/devel/py-importlib-metadata/Makefile ============================================================================== --- head/devel/py-importlib-metadata/Makefile Sat Dec 19 17:55:59 2020 (r558462) +++ head/devel/py-importlib-metadata/Makefile Sat Dec 19 18:17:07 2020 (r558463) @@ -2,6 +2,7 @@ PORTNAME= importlib-metadata PORTVERSION= 3.3.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,4 +20,10 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zipp>=0.5:devel/py USES= python:3.6+ USE_PYTHON= autoplist distutils -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.6.4:devel/py-typing-extensions@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012191817.0BJIH7oD026011>