diff options
author | darcy <darcy@pkgsrc.org> | 2017-03-16 20:00:39 +0000 |
---|---|---|
committer | darcy <darcy@pkgsrc.org> | 2017-03-16 20:00:39 +0000 |
commit | 9fac2f24789ad4f89bf8d50fa8c95f86368d9cb3 (patch) | |
tree | e010e54ae31187ba87b99efe70562f88c02105af /textproc | |
parent | 98aaac23aa8bfb7ddc1c876926902ec8fe15adb4 (diff) | |
download | pkgsrc-9fac2f24789ad4f89bf8d50fa8c95f86368d9cb3.tar.gz |
Add py-rst2pdf package, a tool to create PDFs from text.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 3 | ||||
-rw-r--r-- | textproc/py-rst2pdf/DESCR | 1 | ||||
-rw-r--r-- | textproc/py-rst2pdf/Makefile | 29 | ||||
-rw-r--r-- | textproc/py-rst2pdf/PLIST | 199 | ||||
-rw-r--r-- | textproc/py-rst2pdf/distinfo | 6 |
5 files changed, 237 insertions, 1 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index e2847e109e3..da6811ab113 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.912 2017/03/15 18:43:41 bsiegert Exp $ +# $NetBSD: Makefile,v 1.913 2017/03/16 20:00:39 darcy Exp $ # COMMENT= Text processing utilities (does not include desktop publishing) @@ -763,6 +763,7 @@ SUBDIR+= py-pyquery SUBDIR+= py-pytoml SUBDIR+= py-rdflib SUBDIR+= py-relatorio +SUBDIR+= py-rst2pdf SUBDIR+= py-snowballstemmer SUBDIR+= py-sphinx SUBDIR+= py-sphinx-rtd-theme diff --git a/textproc/py-rst2pdf/DESCR b/textproc/py-rst2pdf/DESCR new file mode 100644 index 00000000000..80271689105 --- /dev/null +++ b/textproc/py-rst2pdf/DESCR @@ -0,0 +1 @@ +Generate rich, good quality PDFs from lightly marked up text files. diff --git a/textproc/py-rst2pdf/Makefile b/textproc/py-rst2pdf/Makefile new file mode 100644 index 00000000000..7071cdabe19 --- /dev/null +++ b/textproc/py-rst2pdf/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2017/03/16 20:00:39 darcy Exp $ + +DISTNAME= rst2pdf-0.93 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= python textproc +MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/} + +MAINTAINER= darcy@NetBSD.org +HOMEPAGE= http://rst2pdf.ralsina.me/stories/index.html +COMMENT= Convert restructured text to PDF via reportlab +LICENSE= mit + +USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 36 +REPLACE_PYTHON= rst2pdf/__init__.py + +DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils +DEPENDS+= ${PYPKGPREFIX}-pdfrw-[0-9]*:../../textproc/py-pdfrw +DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments +DEPENDS+= ${PYPKGPREFIX}-reportlab-[0-9]*:../../print/py-reportlab +DEPENDS+= ${PYPKGPREFIX}-pip-[0-9]*:../../devel/py-pip + +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/rst2pdf ${DESTDIR}${PREFIX}/bin/rst2pdf-${PYVERSSUFFIX} || ${TRUE} + ${MV} ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93.dev0-py2.7.egg-info ${DESTDIR}/${PREFIX}/${PYSITELIB}/rst2pdf-0.93-py2.7.egg-info + +.include "../../lang/python/application.mk" +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-rst2pdf/PLIST b/textproc/py-rst2pdf/PLIST new file mode 100644 index 00000000000..a4644580f93 --- /dev/null +++ b/textproc/py-rst2pdf/PLIST @@ -0,0 +1,199 @@ +@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:00:39 darcy Exp $ +bin/rst2pdf-${PYVERSSUFFIX} +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/entry_points.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/rst2pdf/__init__.py +${PYSITELIB}/rst2pdf/__init__.pyc +${PYSITELIB}/rst2pdf/__init__.pyo +${PYSITELIB}/rst2pdf/aafigure_directive.py +${PYSITELIB}/rst2pdf/aafigure_directive.pyc +${PYSITELIB}/rst2pdf/aafigure_directive.pyo +${PYSITELIB}/rst2pdf/basenodehandler.py +${PYSITELIB}/rst2pdf/basenodehandler.pyc +${PYSITELIB}/rst2pdf/basenodehandler.pyo +${PYSITELIB}/rst2pdf/config.py +${PYSITELIB}/rst2pdf/config.pyc +${PYSITELIB}/rst2pdf/config.pyo +${PYSITELIB}/rst2pdf/counter_role.py +${PYSITELIB}/rst2pdf/counter_role.pyc +${PYSITELIB}/rst2pdf/counter_role.pyo +${PYSITELIB}/rst2pdf/createpdf.py +${PYSITELIB}/rst2pdf/createpdf.pyc +${PYSITELIB}/rst2pdf/createpdf.pyo +${PYSITELIB}/rst2pdf/dumpstyle.py +${PYSITELIB}/rst2pdf/dumpstyle.pyc +${PYSITELIB}/rst2pdf/dumpstyle.pyo +${PYSITELIB}/rst2pdf/extensions/__init__.py +${PYSITELIB}/rst2pdf/extensions/__init__.pyc +${PYSITELIB}/rst2pdf/extensions/__init__.pyo +${PYSITELIB}/rst2pdf/extensions/dotted_toc.py +${PYSITELIB}/rst2pdf/extensions/dotted_toc.pyc +${PYSITELIB}/rst2pdf/extensions/dotted_toc.pyo +${PYSITELIB}/rst2pdf/extensions/fancytitles.py +${PYSITELIB}/rst2pdf/extensions/fancytitles.pyc +${PYSITELIB}/rst2pdf/extensions/fancytitles.pyo +${PYSITELIB}/rst2pdf/extensions/inkscape_r2p.py +${PYSITELIB}/rst2pdf/extensions/inkscape_r2p.pyc +${PYSITELIB}/rst2pdf/extensions/inkscape_r2p.pyo +${PYSITELIB}/rst2pdf/extensions/plantuml.py +${PYSITELIB}/rst2pdf/extensions/plantuml.pyc +${PYSITELIB}/rst2pdf/extensions/plantuml.pyo +${PYSITELIB}/rst2pdf/extensions/preprocess_r2p.py +${PYSITELIB}/rst2pdf/extensions/preprocess_r2p.pyc +${PYSITELIB}/rst2pdf/extensions/preprocess_r2p.pyo +${PYSITELIB}/rst2pdf/extensions/sample.py +${PYSITELIB}/rst2pdf/extensions/sample.pyc +${PYSITELIB}/rst2pdf/extensions/sample.pyo +${PYSITELIB}/rst2pdf/extensions/vectorpdf_r2p.py +${PYSITELIB}/rst2pdf/extensions/vectorpdf_r2p.pyc +${PYSITELIB}/rst2pdf/extensions/vectorpdf_r2p.pyo +${PYSITELIB}/rst2pdf/findfonts.py +${PYSITELIB}/rst2pdf/findfonts.pyc +${PYSITELIB}/rst2pdf/findfonts.pyo +${PYSITELIB}/rst2pdf/flowables.py +${PYSITELIB}/rst2pdf/flowables.pyc +${PYSITELIB}/rst2pdf/flowables.pyo +${PYSITELIB}/rst2pdf/genelements.py +${PYSITELIB}/rst2pdf/genelements.pyc +${PYSITELIB}/rst2pdf/genelements.pyo +${PYSITELIB}/rst2pdf/genpdftext.py +${PYSITELIB}/rst2pdf/genpdftext.pyc +${PYSITELIB}/rst2pdf/genpdftext.pyo +${PYSITELIB}/rst2pdf/image.py +${PYSITELIB}/rst2pdf/image.pyc +${PYSITELIB}/rst2pdf/image.pyo +${PYSITELIB}/rst2pdf/images/image-missing.jpg +${PYSITELIB}/rst2pdf/images/image-missing.png +${PYSITELIB}/rst2pdf/languages.py +${PYSITELIB}/rst2pdf/languages.pyc +${PYSITELIB}/rst2pdf/languages.pyo +${PYSITELIB}/rst2pdf/log.py +${PYSITELIB}/rst2pdf/log.pyc +${PYSITELIB}/rst2pdf/log.pyo +${PYSITELIB}/rst2pdf/math_directive.py +${PYSITELIB}/rst2pdf/math_directive.pyc +${PYSITELIB}/rst2pdf/math_directive.pyo +${PYSITELIB}/rst2pdf/math_flowable.py +${PYSITELIB}/rst2pdf/math_flowable.pyc +${PYSITELIB}/rst2pdf/math_flowable.pyo +${PYSITELIB}/rst2pdf/nodehandlers.py +${PYSITELIB}/rst2pdf/nodehandlers.pyc +${PYSITELIB}/rst2pdf/nodehandlers.pyo +${PYSITELIB}/rst2pdf/oddeven_directive.py +${PYSITELIB}/rst2pdf/oddeven_directive.pyc +${PYSITELIB}/rst2pdf/oddeven_directive.pyo +${PYSITELIB}/rst2pdf/opt_imports.py +${PYSITELIB}/rst2pdf/opt_imports.pyc +${PYSITELIB}/rst2pdf/opt_imports.pyo +${PYSITELIB}/rst2pdf/pdfbuilder.py +${PYSITELIB}/rst2pdf/pdfbuilder.pyc +${PYSITELIB}/rst2pdf/pdfbuilder.pyo +${PYSITELIB}/rst2pdf/pygments2json.py +${PYSITELIB}/rst2pdf/pygments2json.pyc +${PYSITELIB}/rst2pdf/pygments2json.pyo +${PYSITELIB}/rst2pdf/pygments2style.py +${PYSITELIB}/rst2pdf/pygments2style.pyc +${PYSITELIB}/rst2pdf/pygments2style.pyo +${PYSITELIB}/rst2pdf/pygments_code_block_directive.py +${PYSITELIB}/rst2pdf/pygments_code_block_directive.pyc +${PYSITELIB}/rst2pdf/pygments_code_block_directive.pyo +${PYSITELIB}/rst2pdf/rson.py +${PYSITELIB}/rst2pdf/rson.pyc +${PYSITELIB}/rst2pdf/rson.pyo +${PYSITELIB}/rst2pdf/sectnumlinks.py +${PYSITELIB}/rst2pdf/sectnumlinks.pyc +${PYSITELIB}/rst2pdf/sectnumlinks.pyo +${PYSITELIB}/rst2pdf/sinker.py +${PYSITELIB}/rst2pdf/sinker.pyc +${PYSITELIB}/rst2pdf/sinker.pyo +${PYSITELIB}/rst2pdf/smartypants.py +${PYSITELIB}/rst2pdf/smartypants.pyc +${PYSITELIB}/rst2pdf/smartypants.pyo +${PYSITELIB}/rst2pdf/sphinxnodes.py +${PYSITELIB}/rst2pdf/sphinxnodes.pyc +${PYSITELIB}/rst2pdf/sphinxnodes.pyo +${PYSITELIB}/rst2pdf/styles.py +${PYSITELIB}/rst2pdf/styles.pyc +${PYSITELIB}/rst2pdf/styles.pyo +${PYSITELIB}/rst2pdf/styles/11x17.style +${PYSITELIB}/rst2pdf/styles/a0.style +${PYSITELIB}/rst2pdf/styles/a1-landscape.style +${PYSITELIB}/rst2pdf/styles/a1.style +${PYSITELIB}/rst2pdf/styles/a2-landscape.style +${PYSITELIB}/rst2pdf/styles/a2.style +${PYSITELIB}/rst2pdf/styles/a3-landscape.style +${PYSITELIB}/rst2pdf/styles/a3.style +${PYSITELIB}/rst2pdf/styles/a4-landscape.style +${PYSITELIB}/rst2pdf/styles/a4.style +${PYSITELIB}/rst2pdf/styles/a5-landscape.style +${PYSITELIB}/rst2pdf/styles/a5.style +${PYSITELIB}/rst2pdf/styles/a6-landscape.style +${PYSITELIB}/rst2pdf/styles/a6.style +${PYSITELIB}/rst2pdf/styles/autumn.style +${PYSITELIB}/rst2pdf/styles/b0.style +${PYSITELIB}/rst2pdf/styles/b1-landscape.style +${PYSITELIB}/rst2pdf/styles/b1.style +${PYSITELIB}/rst2pdf/styles/b2-landscape.style +${PYSITELIB}/rst2pdf/styles/b2.style +${PYSITELIB}/rst2pdf/styles/b3-landscape.style +${PYSITELIB}/rst2pdf/styles/b3.style +${PYSITELIB}/rst2pdf/styles/b4-landscape.style +${PYSITELIB}/rst2pdf/styles/b4.style +${PYSITELIB}/rst2pdf/styles/b5-landscape.style +${PYSITELIB}/rst2pdf/styles/b5.style +${PYSITELIB}/rst2pdf/styles/b6-landscape.style +${PYSITELIB}/rst2pdf/styles/b6.style +${PYSITELIB}/rst2pdf/styles/borland.style +${PYSITELIB}/rst2pdf/styles/bw.style +${PYSITELIB}/rst2pdf/styles/colorful.style +${PYSITELIB}/rst2pdf/styles/debugtables.style +${PYSITELIB}/rst2pdf/styles/default.style +${PYSITELIB}/rst2pdf/styles/dejavu.style +${PYSITELIB}/rst2pdf/styles/double-sided.style +${PYSITELIB}/rst2pdf/styles/eightpoint.style +${PYSITELIB}/rst2pdf/styles/emacs.style +${PYSITELIB}/rst2pdf/styles/freetype-sans.style +${PYSITELIB}/rst2pdf/styles/freetype-serif.style +${PYSITELIB}/rst2pdf/styles/friendly.style +${PYSITELIB}/rst2pdf/styles/fruity.style +${PYSITELIB}/rst2pdf/styles/kerning.style +${PYSITELIB}/rst2pdf/styles/legal.style +${PYSITELIB}/rst2pdf/styles/letter-landscape.style +${PYSITELIB}/rst2pdf/styles/letter.style +${PYSITELIB}/rst2pdf/styles/manni.style +${PYSITELIB}/rst2pdf/styles/monokai.style +${PYSITELIB}/rst2pdf/styles/murphy.style +${PYSITELIB}/rst2pdf/styles/native.style +${PYSITELIB}/rst2pdf/styles/no-compact-lists.style +${PYSITELIB}/rst2pdf/styles/pastie.style +${PYSITELIB}/rst2pdf/styles/perldoc.style +${PYSITELIB}/rst2pdf/styles/serif.style +${PYSITELIB}/rst2pdf/styles/sphinx.style +${PYSITELIB}/rst2pdf/styles/styles.style +${PYSITELIB}/rst2pdf/styles/tango.style +${PYSITELIB}/rst2pdf/styles/tenpoint.style +${PYSITELIB}/rst2pdf/styles/trac.style +${PYSITELIB}/rst2pdf/styles/twelvepoint.style +${PYSITELIB}/rst2pdf/styles/twocolumn.style +${PYSITELIB}/rst2pdf/styles/vs.style +${PYSITELIB}/rst2pdf/svgimage.py +${PYSITELIB}/rst2pdf/svgimage.pyc +${PYSITELIB}/rst2pdf/svgimage.pyo +${PYSITELIB}/rst2pdf/templates/cover.tmpl +${PYSITELIB}/rst2pdf/templates/sphinxcover.tmpl +${PYSITELIB}/rst2pdf/tenjin.py +${PYSITELIB}/rst2pdf/tenjin.pyc +${PYSITELIB}/rst2pdf/tenjin.pyo +${PYSITELIB}/rst2pdf/uniconvsaver.py +${PYSITELIB}/rst2pdf/uniconvsaver.pyc +${PYSITELIB}/rst2pdf/uniconvsaver.pyo +${PYSITELIB}/rst2pdf/utils.py +${PYSITELIB}/rst2pdf/utils.pyc +${PYSITELIB}/rst2pdf/utils.pyo +${PYSITELIB}/rst2pdf/writer.py +${PYSITELIB}/rst2pdf/writer.pyc +${PYSITELIB}/rst2pdf/writer.pyo diff --git a/textproc/py-rst2pdf/distinfo b/textproc/py-rst2pdf/distinfo new file mode 100644 index 00000000000..caebebbb0f2 --- /dev/null +++ b/textproc/py-rst2pdf/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/03/16 20:00:39 darcy Exp $ + +SHA1 (rst2pdf-0.93.tar.gz) = 2172a10262bc390fea07c7a69241eb4a375c5e0b +RMD160 (rst2pdf-0.93.tar.gz) = c155440e9ca857a94a5235342959718ebf9c5c77 +SHA512 (rst2pdf-0.93.tar.gz) = 75423b75504d31995d449f4e90fa73ce755bf167d18a38f42f73fe6d76b4d0e5c38bc28cd2cce5a3e485a0a8c5529667d689dc4b41a125c14c9e023b7d6ff7d3 +Size (rst2pdf-0.93.tar.gz) = 1301775 bytes |