Tobias C. Berner 51c8c9bdc2 textproc/py-docutils: revert update to 0.18 (unbreak devel/cmake)
- this breaks devel/cmake

[ 39%] Building CXX object Source/CMakeFiles/CMakeLib.dir/cmPropertyDefinition.cxx.o
--- Utilities/Sphinx/doc_format_man ---
*** [Utilities/Sphinx/doc_format_man] Error code 1

make[3]: stopped in /wrkdirs/usr/ports/devel/cmake/work/cmake-3.21.4
1 error

This reverts commit dc8aa7c1129a911155ec93a2dd61fc1591c197b7.
2021-11-01 06:29:12 +01:00

40 lines
886 B
Makefile

# Created by: ijliao
PORTNAME= docutils
PORTVERSION= 0.17.1
PORTEPOCH= 1
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
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTSCOUT= limit:^[0-9\.]*$$
OPTIONS_DEFINE= PYGMENTS
PYGMENTS_DESC= Syntax highlighting
PYGMENTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR}
SCRIPTS= rst2html rst2latex rst2man rst2odt rst2odt_prepstyles \
rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
post-install:
.for script in ${SCRIPTS}
${LN} -s ${script}.py-${PYTHON_VER} ${STAGEDIR}${PREFIX}/bin/${script}
.endfor
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} test/alltests.py --verbose
.include <bsd.port.mk>