svn commit: r470597 - head/textproc/py-docutils

Kubilay Kocak koobs at FreeBSD.org
Tue May 22 06:24:11 UTC 2018


Author: koobs
Date: Tue May 22 06:24:09 2018
New Revision: 470597
URL: https://svnweb.freebsd.org/changeset/ports/470597

Log:
  textproc/py-rst2html5: Revert r470596
  
  A number of ports currently refer to the unsuffixed versions of docutils tools
  in their *_DEPENDS lines.
  
  Reported by:	antoine (portmgr)

Added:
  head/textproc/py-docutils/pkg-plist
     - copied unchanged from r470595, head/textproc/py-docutils/pkg-plist
Modified:
  head/textproc/py-docutils/Makefile

Modified: head/textproc/py-docutils/Makefile
==============================================================================
--- head/textproc/py-docutils/Makefile	Tue May 22 05:29:07 2018	(r470596)
+++ head/textproc/py-docutils/Makefile	Tue May 22 06:24:09 2018	(r470597)
@@ -3,7 +3,7 @@
 
 PORTNAME=	docutils
 PORTVERSION=	0.14
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	textproc python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,22 +17,19 @@ LICENSE_COMB=	multi
 PORTSCOUT=	limit:^[0-9\.]*$$
 
 NO_ARCH=	yes
-
-USES=		python
 USE_PYTHON=	autoplist concurrent distutils
+USES=		python
 
 OPTIONS_DEFINE=	PYGMENTS
+PYGMENTS_DESC=	Syntax highlighting
+PYGMENTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${FLAVOR}
 
-PYGMENTS_DESC=		Syntax highlighting
-PYGMENTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pygments>=1.6:textproc/py-pygments@${PY_FLAVOR}
+SCRIPTS=	rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \
+		rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
 
-.include <bsd.port.pre.mk>
+post-install:
+.for script in ${SCRIPTS}
+	${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script}
+.endfor
 
-do-test:
-.if ${PYTHON_VER} < 3
-	@cd ${WRKSRC}/test && ${PYTHON_CMD} alltests.py
-.else
-	@cd ${WRKSRC}/test3 && ${PYTHON_CMD} alltests.py
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Copied: head/textproc/py-docutils/pkg-plist (from r470595, head/textproc/py-docutils/pkg-plist)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-docutils/pkg-plist	Tue May 22 06:24:09 2018	(r470597, copy of r470595, head/textproc/py-docutils/pkg-plist)
@@ -0,0 +1,10 @@
+bin/rst2html
+bin/rst2latex
+bin/rst2man
+bin/rst2odt
+bin/rst2odt_prepstyles
+bin/rst2pseudoxml
+bin/rst2s5
+bin/rst2xetex
+bin/rst2xml
+bin/rstpep2html


More information about the svn-ports-head mailing list