pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc Add py-rst2pdf package, a tool to create PDFs...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c872e3a908e7
branches:  trunk
changeset: 359720:c872e3a908e7
user:      darcy <darcy%pkgsrc.org@localhost>
date:      Thu Mar 16 20:00:39 2017 +0000

description:
Add py-rst2pdf package, a tool to create PDFs from text.

diffstat:

 textproc/Makefile            |    3 +-
 textproc/py-rst2pdf/DESCR    |    1 +
 textproc/py-rst2pdf/Makefile |   29 ++++++
 textproc/py-rst2pdf/PLIST    |  199 +++++++++++++++++++++++++++++++++++++++++++
 textproc/py-rst2pdf/distinfo |    6 +
 5 files changed, 237 insertions(+), 1 deletions(-)

diffs (268 lines):

diff -r 89efb9794a46 -r c872e3a908e7 textproc/Makefile
--- a/textproc/Makefile Thu Mar 16 19:33:50 2017 +0000
+++ b/textproc/Makefile Thu Mar 16 20:00:39 2017 +0000
@@ -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-pytoml
 SUBDIR+=       py-rdflib
 SUBDIR+=       py-relatorio
+SUBDIR+=       py-rst2pdf
 SUBDIR+=       py-snowballstemmer
 SUBDIR+=       py-sphinx
 SUBDIR+=       py-sphinx-rtd-theme
diff -r 89efb9794a46 -r c872e3a908e7 textproc/py-rst2pdf/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-rst2pdf/DESCR Thu Mar 16 20:00:39 2017 +0000
@@ -0,0 +1,1 @@
+Generate rich, good quality PDFs from lightly marked up text files.
diff -r 89efb9794a46 -r c872e3a908e7 textproc/py-rst2pdf/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-rst2pdf/Makefile      Thu Mar 16 20:00:39 2017 +0000
@@ -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@localhost
+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 -r 89efb9794a46 -r c872e3a908e7 textproc/py-rst2pdf/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-rst2pdf/PLIST Thu Mar 16 20:00:39 2017 +0000
@@ -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 -r 89efb9794a46 -r c872e3a908e7 textproc/py-rst2pdf/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-rst2pdf/distinfo      Thu Mar 16 20:00:39 2017 +0000
@@ -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



Home | Main Index | Thread Index | Old Index