Index: head/net/py-gntp/pkg-plist =================================================================== --- head/net/py-gntp/pkg-plist (revision 505737) +++ head/net/py-gntp/pkg-plist (nonexistent) @@ -1,32 +0,0 @@ -%%PORTDOCS%%%%DOCSDIR%%/.buildinfo -%%PORTDOCS%%%%DOCSDIR%%/_sources/core.rst.txt -%%PORTDOCS%%%%DOCSDIR%%/_sources/index.rst.txt -%%PORTDOCS%%%%DOCSDIR%%/_static/ajax-loader.gif -%%PORTDOCS%%%%DOCSDIR%%/_static/basic.css -%%PORTDOCS%%%%DOCSDIR%%/_static/classic.css -%%PORTDOCS%%%%DOCSDIR%%/_static/comment-bright.png -%%PORTDOCS%%%%DOCSDIR%%/_static/comment-close.png -%%PORTDOCS%%%%DOCSDIR%%/_static/comment.png -%%PORTDOCS%%%%DOCSDIR%%/_static/default.css -%%PORTDOCS%%%%DOCSDIR%%/_static/doctools.js -%%PORTDOCS%%%%DOCSDIR%%/_static/down-pressed.png -%%PORTDOCS%%%%DOCSDIR%%/_static/down.png -%%PORTDOCS%%%%DOCSDIR%%/_static/file.png -%%PORTDOCS%%%%DOCSDIR%%/_static/jquery-3.1.0.js -%%PORTDOCS%%%%DOCSDIR%%/_static/jquery.js -%%PORTDOCS%%%%DOCSDIR%%/_static/minus.png -%%PORTDOCS%%%%DOCSDIR%%/_static/plus.png -%%PORTDOCS%%%%DOCSDIR%%/_static/pygments.css -%%PORTDOCS%%%%DOCSDIR%%/_static/searchtools.js -%%PORTDOCS%%%%DOCSDIR%%/_static/sidebar.js -%%PORTDOCS%%%%DOCSDIR%%/_static/underscore-1.3.1.js -%%PORTDOCS%%%%DOCSDIR%%/_static/underscore.js -%%PORTDOCS%%%%DOCSDIR%%/_static/up-pressed.png -%%PORTDOCS%%%%DOCSDIR%%/_static/up.png -%%PORTDOCS%%%%DOCSDIR%%/_static/websupport.js -%%PORTDOCS%%%%DOCSDIR%%/core.html -%%PORTDOCS%%%%DOCSDIR%%/genindex.html -%%PORTDOCS%%%%DOCSDIR%%/index.html -%%PORTDOCS%%%%DOCSDIR%%/objects.inv -%%PORTDOCS%%%%DOCSDIR%%/search.html -%%PORTDOCS%%%%DOCSDIR%%/searchindex.js Property changes on: head/net/py-gntp/pkg-plist ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/py-gntp/Makefile =================================================================== --- head/net/py-gntp/Makefile (revision 505737) +++ head/net/py-gntp/Makefile (revision 505738) @@ -1,32 +1,46 @@ # $FreeBSD$ PORTNAME= gntp -PORTVERSION= 0.8 +PORTVERSION= 1.0.3 DISTVERSIONPREFIX= v -PORTREVISION= 6 -CATEGORIES= net +CATEGORIES= net python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= Growl Notification Transport Protocol for Python LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -USES= python:2.7 +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ + gol:deskutils/growl-for-linux + +USES= python USE_GITHUB= yes GH_ACCOUNT= kfdm -USE_PYTHON= distutils autoplist +USE_PYTHON= distutils autoplist concurrent -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +NO_ARCH= yes +PORTDOCS= * OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} DOCS_VARS= PYDISTUTILS_BUILD_TARGET+=build_sphinx post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} - cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \ + "! -name .buildinfo -and ! -name objects.inv" + +# Two tests (test_double_resource + test_single_resource) in test_resources.py +# always fail because desktutils/growl-for-linux isn't (yet) capable to handle +# messages with embedded icons. +# +# To get succesful results from the remaining tests a running instance of "gol" +# (which needs X and is packaged with deskutils/growl-for-linux) is required. +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} && \ + ${TOUCH} ${WRKDIR}/.gntp && ${PYTHON_CMD} -m nose -v -e 'test_(single|double)_resource') .include Index: head/net/py-gntp/distinfo =================================================================== --- head/net/py-gntp/distinfo (revision 505737) +++ head/net/py-gntp/distinfo (revision 505738) @@ -1,2 +1,3 @@ -SHA256 (kfdm-gntp-v0.8_GH0.tar.gz) = 1e646e6b486c7367bb342f14230fa391265b134935b72e9e04b9e6bc372bd655 -SIZE (kfdm-gntp-v0.8_GH0.tar.gz) = 38357 +TIMESTAMP = 1558186402 +SHA256 (kfdm-gntp-v1.0.3_GH0.tar.gz) = e9fde29e5ec37dfb77a7659018a7c7f65cb1411054c864eae137ce3d008f794f +SIZE (kfdm-gntp-v1.0.3_GH0.tar.gz) = 39511