From owner-svn-ports-branches@freebsd.org Fri Dec 20 10:21:48 2019 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9D38B1D55A1; Fri, 20 Dec 2019 10:21:48 +0000 (UTC) (envelope-from koobs@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 47fPtN3fMqz3JYL; Fri, 20 Dec 2019 10:21:48 +0000 (UTC) (envelope-from koobs@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 78898255C4; Fri, 20 Dec 2019 10:21:48 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBKALmlM003954; Fri, 20 Dec 2019 10:21:48 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBKALmmG003953; Fri, 20 Dec 2019 10:21:48 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201912201021.xBKALmmG003953@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Fri, 20 Dec 2019 10:21:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r520496 - in branches/2019Q4/textproc/py-genshi: . files X-SVN-Group: ports-branches X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in branches/2019Q4/textproc/py-genshi: . files X-SVN-Commit-Revision: 520496 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Dec 2019 10:21:48 -0000 Author: koobs Date: Fri Dec 20 10:21:47 2019 New Revision: 520496 URL: https://svnweb.freebsd.org/changeset/ports/520496 Log: MFH: r520212 textproc/py-genshi: Update to 0.7.3 Genshi 0.7 doesn't support Python 3.5+, but the port currently allows it to be built with any Python version. This doesn't affect the build, but produces a broken runtime, including for all Genshi dependents: Genshi (0.7) tests: 2.7: Ran 854 tests in 3.623s - FAILED (failures=1) 3.5: Ran 858 tests in 3.607s - FAILED (failures=4, errors=34) 3.6: Ran 858 tests in 3.610s - FAILED (failures=4, errors=34) 3.7: Ran 858 tests in 3.313s - FAILED (failures=11, errors=91) 3.8: Ran 858 tests in 3.094s - FAILED (failures=32, errors=359) Genshi added 3.5+ support in subsequent versions [1]: 0.7.2: Add support for Python 3.8. 0.7.1: Add support for Python 3.5, 3.6 and 3.7 Given Genshi 0.7 -> 0.7.3 involves only additional Python version support and bugfix-only changes, this change updates the port to 0.7.3, instead of restricting (correctly) its use to USES=python:-3.4, and is intended to be merged to the quarterly branch accordingly. While I'm here: - Add test target to encourage and ease future QA - Strip speedup shared library on Python versions it builds in - Remove backported patch to setup.py (now in this release) - Use CHEESESHOP and update COMMENT according to Python policies Genshi (0.7.3) QA tests: 2.7: Ran 861 tests in 3.626s - OK 3.5: Ran 867 tests in 3.561s - OK 3.6: Ran 867 tests in 3.540s - OK 3.7: Ran 867 tests in 3.268s - OK 3.8: Ran 867 tests in 3.267s - OK [1] https://github.com/edgewall/genshi/blob/0.7.3/ChangeLog Approved by: portmgr (blanket(s): runtime bugfix, ports (python) compliance) Approved by: ports-secteam (blanket(s): runtime bugfix, bugfix release) Deleted: branches/2019Q4/textproc/py-genshi/files/ Modified: branches/2019Q4/textproc/py-genshi/Makefile branches/2019Q4/textproc/py-genshi/distinfo Directory Properties: branches/2019Q4/ (props changed) Modified: branches/2019Q4/textproc/py-genshi/Makefile ============================================================================== --- branches/2019Q4/textproc/py-genshi/Makefile Fri Dec 20 10:16:45 2019 (r520495) +++ branches/2019Q4/textproc/py-genshi/Makefile Fri Dec 20 10:21:47 2019 (r520496) @@ -2,24 +2,35 @@ # $FreeBSD$ PORTNAME= Genshi -PORTVERSION= 0.7 -PORTREVISION= 2 -#PORTEPOCH= 0 +PORTVERSION= 0.7.3 CATEGORIES= textproc www python -MASTER_SITES= http://ftp.edgewall.com/pub/${PORTNAME:tl}/ +MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org -COMMENT= Python toolkit for stream-based generation of output for the web +COMMENT= Toolkit for generation of output for the web LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING +USES= python +USE_PYTHON= distutils autoplist + OPTIONS_DEFINE= BABEL BABEL_DESC= I18n support through the Babel plugin -USES= python -USE_PYTHON= distutils autoplist +BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.8:devel/py-babel@${PY_FLAVOR} -BABEL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Babel>=0.9.6:devel/py-babel@${PY_FLAVOR} +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test -.include +.include + +.if ${PYTHON_VER} < 3.3 +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/genshi/*.so +.else +NO_ARCH= yes +.endif + +.include Modified: branches/2019Q4/textproc/py-genshi/distinfo ============================================================================== --- branches/2019Q4/textproc/py-genshi/distinfo Fri Dec 20 10:16:45 2019 (r520495) +++ branches/2019Q4/textproc/py-genshi/distinfo Fri Dec 20 10:21:47 2019 (r520496) @@ -1,2 +1,3 @@ -SHA256 (Genshi-0.7.tar.gz) = 1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352 -SIZE (Genshi-0.7.tar.gz) = 491579 +TIMESTAMP = 1576467154 +SHA256 (Genshi-0.7.3.tar.gz) = 7933c95151d7dd2124a2b4c8dd85bb6aec881ca17c0556da0b40e56434b313a0 +SIZE (Genshi-0.7.3.tar.gz) = 271238