converters/py-svglib 2.2.0 FreeBSD
Pure-Python library for reading and converting SVG
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
7e4cd65c14- License
- LGPL3
- Categories
- converters, python
- Package size
- 97.8 KiB, 524.3 KiB installed
Description
Svglib is a pure-Python library for reading SVG files and converting them (to a reasonable degree) to other formats using the ReportLab Open Source toolkit.
Used as a package you can read existing SVG files and convert them into ReportLab Drawing objects that can be used in a variety of contexts, e.g. as ReportLab Platypus Flowable objects or in RML.
As a command-line tool it converts SVG files into PDF ones (but adding other output formats like bitmap or EPS is really easy and will be better supported, soon).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | converters/py-svglib | 2.2.0 |
| NetBSD | graphics/py-svglib | 2.2.0 |
| DragonFly | converters/py-svglib | 1.5.1_1 |
| HardenedBSD | converters/py-svglib | 2.2.0 |
| GhostBSD | converters/py-svglib | 2.2.0 |
Install
Binary package:
pkg install py312-svglib
From the ports tree:
cd /usr/ports/converters/py-svglib/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-svglib>0:converters/py-svglib
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 | 2.2.0 | 2.2.0 | - | 1.5.1_2 | 2.2.0 |
| FreeBSD:14:quarterly | 2.2.0 | 2.2.0 | n/a | 1.5.1_1 | 2.2.0 |
| FreeBSD:15:latest | 2.2.0 | 2.2.0 | n/a | 1.5.1_2 | 1.5.1_2 |
| FreeBSD:15:quarterly | 2.2.0 | 2.2.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.2.0 | 2.2.0 | 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 1
${PYTHON_PKGNAMEPREFIX}hatchling>=0: devel/py-hatchling
Runtime 5
${PYTHON_PKGNAMEPREFIX}cssselect2>=0.2.0: textproc/py-cssselect2${PYTHON_PKGNAMEPREFIX}lxml>=6.0.0: devel/py-lxml${PYTHON_PKGNAMEPREFIX}pillow>=9.0.0: graphics/py-pillow${PYTHON_PKGNAMEPREFIX}reportlab>=4.4.3: print/py-reportlab${PYTHON_PKGNAMEPREFIX}tinycss2>=0.6.0: textproc/py-tinycss2
The full lists below include those, and their dependencies in turn.
Build dependencies 19
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/py-build
- devel/py-hatchling
- devel/py-installer
- devel/py-packaging
- devel/py-pathspec
- devel/py-pluggy
- devel/py-pyproject-hooks
- devel/py-trove-classifiers
- devel/readline
- lang/python312
- lang/python315
- math/mpdecimal
- print/indexinfo
- textproc/expat2
- textproc/py-tomlkit
Run dependencies 72
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/lzo2
- archivers/zstd
- converters/fribidi
- converters/libiconv
- converters/py-webencodings
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/pcre2
- devel/py-lxml
- devel/py-olefile
- devel/py-packaging
- devel/readline
- 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
- print/adobe-cmaps
- print/freetype2
- print/harfbuzz
- print/indexinfo
- print/libraqm
- print/py-freetype-py
- print/py-reportlab
- security/libgcrypt
- security/libgpg-error
- textproc/expat2
- textproc/libxml2
- textproc/libxslt
- textproc/py-cssselect2
- textproc/py-tinycss2
- 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
Configuration
Options name: converters_svglib
| Option | Default | Description |
|---|---|---|
| BITMAP | on | Support for rendering ReportLab drawings to Bitmap formats |
- USES
- cpe python
- Service scripts
- none
- Conflicts with
- svg2pdf
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| svglib-2.2.0.tar.gz | 1.373629e+06 | bde5c5f9b0e091f1e210b8aafdda07a49bd8ebf21c0e90d67383a665c83597ac |
Master sites 1
- PYPI