File:
[cvs.NetBSD.org] /
pkgsrc /
textproc /
py-docutils /
Makefile
Revision
1.52:
download - view:
text,
annotated -
select for diffs
Mon Jul 13 20:05:12 2020 UTC (4 years, 9 months ago) by
wiz
Branches:
MAIN
CVS tags:
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
HEAD
*: reset maintainer for darcy
# $NetBSD: Makefile,v 1.52 2020/07/13 20:05:12 wiz Exp $
DISTNAME= docutils-0.16
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=d/docutils/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://docutils.sourceforge.io/
COMMENT= Python tool to generate documents
LICENSE= public-domain AND 2-clause-bsd
DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman
USE_LANGUAGES= # none
REPLACE_PYTHON+= docutils/utils/code_analyzer.py
REPLACE_PYTHON+= docutils/utils/error_reporting.py
REPLACE_PYTHON+= docutils/utils/math/latex2mathml.py
REPLACE_PYTHON+= docutils/utils/math/math2html.py
REPLACE_PYTHON+= docutils/utils/punctuation_chars.py
REPLACE_PYTHON+= docutils/utils/smartquotes.py
REPLACE_PYTHON+= docutils/writers/xetex/__init__.py
post-install:
.for bin in rst2html rst2html4 rst2html5 rst2latex rst2man rst2odt \
rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html
cd ${DESTDIR}${PREFIX}/bin && \
${MV} ${bin}.py ${bin}-${PYVERSSUFFIX} || ${TRUE}
.endfor
do-test:
cd ${WRKSRC} && ${PYTHONBIN} test/alltests.py
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>