diff --git a/devel/py-pipdeptree/Makefile b/devel/py-pipdeptree/Makefile index fae39f27b264..741dea072f10 100644 --- a/devel/py-pipdeptree/Makefile +++ b/devel/py-pipdeptree/Makefile @@ -1,23 +1,28 @@ PORTNAME= pipdeptree PORTVERSION= 2.13.0 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= bofh@FreeBSD.org COMMENT= Command line utility to show dependency tree of packages WWW= https://github.com/naiquevin/pipdeptree LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.18:devel/py-hatchling@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0.3:devel/py-hatch-vcs@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=6.0.0:devel/py-pip@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 pytest NO_ARCH= yes +post-patch: + @${REINPLACE_CMD} -e 's|import __version__|import version as __version__|g' \ + ${WRKSRC}/src/pipdeptree/_cli.py + .include