./python/py-rst2pdf, Convert restructured text to PDF via reportlab

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.102, Package name: py312-rst2pdf-0.102, Maintainer: pkgsrc-users

Generate rich, good quality PDFs from lightly marked up text files.


Required to run:
[textproc/py-docutils] [textproc/py-yaml] [print/py-reportlab] [devel/py-setuptools] [textproc/py-pygments] [textproc/py-jinja2] [devel/py-packaging] [textproc/py-smartypants] [devel/py-importlib-metadata] [lang/python310]

Required to build:
[devel/py-setuptools_scm]

Master sites:

Filesize: 11855.135 KB

Version history: (Expand)


CVS history: (Expand)


   2024-07-22 07:14:51 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-rst2pdf: updated to 0.102

0.102 (2024-06-05)

* Added: We now set ``supported_image_type`` attribute in the Sphinx builder
* Changed: We now support ReportLab 4 and xhtml2pdf 0.12.2
* Fixed: CI now correctly fails if the tests fail

0.101 (2023-08-02)

* Changed: We now recommend using pipx to install rst2pdf.
* Changed: The manual's examples for embedding fonts are now better.
* Fixed: The ``twocolumn.yaml`` stylesheet has been restored after inadvertent \ 
removal in 0.100.
* Fixed: We now use ``ConfigParser`` so that we are ready for 3.12.
* Fixed: Tests now run correctly regardless of locale.
* Fixed: Arguments when calling ``DelayedTable`` are now in the correct order.

0.100 (2023-03-20)

* Added: New command line option ``--record-dependencies`` to write out the list \ 
of files that were
  used to create the PDF.
* Added: Python 3.11 is now experimentally supported. Please report any issues found.
* Changed: Updated tests to use ReportLab 3.6.12. Note that ReportLab 3.6.5 \ 
introduced some layout
  changes in rst2pdf's output. We have noticed that header/footer spacing is \ 
different, the space
  before nested bullets is bigger than before and that some fully-justified text \ 
paragraphs now
  wrap differently.
* Fixed: The ``twoColumn`` style has been reinstated as its used with Sphinx.
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2022-07-11 02:32:35 by David H. Gutteridge | Files touched by this commit (1)
Log message:
py-rst2pdf: py-yaml is also a dependency

Issue noted and patch provided by J. Dekker on pkgsrc-users@.
   2022-05-10 09:21:45 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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
   2022-01-05 16:41:32 by Thomas Klausner | Files touched by this commit (289)
Log message:
python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles