diff --git a/ports-mgmt/porttree/Makefile b/ports-mgmt/porttree/Makefile index f3a6205e63c0..f9e4c9359a03 100644 --- a/ports-mgmt/porttree/Makefile +++ b/ports-mgmt/porttree/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= porttree -PORTVERSION= 0.9.r${SVN_REV} +PORTVERSION= 1.0.r${SVN_REV} CATEGORIES= ports-mgmt python MASTER_SITES= SF/${PORTNAME} @@ -11,17 +11,12 @@ COMMENT= Show dependences of FreeBSD port as pseudo graphical tree LICENSE= MIT +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}networkx>=2.0:math/py-networkx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}configargparse>0:devel/py-configargparse@${PY_FLAVOR} + USES= python tar:bzip2 shebangfix -USE_PYTHON= flavors optsuffix -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}networkx>=2.0:math/py-networkx@${PY_FLAVOR} - -.if target(gen-dist) -FETCH_DEPENDS+= svn:devel/subversion -.endif - -SVNROOT?= https://svn.code.sf.net/p/porttree/code/trunk -SVN_REV= 94 +SVN_REV= 102 NO_BUILD= yes PLIST_FILES= bin/porttree man/man1/porttree.1.gz NO_ARCH= yes @@ -32,6 +27,12 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/porttree.py ${STAGEDIR}${PREFIX}/bin/porttree ${INSTALL_MAN} ${WRKSRC}/src/porttree.1 ${STAGEDIR}${MANPREFIX}/man/man1 +do-test: + LC_ALL="en_US.UTF-8" ${WRKSRC}/tests/tests.sh + +# maintainer section: +# require: devel/subversion +SVNROOT?= https://svn.code.sf.net/p/porttree/code/trunk gen-dist: ${MKDIR} ${WRKDIR} ${RM} -r ${WRKSRC} diff --git a/ports-mgmt/porttree/distinfo b/ports-mgmt/porttree/distinfo index 865a0f4044e3..125900a6d56b 100644 --- a/ports-mgmt/porttree/distinfo +++ b/ports-mgmt/porttree/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1549656323 -SHA256 (porttree-0.9.r94.tar.bz2) = 88b7cf3eed19c6be2719a9cf094b3fd5bb59a58750bc629a11cb905a7b874aa9 -SIZE (porttree-0.9.r94.tar.bz2) = 11509 +TIMESTAMP = 1557401720 +SHA256 (porttree-1.0.r102.tar.bz2) = b18235bc1194892df4ae95bdb706286aec82d30f788e1faccb33a9f5e3505886 +SIZE (porttree-1.0.r102.tar.bz2) = 12937