notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
py-weasyprint Converts HTML/CSS documents to PDF
61.2 print on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 61.2Version of this port present on the latest quarterly branch.
Maintainer: pi@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2019-05-20 14:03:32
Last Update: 2024-03-16 21:05:00
Commit Hash: 3d93e48
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://weasyprint.org/
Description:
WeasyPrint helps web developers to create PDF documents. It turns simple HTML pages into gorgeous PDF.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}weasyprint>0:print/py-weasyprint@${PY_FLAVOR}
To install the port:
cd /usr/ports/print/py-weasyprint/ && make install clean
To add the package, run one of these commands:
  • pkg install print/py-weasyprint
  • pkg install py39-weasyprint
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py39-weasyprint listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-weasyprint
Package flavors (<flavor>: <package>)
  • py39: py39-weasyprint
distinfo:
TIMESTAMP = 1710597337 SHA256 (weasyprint-61.2.tar.gz) = 47df6cfeeff8c6c28cf2e4caf837cde17715efe462708ada74baa2eb391b6059 SIZE (weasyprint-61.2.tar.gz) = 447333

Packages (timestamps in pop-ups are UTC):
py37-weasyprint
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--51-----
FreeBSD:13:quarterly--------
FreeBSD:14:latest--------
FreeBSD:14:quarterly--------
FreeBSD:15:latest--n/a-n/a---
 
py39-weasyprint
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly------58.0_158.0_1
FreeBSD:14:latest-------58.0_1
FreeBSD:14:quarterly------58.0_158.0_1
FreeBSD:15:latest--n/a-n/a-58.0_1-
 
py311-weasyprint
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest61.261.2-61.261.2---
FreeBSD:13:quarterly61.261.2--61.2---
FreeBSD:14:latest61.261.2-61.261.2---
FreeBSD:14:quarterly61.261.2--61.2---
FreeBSD:15:latest61.261.2n/a61.2n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-flit-core>=3.2<4 : devel/py-flit-core@py39
  2. python3.9 : lang/python39
  3. py39-build>=0 : devel/py-build@py39
  4. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-brotli>=1.0.9 : archivers/py-brotli@py39
  2. py39-cairo>=1.15.4 : graphics/py-cairo@py39
  3. py39-cairocffi>=0.9.0 : graphics/py-cairocffi@py39
  4. py39-cairosvg>=2.4.0 : graphics/py-cairosvg@py39
  5. py39-cffi>=0.6 : devel/py-cffi@py39
  6. py39-cssselect2>=0.1 : textproc/py-cssselect2@py39
  7. py39-fonttools>=4.38 : print/py-fonttools@py39
  8. py39-html5lib>=0.999999999 : www/py-html5lib@py39
  9. py39-pydyf>=0.5.0 : print/py-pydyf@py39
  10. py39-pyphen>=0.9.1 : textproc/py-pyphen@py39
  11. py39-tinycss2>=1.0.0 : textproc/py-tinycss2@py39
  12. python3.9 : lang/python39
Library dependencies:
  1. libgdk_pixbuf-2.0.so : graphics/gdk-pixbuf2
  2. libglib-2.0.so : devel/glib20
  3. libintl.so : devel/gettext-runtime
  4. libpango-1.0.so : x11-toolkits/pango
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
print_py-weasyprint
USES:
gnome python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/w/weasyprint/
  2. https://pypi.org/packages/source/w/weasyprint/
Collapse this list.

Number of commits found: 12

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
61.2
16 Mar 2024 21:05:00
commit hash: 3d93e481a6797c558d86f1f66a4576be2f432b51commit hash: 3d93e481a6797c558d86f1f66a4576be2f432b51commit hash: 3d93e481a6797c558d86f1f66a4576be2f432b51commit hash: 3d93e481a6797c558d86f1f66a4576be2f432b51 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
print/py-weasyprint: update 58.0 -> 61.2

Changes: https://doc.courtbouillon.org/weasyprint/stable/changelog.html
58.0_1
05 Sep 2023 20:46:34
commit hash: da4321e06c5aff93bccbafe3fe6a2f330bdf77e6commit hash: da4321e06c5aff93bccbafe3fe6a2f330bdf77e6commit hash: da4321e06c5aff93bccbafe3fe6a2f330bdf77e6commit hash: da4321e06c5aff93bccbafe3fe6a2f330bdf77e6 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
print/py-weasyprint: Fix BUILD_DEPENDS

- While I'm here, remove pytest-runner from BUILD_DEPENDS

from pyproject.toml:
[build-system]
requires = ['flit_core >=3.2,<4']
build-backend = 'flit_core.buildapi'

Approved by:	portmgr (blanket)
With hat:	python
Reference:	https://github.com/Kozea/WeasyPrint/blob/master/pyproject.toml#L1-L3
58.0_1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
58.0_1
04 Apr 2023 18:29:11
commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123commit hash: 1730e97e049085a8fe5536788d214cbfc4eb3123 files touched by this commit
Antoine Brodin (antoine) search for other commits by this committer
USE_PYTHON=pep517: bump PORTREVISION
58.0
25 Feb 2023 12:52:15
commit hash: 743639cefff4c6df270d95c60c5f36dff429d004commit hash: 743639cefff4c6df270d95c60c5f36dff429d004commit hash: 743639cefff4c6df270d95c60c5f36dff429d004commit hash: 743639cefff4c6df270d95c60c5f36dff429d004 files touched by this commit
Kurt Jaeger (pi) search for other commits by this committer
print/py-weasyprint: 51 -> 58.0

- Substantial changes of used libraries.
- change maintainer

PR:		269378,
Reported by:	p5B2EA84B3@t-online.de
Approved by:	darcy@druid.net (old maintainer)
Changes:	https://doc.courtbouillon.org/weasyprint/stable/changelog.html
51
11 Jan 2023 15:58:34
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
51
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
51
20 Jul 2022 14:22:48
commit hash: 51879c91f87889e30c8cc97affa08f16b6ac8527commit hash: 51879c91f87889e30c8cc97affa08f16b6ac8527commit hash: 51879c91f87889e30c8cc97affa08f16b6ac8527commit hash: 51879c91f87889e30c8cc97affa08f16b6ac8527 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
print: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Eldridge <alane@geeksrus.net>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Dupre <sysadmin@alexdupre.com>
  *  Alexander Vereeken <Alexander88207@protonmail.com>
  *  Alexey Dokuchaev <danfe@FreeBSD.org>
  *  Alonso Cardenas Marquez <acm@FreeBSD.org>
  *  Andreas Klemm <andreas@FreeBSD.org>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Anish Mistry <amistry@am-productions.biz>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
51
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
51
12 Jan 2020 09:49:30
Revision:522774Original commit files touched by this commit
woodsb02 search for other commits by this committer
print/py-weasyprint: Update to 51

Changes this release:
  https://weasyprint.readthedocs.io/en/latest/changelog.html#version-51

PR:		243251
Approved by:	D'Arcy J.M. Cain <darcy@druid.net>
47
20 May 2019 13:59:01
Revision:502116Original commit files touched by this commit
pi search for other commits by this committer
New port: print/py-weasyprint

WeasyPrint helps web developers to create PDF documents. It turns simple
HTML pages into gorgeous PDF.

WWW: https://weasyprint.org/

Submitted by:	D'Arcy Cain <darcy@druid.net>

Number of commits found: 12