Date: Wed, 24 Jul 2013 17:42:10 +0000 (UTC) From: Olivier Duchateau <olivierd@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r323613 - head/textproc/py-docutils Message-ID: <201307241742.r6OHgAGX059353@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: olivierd Date: Wed Jul 24 17:42:09 2013 New Revision: 323613 URL: http://svnweb.freebsd.org/changeset/ports/323613 Log: - Update to 0.11 - Add new option, PYGMENTS (syntax highlighting) to enable code directive - Fix symlinks during reinstall stage [1] - Fix pkg-plist with Python3 [2] PR: 179273 [1] PR: 180339 [2] Submitted by: nemysis [1] Reviewed by: gblach@ [2] Modified: head/textproc/py-docutils/Makefile head/textproc/py-docutils/distinfo head/textproc/py-docutils/pkg-plist Modified: head/textproc/py-docutils/Makefile ============================================================================== --- head/textproc/py-docutils/Makefile Wed Jul 24 17:26:21 2013 (r323612) +++ head/textproc/py-docutils/Makefile Wed Jul 24 17:42:09 2013 (r323613) @@ -3,7 +3,7 @@ # PORTNAME= docutils -PORTVERSION= 0.10 +PORTVERSION= 0.11 CATEGORIES= textproc python MASTER_SITES= SF \ CHEESESHOP @@ -15,13 +15,29 @@ COMMENT= Python Documentation Utilities USE_PYTHON= yes USE_PYDISTUTILS= yes +OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options +OPTIONS_DEFINE= PYGMENTS +PYGMENTS_DESC= Syntax highlighting + BIN_SCRIPTS= rst2html.py rst2s5.py rst2latex.py rst2xetex.py \ rst2man.py rst2xml.py rst2pseudoxml.py rstpep2html.py \ rst2odt.py rst2odt_prepstyles.py +.include <bsd.port.options.mk> + +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MPYGMENTS} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:${PORTSDIR}/textproc/py-pygments +.endif + +.if ${PYTHON_REL} >= 320 +.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" +.endif + post-install: .for script in ${BIN_SCRIPTS} - @cd ${PREFIX}/bin && ${LN} -s ${script} ${script:C/\.py//} + @cd ${PREFIX}/bin && ${LN} -sf ${script} ${script:C/\.py//} .endfor -.include <bsd.port.mk> +.include <bsd.port.post.mk> Modified: head/textproc/py-docutils/distinfo ============================================================================== --- head/textproc/py-docutils/distinfo Wed Jul 24 17:26:21 2013 (r323612) +++ head/textproc/py-docutils/distinfo Wed Jul 24 17:42:09 2013 (r323613) @@ -1,2 +1,2 @@ -SHA256 (docutils-0.10.tar.gz) = 370624e61b6773da2f2fb17cc2a4eaea4bb596c3585d13f75ff193c1c738603e -SIZE (docutils-0.10.tar.gz) = 1602552 +SHA256 (docutils-0.11.tar.gz) = 9af4166adf364447289c5c697bb83c52f1d6f57e77849abcccd6a4a18a5e7ec9 +SIZE (docutils-0.11.tar.gz) = 1611755 Modified: head/textproc/py-docutils/pkg-plist ============================================================================== --- head/textproc/py-docutils/pkg-plist Wed Jul 24 17:26:21 2013 (r323612) +++ head/textproc/py-docutils/pkg-plist Wed Jul 24 17:42:09 2013 (r323613) @@ -48,6 +48,9 @@ bin/rstpep2html.py %%PYTHON_SITELIBDIR%%/docutils/languages/cs.py %%PYTHON_SITELIBDIR%%/docutils/languages/cs.pyc %%PYTHON_SITELIBDIR%%/docutils/languages/cs.pyo +%%PYTHON_SITELIBDIR%%/docutils/languages/da.py +%%PYTHON_SITELIBDIR%%/docutils/languages/da.pyc +%%PYTHON_SITELIBDIR%%/docutils/languages/da.pyo %%PYTHON_SITELIBDIR%%/docutils/languages/de.py %%PYTHON_SITELIBDIR%%/docutils/languages/de.pyc %%PYTHON_SITELIBDIR%%/docutils/languages/de.pyo @@ -190,6 +193,9 @@ bin/rstpep2html.py %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/cs.py %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/cs.pyc %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/cs.pyo +%%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/da.py +%%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/da.pyc +%%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/da.pyo %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/de.py %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/de.pyc %%PYTHON_SITELIBDIR%%/docutils/parsers/rst/languages/de.pyo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307241742.r6OHgAGX059353>