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.99



details:   https://anonhg.NetBSD.org/pkgsrc/rev/43bb7265b15f
branches:  trunk
changeset: 378983:43bb7265b15f
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue May 10 07:21:45 2022 +0000

description:
py-rst2pdf: updated to 0.99

0.99 (2022-01-08)

Added: Python 3.9 & 3.10 are now supported
Added: Sphinx 4 is now supported.
Added: Can now set background images using PageBreak.
Added: Can now set multiple style names in the class directive
Added: pdf_smartquotes option is now supported with Sphinx builds
Added: Add support for styling separations.
Changed: Outline entries that are deeper than the ToC are now collapsed
Changed: math directive updated to support latest matplotlib
Changed: the --very-verbose option provides more information when things go wrong.
Changed: The default stylesheet has been improved. Use the rst2pdf-0.9 stylesheet to apply the previous default as per the "Migrating to the New Default Stylesheet" section of the manual. Also, the 
twoColumn style is no longer part of the default styles and is now a separate style. Add -s twocolumn to apply it or, for Sphinx add pdf_stylesheets = ['twocolumn']
Changed: Stylesheets are now in YAML. Migrate to the new format using python -m rst2pdf.style2yaml as per the "Migrating Stylesheet Format" section of the manual.
Fixed: An imagine that is too tall in a table cell is now resized to fit.
Fixed: rst2pdf now writes to stdout again
Fixed: Ensure table columns are wide enough for use
Fixed: Better error messages for malformed RST
Fixed: The Sphinx versionadded & versionchanged directives work again
Fixed: Hyperlinks with embedded internal link aliases no longer crash.
Fixed: A more sensible error message is displayed when importing an extension fails
Fixed: If rst2pdf errors, it should now return a non-zero status code.
Fixed: Various documentation improvements
Fixed: Addressed regular expression FutureWarning.
Removed: Documentation related to kerning has been removed as it depended on word-axe which is longer

diffstat:

 textproc/py-rst2pdf/Makefile |    5 +-
 textproc/py-rst2pdf/PLIST    |  166 ++++++++++++++++++++++--------------------
 textproc/py-rst2pdf/distinfo |    8 +-
 3 files changed, 92 insertions(+), 87 deletions(-)

diffs (217 lines):

diff -r ade70f8c6599 -r 43bb7265b15f textproc/py-rst2pdf/Makefile
--- a/textproc/py-rst2pdf/Makefile      Tue May 10 07:07:37 2022 +0000
+++ b/textproc/py-rst2pdf/Makefile      Tue May 10 07:21:45 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:26 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2022/05/10 07:21:45 adam Exp $
 
-DISTNAME=      rst2pdf-0.98
+DISTNAME=      rst2pdf-0.99
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
 CATEGORIES=    textproc python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=r/rst2pdf/}
 
diff -r ade70f8c6599 -r 43bb7265b15f textproc/py-rst2pdf/PLIST
--- a/textproc/py-rst2pdf/PLIST Tue May 10 07:07:37 2022 +0000
+++ b/textproc/py-rst2pdf/PLIST Tue May 10 07:21:45 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2020/10/21 06:58:09 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2022/05/10 07:21:45 adam Exp $
 bin/rst2pdf-${PYVERSSUFFIX}
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -27,6 +27,9 @@
 ${PYSITELIB}/rst2pdf/directives/code_block.py
 ${PYSITELIB}/rst2pdf/directives/code_block.pyc
 ${PYSITELIB}/rst2pdf/directives/code_block.pyo
+${PYSITELIB}/rst2pdf/directives/contents.py
+${PYSITELIB}/rst2pdf/directives/contents.pyc
+${PYSITELIB}/rst2pdf/directives/contents.pyo
 ${PYSITELIB}/rst2pdf/directives/noop.py
 ${PYSITELIB}/rst2pdf/directives/noop.pyc
 ${PYSITELIB}/rst2pdf/directives/noop.pyo
@@ -113,88 +116,91 @@
 ${PYSITELIB}/rst2pdf/sphinxnodes.py
 ${PYSITELIB}/rst2pdf/sphinxnodes.pyc
 ${PYSITELIB}/rst2pdf/sphinxnodes.pyo
