textproc/py-xhtml2pdf 0.2.20 FreeBSD
PDF generator using HTML and CSS
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
c58859c24f- License
- APACHE20
- Categories
- textproc, python
- Package size
- 426.6 KiB, 2319.7 KiB installed
Description
xhtml2pdf is a html2pdf converter using the ReportLab Toolkit, the HTML5lib and pyPdf. It supports HTML 5 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 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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-xhtml2pdf | 0.2.20 |
| NetBSD | print/py-xhtml2pdf | 0.2.18 |
| DragonFly | textproc/py-xhtml2pdf | 0.2.17 |
Install
Binary package:
pkg install py312-xhtml2pdf
From the ports tree:
cd /usr/ports/textproc/py-xhtml2pdf/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-xhtml2pdf>0:textproc/py-xhtml2pdf
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.2.20 | 0.2.20 | - | 0.2.17 | 0.2.20 |
| FreeBSD:14:quarterly | 0.2.20 | 0.2.20 | n/a | 0.2.17 | 0.2.20 |
| FreeBSD:15:latest | 0.2.20 | 0.2.20 | n/a | 0.2.17 | 0.2.17 |
| FreeBSD:15:quarterly | 0.2.20 | 0.2.20 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.2.20 | 0.2.20 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
${PYTHON_PKGNAMEPREFIX}setuptools>=0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 9
${PYTHON_PKGNAMEPREFIX}arabic-reshaper>=3.0.0: textproc/py-arabic-reshaper${PYTHON_PKGNAMEPREFIX}html5lib>=1.1: www/py-html5lib${PYTHON_PKGNAMEPREFIX}pillow>=8.1.1: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}pyhanko>=0.12.1: security/py-pyhanko${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.19.5: security/py-pyhanko-certvalidator${PYTHON_PKGNAMEPREFIX}pypdf>=3.1.0: print/py-pypdf${PYTHON_PKGNAMEPREFIX}python-bidi>=0.5.0: textproc/py-python-bidi${PYTHON_PKGNAMEPREFIX}reportlab>=4.0.4<6: print/py-reportlab${PYTHON_PKGNAMEPREFIX}svglib>=1.2.1: converters/py-svglib
Test 1
${PYTHON_PKGNAMEPREFIX}nose>=1.0: devel/py-nose
The full lists below include those, and their dependencies in turn.
Build dependencies 16
Run dependencies 99
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/fribidi
- converters/libiconv
- converters/py-svglib
- converters/py-webencodings
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-aiosignal
- devel/py-asn1crypto
- devel/py-attrs
- devel/py-cffi
- devel/py-frozenlist
- devel/py-lxml
- devel/py-olefile
- devel/py-packaging
- devel/py-propcache
- devel/py-pycparser
- devel/py-six
- devel/py-typing-extensions
- devel/py-tzlocal
- devel/readline
- dns/py-idna
- graphics/cairo
- graphics/gdk-pixbuf2
- graphics/giflib
- graphics/graphite2
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libavif
- graphics/libimagequant
- graphics/libyuv
- graphics/openjpeg
- graphics/png
- graphics/py-pillow
- graphics/py-pycairo
- graphics/py-rlpycairo
- graphics/tiff
- graphics/webp
- lang/python312
- lang/python315
- lang/tcl86
- math/mpdecimal
- misc/shared-mime-info
- multimedia/aom
- multimedia/dav1d
- multimedia/vmaf
- net/py-aiohappyeyeballs
- net/py-uritools
- print/adobe-cmaps
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- print/py-freetype-py
- print/py-pypdf
- print/py-reportlab
- security/libgcrypt
- security/libgpg-error
- security/py-certifi
- security/py-cryptography
- security/py-oscrypto
- security/py-pyhanko
- security/py-pyhanko-certvalidator
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-arabic-reshaper
- textproc/py-cssselect2
- textproc/py-python-bidi
- textproc/py-tinycss2
- www/llhttp
- www/py-aiohttp
- www/py-html5lib
- www/py-multidict
- www/py-yarl
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-fonts/libfontenc
- x11-fonts/mkfontscale
- x11-toolkits/py-tkinter
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/pixman
- x11/xorgproto
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| xhtml2pdf-0.2.20.tar.gz | 322570 | c00f3274ac2201c67e5f59b8cc9ea7517f0a125f63fc8da2bdc72403019bb029 |
Master sites 1
- PYPI