From owner-svn-ports-head@freebsd.org Wed Jul 3 09:32:31 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 878CE15CDC2C; Wed, 3 Jul 2019 09:32:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F1D46B598; Wed, 3 Jul 2019 09:32:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0A5F29DF6; Wed, 3 Jul 2019 09:32:31 +0000 (UTC) (envelope-from kai@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x639WUqq049660; Wed, 3 Jul 2019 09:32:30 GMT (envelope-from kai@FreeBSD.org) Received: (from kai@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x639WUAP049658; Wed, 3 Jul 2019 09:32:30 GMT (envelope-from kai@FreeBSD.org) Message-Id: <201907030932.x639WUAP049658@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kai set sender to kai@FreeBSD.org using -f From: Kai Knoblich Date: Wed, 3 Jul 2019 09:32:30 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505738 - head/net/py-gntp X-SVN-Group: ports-head X-SVN-Commit-Author: kai X-SVN-Commit-Paths: head/net/py-gntp X-SVN-Commit-Revision: 505738 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 2F1D46B598 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.94 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.94)[-0.941,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2019 09:32:31 -0000 Author: kai Date: Wed Jul 3 09:32:30 2019 New Revision: 505738 URL: https://svnweb.freebsd.org/changeset/ports/505738 Log: net/py-gntp: Update to 1.0.3 * Enable build for all Python versions since the 1.0 release officially supports Python 3.3. The port works also well with later versions of Python 3 up to 3.7. [1] * Make the port concurrent safe as it installs also some scripts and documentation. [1] * Tweak the doc installation to get rid of the pkg-plist and to make full use of the "autoplist" feature. * Remove the superfluous defintion of ${DOCSDIR} that already is set automatically. * Add "python" as an additional category to make searching somewhat easier. * At last but not least: Add an test target to easen QA in the future. Changelog since 0.8: * Allow "file://" scheme to be used for icons * Fix bug with incoming password hash * Added info about license in each source file * Fix bug with binary data (images) being encoded incorrectly * Python 3.3 support * Remove duplicate code from gntp.config * Catch all errors and rethrow them as gntp.errors to make it easier for other programs to deal with errors from the gntp library * Ensure that we open resource files as "rb" and update the documentation PR: 234311 Submitted by: Kes Calhoun (initial patch) [1] Reviewed by: koobs Approved by: nivit (maintainer timeout) Deleted: head/net/py-gntp/pkg-plist Modified: head/net/py-gntp/Makefile head/net/py-gntp/distinfo Modified: head/net/py-gntp/Makefile ============================================================================== --- head/net/py-gntp/Makefile Wed Jul 3 09:32:05 2019 (r505737) +++ head/net/py-gntp/Makefile Wed Jul 3 09:32:30 2019 (r505738) @@ -1,10 +1,9 @@ # $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 @@ -13,12 +12,16 @@ COMMENT= Growl Notification Transport Protocol for Pyt 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 @@ -27,6 +30,17 @@ 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 Modified: head/net/py-gntp/distinfo ============================================================================== --- head/net/py-gntp/distinfo Wed Jul 3 09:32:05 2019 (r505737) +++ head/net/py-gntp/distinfo Wed Jul 3 09:32:30 2019 (r505738) @@ -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