diff options
Diffstat (limited to 'textproc/py-sphinxcontrib-svg2pdfconverter')
-rw-r--r-- | textproc/py-sphinxcontrib-svg2pdfconverter/Makefile | 42 | ||||
-rw-r--r-- | textproc/py-sphinxcontrib-svg2pdfconverter/distinfo | 6 | ||||
-rw-r--r-- | textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr | 8 |
3 files changed, 26 insertions, 30 deletions
diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile index c40518ab3c1c..e42816d6b6c9 100644 --- a/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile @@ -1,40 +1,36 @@ PORTNAME= sphinxcontrib-svg2pdfconverter -DISTVERSION= 1.2.3 +PORTVERSION= 1.3.0 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= ${PORTNAME:C/-/_/}-${DISTVERSION} +DISTNAME= sphinxcontrib_svg2pdfconverter-${PORTVERSION} -MAINTAINER= ports@FreeBSD.org -COMMENT= Sphinx extension for converting SVG to PDF +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Sphinx SVG to PDF converter extension WWW= https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61.0.0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.6.3,1:textproc/py-sphinx@${PY_FLAVOR} USES= python -USE_GNOME= librsvg2 -USE_PYTHON= autoplist concurrent flavors pep517 +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes -OPTIONS_DEFAULT= CAIROSVG -OPTIONS_GROUP= RENDERER -OPTIONS_GROUP_RENDERER= CAIROSVG INKSCAPE RSVG - -CAIROSVG_DESC= Python Cairo SVG -INKSCAPE_DESC= Inkscape -RENDERER_DESC= SVG to PDF runtime renderer -RSVG_DESC= Rust librsvg2 (graphics/librsvg2) - -CAIROSVG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairosvg>0:graphics/py-cairosvg@${PY_FLAVOR} -INKSCAPE_RUN_DEPENDS= inkscape>0:graphics/inkscape -RSVG_USES= gnome -RSVG_USE= GNOME=librsvg2 +OPTIONS_GROUP= CONVERTER +OPTIONS_GROUP_CONVERTER=CAIROSVG INKSCAPE LIBRSVG +OPTIONS_DEFAULT=CAIROSVG +CAIROSVG_DESC= Use CairoSVG to convert +INKSCAPE_DESC= Use inkscape to convert +LIBRSVG_DESC= Use rsvg-convert to convert + +CAIROSVG_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairosvg>=1.0:graphics/py-cairosvg@${PY_FLAVOR} +INKSCAPE_RUN_DEPENDS= inkscape:graphics/inkscape +LIBRSVG_USE= GNOME=librsvg2 +LIBRSVG_USES= gnome .include <bsd.port.mk> diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo index daa7c11b5b79..16f6293d7357 100644 --- a/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1739821315 -SHA256 (sphinxcontrib_svg2pdfconverter-1.2.3.tar.gz) = fb5d517b634c5629522004c59edce4d9050d89822408cab452c7d52fe5ae9824 -SIZE (sphinxcontrib_svg2pdfconverter-1.2.3.tar.gz) = 5774 +TIMESTAMP = 1750954248 +SHA256 (sphinxcontrib_svg2pdfconverter-1.3.0.tar.gz) = 6411a4cc2f57eed96a0d7bbfa139f68cbe7983018881e1e6d7c46053cd69911f +SIZE (sphinxcontrib_svg2pdfconverter-1.3.0.tar.gz) = 6209 diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr b/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr index 8b389940c06c..6b4d9ea1318d 100644 --- a/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr @@ -1,5 +1,5 @@ -Sphinx SVG to PDF Converter Extension: +This extension converts SVG images to PDF in case the builder does not support +SVG images natively (e.g. LaTeX). -This extension converts SVG images to PDF in case the builder does -not support SVG images natively (e.g. LaTeX). libRSVG is used -internally. +Internally, either Inkscape, rsvg-convert from libRSVG or CairoSVG as +progressively more lightweight alternatives are used to convert images. |