pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-rst2pdf py-rst2pdf: updated to 0.94
details: https://anonhg.NetBSD.org/pkgsrc/rev/5611328e4945
branches: trunk
changeset: 332094:5611328e4945
user: adam <adam%pkgsrc.org@localhost>
date: Wed Apr 03 15:23:24 2019 +0000
description:
py-rst2pdf: updated to 0.94
0.94:
Added: :hl_lines: code directive allows highlighting of specific lines
Added: repeat_table_rows is now supported in Sphinx
Added: scale_width is now supported for --fit-background-mode
Added: Extension metadata for Sphinx is now returned in pdfbuilder
Added: The Sphinx today config setting is now used if it is set
Changed: :start-after: will now render the next line
Changed: Updated reportlab dependency to 3.5.12 and Sphinx to 1.7.9
Changed: We no longer logging.basicConfig configuration
Changed: We now use PILLOW rather than PIL
Fixed bug in token replacement that broke tables in headers/footers
Fixed handling of empty documents, they now generate a single empty page
Fixed: :alt: option now works for plantuml extension
Fixed: :linenos_offset: now works again
Fixed: rst2pdf.createpdf.main now releases the input file handle
Fixed: CreationDate metadata shows correct date using Sphinx
Fixed: Error when using --date-invariant with newer reportlab versions
Fixed: handling of non-http/ftp URLs
Fixed: Inline :math: works again as we now use quoted attributes for HTML <img> tags
Fixed: Made literal block shrinking work again
Fixed: Removed debugging print statement when using line blocks
Fixed: Removed uniconverter from setup
Fixed: Renamed links now work
Fixed: Sphinx config setting pdf_invariant works properly now
Fixed: sphinx+rst2pdf now works with automodule directive Sphinx >= 1.4
Fixed: Using :start-after: with linenos_offset now displays the correct line number
Fixed: Using :start-at: with linenos_offset now displays the correct line number
Removed: Our own copy of smartypants. We now use the PyPI package instead
Removed: Tenjin has been switched to Jinja2
Removed: The QT4 GUI is no more
diffstat:
textproc/py-rst2pdf/Makefile | 46 +++++++++++++----------
textproc/py-rst2pdf/PLIST | 85 +++----------------------------------------
textproc/py-rst2pdf/distinfo | 10 ++--
3 files changed, 38 insertions(+), 103 deletions(-)
diffs (210 lines):
diff -r 5545f4c36fa8 -r 5611328e4945 textproc/py-rst2pdf/Makefile
--- a/textproc/py-rst2pdf/Makefile Wed Apr 03 15:12:11 2019 +0000
+++ b/textproc/py-rst2pdf/Makefile Wed Apr 03 15:23:24 2019 +0000
@@ -1,29 +1,35 @@
-# $NetBSD: Makefile,v 1.2 2018/07/03 05:03:37 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/04/03 15:23:24 adam Exp $
-DISTNAME= rst2pdf-0.93
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES= python textproc
-MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/}
+DISTNAME= rst2pdf-0.94
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python textproc
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/rst2pdf/}
+
+MAINTAINER= darcy%NetBSD.org@localhost
+HOMEPAGE= https://rst2pdf.org/
+COMMENT= Convert restructured text to PDF via reportlab
+LICENSE= mit
-MAINTAINER= darcy%NetBSD.org@localhost
-HOMEPAGE= http://rst2pdf.ralsina.me/stories/index.html
-COMMENT= Convert restructured text to PDF via reportlab
-LICENSE= mit
+DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2
+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}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+DEPENDS+= ${PYPKGPREFIX}-smartypants-[0-9]*:../../textproc/py-smartypants
-USE_LANGUAGES= # none
-PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 36 37
-REPLACE_PYTHON= rst2pdf/__init__.py
+USE_LANGUAGES= # none
-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
+PYTHON_VERSIONS_ACCEPTED= 27
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
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} rst2pdf rst2pdf-${PYVERSSUFFIX} || ${TRUE}
-.include "../../lang/python/application.mk"
+# tests not included
+do-test:
+ ${DO_NADA}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 5545f4c36fa8 -r 5611328e4945 textproc/py-rst2pdf/PLIST
--- a/textproc/py-rst2pdf/PLIST Wed Apr 03 15:12:11 2019 +0000
+++ b/textproc/py-rst2pdf/PLIST Wed Apr 03 15:23:24 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2017/03/16 20:00:39 darcy Exp $
+@comment $NetBSD: PLIST,v 1.2 2019/04/03 15:23:24 adam Exp $
bin/rst2pdf-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -18,6 +18,9 @@
${PYSITELIB}/rst2pdf/config.py
${PYSITELIB}/rst2pdf/config.pyc
${PYSITELIB}/rst2pdf/config.pyo
+${PYSITELIB}/rst2pdf/counter_off_role.py
+${PYSITELIB}/rst2pdf/counter_off_role.pyc
+${PYSITELIB}/rst2pdf/counter_off_role.pyo
${PYSITELIB}/rst2pdf/counter_role.py
${PYSITELIB}/rst2pdf/counter_role.pyc
${PYSITELIB}/rst2pdf/counter_role.pyo
@@ -66,8 +69,6 @@
${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
@@ -83,6 +84,9 @@
${PYSITELIB}/rst2pdf/nodehandlers.py
${PYSITELIB}/rst2pdf/nodehandlers.pyc
${PYSITELIB}/rst2pdf/nodehandlers.pyo
+${PYSITELIB}/rst2pdf/noop_directive.py
+${PYSITELIB}/rst2pdf/noop_directive.pyc
+${PYSITELIB}/rst2pdf/noop_directive.pyo
${PYSITELIB}/rst2pdf/oddeven_directive.py
${PYSITELIB}/rst2pdf/oddeven_directive.pyc
${PYSITELIB}/rst2pdf/oddeven_directive.pyo
@@ -92,9 +96,6 @@
${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
@@ -110,87 +111,15 @@
${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
diff -r 5545f4c36fa8 -r 5611328e4945 textproc/py-rst2pdf/distinfo
--- a/textproc/py-rst2pdf/distinfo Wed Apr 03 15:12:11 2019 +0000
+++ b/textproc/py-rst2pdf/distinfo Wed Apr 03 15:23:24 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/03/16 20:00:39 darcy Exp $
+$NetBSD: distinfo,v 1.2 2019/04/03 15:23:24 adam 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
+SHA1 (rst2pdf-0.94.tar.gz) = 3f15856abf07dcd29af9bd3eca8137d98b533492
+RMD160 (rst2pdf-0.94.tar.gz) = 61c8c07a21cd6deee252be894a6003f0de154c44
+SHA512 (rst2pdf-0.94.tar.gz) = 9666989f819fd173b14f1366faba420dc5040a9249f24641445c840d7d8a46675bb7545e2954d9e0cac128fffde764d365d9ff0e9c36d5062303733f53c30425
+Size (rst2pdf-0.94.tar.gz) = 112652 bytes
Home |
Main Index |
Thread Index |
Old Index