BSD Ports

print/py-weasyprint 69.0 NetBSD

Converts HTML/CSS documents to PDF

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
modified-bsd
Categories
print, python
Package size
656.5 KiB, 3879.2 KiB installed

Description

WeasyPrint is a visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. WeasyPrint is free software made available under a BSD license.

It is based on various libraries but not on a full rendering engine like WebKit or Gecko. The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.

In the other systems

SystemPortVersion
NetBSDprint/py-weasyprint69.0
FreeBSDprint/py-weasyprint69.0
DragonFlyprint/py-weasyprint61.2
MidnightBSDprint/py-weasyprint51_2
HardenedBSDprint/py-weasyprint69.0
GhostBSDprint/py-weasyprint69.0

Install

Binary package:

pkgin install py312-weasyprint

From pkgsrc:

cd /usr/pkgsrc/print/py-weasyprint && 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_6469.0
NetBSD 10.1 aarch6468.1
SmartOS / illumos x86_6469.0nb2
macOS 15 arm6469.0nb2

Dependencies

Run dependencies 11

Configuration

No options to configure.

Service scripts
none
Flavors
py313-weasyprint-69.0, py314-weasyprint-69.0

Commit history 5

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
bbe45eb7ee adam py-weasyprint: updated to 69.0
69.0 **This is a security update (CVE-2026-49452).** We strongly recommend to upgrade WeasyPrint to the latest version if you use the ``--presentational-hints`` option and render untrusted HTML with restricted CSS properties. Security: * Avoid CSS injection with HTML presentational hints. Command-line API: * The ``--srgb`` option has been replaced by ``--output-intent=srgb``. Other values are possible: ``device-cmyk`` for CMYK documents with no ICC profile, or the CSS identifier of a ``@color-profile`` rule. Python API: * The ``output_intent`` string entry replaces the ``srgb`` boolean in default options. Features: * Support logical properties * Support viewport units * Detect redirection loops early in URL fetcher * Support SVG transform angle units …
5e4aea17e2 wiz *: recursive bump for pcre2 10.48