BSD Ports

print/py-xhtml2pdf 0.2.18 NetBSD

PDF generator using HTML and CSS

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
apache-2.0
Categories
print, python
Package size
299.4 KiB, 1703.2 KiB installed

Description

xhtml2pdf is a HTML to PDF converter using Python, the ReportLab Toolkit, html5lib and PyPDF2. It supports HTML5 and CSS 2.1 (and some of CSS 3). It is completely written in pure Python, so it is platform independent.

The main benefit of this tool is that a user with web skills like HTML and CSS is able to generate PDF templates very quickly without learning new technologies.

In the other systems

SystemPortVersion
NetBSDprint/py-xhtml2pdf0.2.18
FreeBSDtextproc/py-xhtml2pdf0.2.20
HardenedBSDtextproc/py-xhtml2pdf0.2.20
GhostBSDtextproc/py-xhtml2pdf0.2.20

Install

Binary package:

pkgin install py312-xhtml2pdf

From pkgsrc:

cd /usr/pkgsrc/print/py-xhtml2pdf && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.2.18
NetBSD 10.1 aarch640.2.17
SmartOS / illumos x86_640.2.18
macOS 15 arm640.2.18

Dependencies

Run dependencies 11

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py313-xhtml2pdf-0.2.18, py314-xhtml2pdf-0.2.18

Commit history 2

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
01a45d4ce0 adam py-xhtml2pdf: updated to 0.2.18
0.2.18 Support ReportLab 5 and Python 3.10-3.14, fix 14 bugs, harden the test suite