Index: head/textproc/py-docutils/pkg-plist =================================================================== --- head/textproc/py-docutils/pkg-plist (revision 470595) +++ head/textproc/py-docutils/pkg-plist (nonexistent) @@ -1,10 +0,0 @@ -bin/rst2html -bin/rst2latex -bin/rst2man -bin/rst2odt -bin/rst2odt_prepstyles -bin/rst2pseudoxml -bin/rst2s5 -bin/rst2xetex -bin/rst2xml -bin/rstpep2html Property changes on: head/textproc/py-docutils/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/textproc/py-docutils/Makefile =================================================================== --- head/textproc/py-docutils/Makefile (revision 470595) +++ head/textproc/py-docutils/Makefile (revision 470596) @@ -1,35 +1,38 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= docutils PORTVERSION= 0.14 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= python@FreeBSD.org COMMENT= Python Documentation Utilities LICENSE= BSD2CLAUSE GPLv3+ PD PSFL LICENSE_COMB= multi PORTSCOUT= limit:^[0-9\.]*$$ NO_ARCH= yes -USE_PYTHON= autoplist concurrent distutils + USES= python +USE_PYTHON= autoplist concurrent distutils OPTIONS_DEFINE= PYGMENTS -PYGMENTS_DESC= Syntax highlighting -PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${FLAVOR} -SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \ - rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html +PYGMENTS_DESC= Syntax highlighting +PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR} -post-install: -.for script in ${SCRIPTS} - ${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script} -.endfor +.include -.include +do-test: +.if ${PYTHON_VER} < 3 + @cd ${WRKSRC}/test && ${PYTHON_CMD} alltests.py +.else + @cd ${WRKSRC}/test3 && ${PYTHON_CMD} alltests.py +.endif + +.include