From owner-svn-ports-all@freebsd.org Tue May 22 05:15:29 2018 Return-Path: Delivered-To: svn-ports-all@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 6960CEE6F12; Tue, 22 May 2018 05:15:29 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF97D834AE; Tue, 22 May 2018 05:15:28 +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 CCEEB7AA4; Tue, 22 May 2018 05:15:28 +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 w4M5FSxD056858; Tue, 22 May 2018 05:15:28 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w4M5FScf056857; Tue, 22 May 2018 05:15:28 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201805220515.w4M5FScf056857@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Tue, 22 May 2018 05:15:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r470594 - in head/textproc/py-rst2html5: . files X-SVN-Group: ports-head X-SVN-Commit-Author: koobs X-SVN-Commit-Paths: in head/textproc/py-rst2html5: . files X-SVN-Commit-Revision: 470594 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 05:15:29 -0000 Author: koobs Date: Tue May 22 05:15:28 2018 New Revision: 470594 URL: https://svnweb.freebsd.org/changeset/ports/470594 Log: textproc/py-rst2html: Fix conflict with textproc/py-docutils docutils 0.13.1 release included a new rst2html5 frontend, adding rst2html5{.py} to LOCALBASE/bin. This conflicts with files already packages with textproc/py-rst2html [1][2], resulting in a packging error. Also affected (not currently packaged in FreeBSD Ports), is the rst2html5-tools PyPI package [2]. Rename the conflicting script accordingly. While I'm here: - Fix *_DEPENDS versions to match upstream - Remove unecessary limit to Python 2.x - Enable concurrent installation [1] https://bitbucket.org/andre_felipe_dias/rst2html5/issues/27/ [2] https://github.com/getnikola/nikola/issues/2657 [3] https://github.com/marianoguerra/rst2html5/issues/87 PR: 228414 Reported by: roflik (via IRC) Approved by: koobs (python, maintainer) MFH: 2018Q2 Added: head/textproc/py-rst2html5/files/ head/textproc/py-rst2html5/files/patch-setup.py (contents, props changed) Modified: head/textproc/py-rst2html5/Makefile Modified: head/textproc/py-rst2html5/Makefile ============================================================================== --- head/textproc/py-rst2html5/Makefile Tue May 22 04:46:00 2018 (r470593) +++ head/textproc/py-rst2html5/Makefile Tue May 22 05:15:28 2018 (r470594) @@ -11,13 +11,15 @@ MAINTAINER= python@FreeBSD.org COMMENT= Produces HTML5 documents from reStructuredText sources LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pygments>=2.1:textproc/py-pygments@${FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7:textproc/py-genshi@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=2.0.2:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}docutils>=0.12:textproc/py-docutils@${PY_FLAVOR} -USES= python:2.7 -USE_PYTHON= distutils autoplist +USES= python +USE_PYTHON= distutils concurrent autoplist + NO_ARCH= yes .include Added: head/textproc/py-rst2html5/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-rst2html5/files/patch-setup.py Tue May 22 05:15:28 2018 (r470594) @@ -0,0 +1,19 @@ +# Conflicts with docutils >-= 0.13.1 +# 1d6174076454 doesn't actually resolve the (file) conflict +# https://bitbucket.org/andre_felipe_dias/rst2html5/issues/27/ +# https://github.com/getnikola/nikola/issues/2657 +# https://github.com/marianoguerra/rst2html5/issues/87 + +--- setup.py.orig 2018-05-22 02:47:00 UTC ++++ setup.py +@@ -51,8 +51,8 @@ setup( + include_package_data=True, + entry_points={ + 'console_scripts': [ +- 'rst2html5 = rst2html5_:main', +- 'rst2html5.py = rst2html5_:main', # overrides docutils' rst2html5.py ++ 'rst2html5-rst2html5 = rst2html5_:main', ++ 'rst2html5-rst2html5.py = rst2html5_:main', # overrides docutils' rst2html5.py + ], + }, + )