+${PYSITELIB}/rst2pdf/style2yaml.py
+${PYSITELIB}/rst2pdf/style2yaml.pyc
+${PYSITELIB}/rst2pdf/style2yaml.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/abap.style
-${PYSITELIB}/rst2pdf/styles/algol.style
-${PYSITELIB}/rst2pdf/styles/algol_nu.style
-${PYSITELIB}/rst2pdf/styles/arduino.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/igor.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/lovelace.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/paraiso-dark.style
-${PYSITELIB}/rst2pdf/styles/paraiso-light.style
-${PYSITELIB}/rst2pdf/styles/pastie.style
-${PYSITELIB}/rst2pdf/styles/perldoc.style
-${PYSITELIB}/rst2pdf/styles/rainbow_dash.style
-${PYSITELIB}/rst2pdf/styles/rrt.style
-${PYSITELIB}/rst2pdf/styles/sas.style
-${PYSITELIB}/rst2pdf/styles/serif.style
-${PYSITELIB}/rst2pdf/styles/solarized-dark.style
-${PYSITELIB}/rst2pdf/styles/solarized-light.style
-${PYSITELIB}/rst2pdf/styles/sphinx.style
-${PYSITELIB}/rst2pdf/styles/stata-dark.style
-${PYSITELIB}/rst2pdf/styles/stata-light.style
-${PYSITELIB}/rst2pdf/styles/stata.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/vim.style
-${PYSITELIB}/rst2pdf/styles/vs.style
-${PYSITELIB}/rst2pdf/styles/xcode.style
+${PYSITELIB}/rst2pdf/styles/11x17.yaml
+${PYSITELIB}/rst2pdf/styles/a0.yaml
+${PYSITELIB}/rst2pdf/styles/a1-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a1.yaml
+${PYSITELIB}/rst2pdf/styles/a2-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a2.yaml
+${PYSITELIB}/rst2pdf/styles/a3-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a3.yaml
+${PYSITELIB}/rst2pdf/styles/a4-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a4.yaml
+${PYSITELIB}/rst2pdf/styles/a5-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a5.yaml
+${PYSITELIB}/rst2pdf/styles/a6-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/a6.yaml
+${PYSITELIB}/rst2pdf/styles/abap.yaml
+${PYSITELIB}/rst2pdf/styles/algol.yaml
+${PYSITELIB}/rst2pdf/styles/algol_nu.yaml
+${PYSITELIB}/rst2pdf/styles/arduino.yaml
+${PYSITELIB}/rst2pdf/styles/autumn.yaml
+${PYSITELIB}/rst2pdf/styles/b0.yaml
+${PYSITELIB}/rst2pdf/styles/b1-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b1.yaml
+${PYSITELIB}/rst2pdf/styles/b2-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b2.yaml
+${PYSITELIB}/rst2pdf/styles/b3-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b3.yaml
+${PYSITELIB}/rst2pdf/styles/b4-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b4.yaml
+${PYSITELIB}/rst2pdf/styles/b5-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b5.yaml
+${PYSITELIB}/rst2pdf/styles/b6-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/b6.yaml
+${PYSITELIB}/rst2pdf/styles/borland.yaml
+${PYSITELIB}/rst2pdf/styles/bw.yaml
+${PYSITELIB}/rst2pdf/styles/colorful.yaml
+${PYSITELIB}/rst2pdf/styles/debugtables.yaml
+${PYSITELIB}/rst2pdf/styles/default.yaml
+${PYSITELIB}/rst2pdf/styles/dejavu.yaml
+${PYSITELIB}/rst2pdf/styles/double-sided.yaml
+${PYSITELIB}/rst2pdf/styles/eightpoint.yaml
+${PYSITELIB}/rst2pdf/styles/emacs.yaml
+${PYSITELIB}/rst2pdf/styles/freetype-sans.yaml
+${PYSITELIB}/rst2pdf/styles/freetype-serif.yaml
+${PYSITELIB}/rst2pdf/styles/friendly.yaml
+${PYSITELIB}/rst2pdf/styles/fruity.yaml
+${PYSITELIB}/rst2pdf/styles/igor.yaml
+${PYSITELIB}/rst2pdf/styles/legal.yaml
+${PYSITELIB}/rst2pdf/styles/letter-landscape.yaml
+${PYSITELIB}/rst2pdf/styles/letter.yaml
+${PYSITELIB}/rst2pdf/styles/lovelace.yaml
+${PYSITELIB}/rst2pdf/styles/manni.yaml
+${PYSITELIB}/rst2pdf/styles/monokai.yaml
+${PYSITELIB}/rst2pdf/styles/murphy.yaml
+${PYSITELIB}/rst2pdf/styles/native.yaml
+${PYSITELIB}/rst2pdf/styles/no-compact-lists.yaml
+${PYSITELIB}/rst2pdf/styles/paraiso-dark.yaml
+${PYSITELIB}/rst2pdf/styles/paraiso-light.yaml
+${PYSITELIB}/rst2pdf/styles/pastie.yaml
+${PYSITELIB}/rst2pdf/styles/perldoc.yaml
+${PYSITELIB}/rst2pdf/styles/rainbow_dash.yaml
+${PYSITELIB}/rst2pdf/styles/rrt.yaml
+${PYSITELIB}/rst2pdf/styles/rst2pdf-0-9.yaml
+${PYSITELIB}/rst2pdf/styles/sas.yaml
+${PYSITELIB}/rst2pdf/styles/serif.yaml
+${PYSITELIB}/rst2pdf/styles/solarized-dark.yaml
+${PYSITELIB}/rst2pdf/styles/solarized-light.yaml
+${PYSITELIB}/rst2pdf/styles/sphinx.yaml
+${PYSITELIB}/rst2pdf/styles/stata-dark.yaml
+${PYSITELIB}/rst2pdf/styles/stata-light.yaml
+${PYSITELIB}/rst2pdf/styles/stata.yaml
+${PYSITELIB}/rst2pdf/styles/styles.yaml
+${PYSITELIB}/rst2pdf/styles/tango.yaml
+${PYSITELIB}/rst2pdf/styles/tenpoint.yaml
+${PYSITELIB}/rst2pdf/styles/trac.yaml
+${PYSITELIB}/rst2pdf/styles/twelvepoint.yaml
+${PYSITELIB}/rst2pdf/styles/twocolumn.yaml
+${PYSITELIB}/rst2pdf/styles/vim.yaml
+${PYSITELIB}/rst2pdf/styles/vs.yaml
+${PYSITELIB}/rst2pdf/styles/xcode.yaml
 ${PYSITELIB}/rst2pdf/svgimage.py
 ${PYSITELIB}/rst2pdf/svgimage.pyc
 ${PYSITELIB}/rst2pdf/svgimage.pyo
diff -r ade70f8c6599 -r 43bb7265b15f textproc/py-rst2pdf/distinfo
--- a/textproc/py-rst2pdf/distinfo      Tue May 10 07:07:37 2022 +0000
+++ b/textproc/py-rst2pdf/distinfo      Tue May 10 07:21:45 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2021/10/26 11:23:12 nia Exp $
+$NetBSD: distinfo,v 1.9 2022/05/10 07:21:45 adam Exp $
 
-BLAKE2s (rst2pdf-0.98.tar.gz) = 81f5a3067fe1df52017c0efabf1ad7da68d1dddff395c51c12ea36c17b413ea7
-SHA512 (rst2pdf-0.98.tar.gz) = f8fcc269139e1d163fc21a5f92262c1e106b98c8807d45f3b53f9e9164fa667e3508bfe7ca7fd100e7f60e4105980c15dedfe546f0a81d1cc02b3a24b8dd7e48
-Size (rst2pdf-0.98.tar.gz) = 11333895 bytes
+BLAKE2s (rst2pdf-0.99.tar.gz) = 668c029de23fad6a4c426bb6bdc22834f8145b66a31803cd998fe9e5214aa4fd
+SHA512 (rst2pdf-0.99.tar.gz) = 4532486d5e072ae8b1b5360a2557856014697d67f5d65ab1ea220bb672d8155533e1279e48b0206687a1ded3f90850bcff37d73da68a44071cf232d1e23f7daf
+Size (rst2pdf-0.99.tar.gz) = 12141631 bytes



Home | Main Index | Thread Index | Old Index