textproc/py-sphinxcontrib-svg2pdfconverter: Update to 1.3.0

- Update version requirement of *_DEPENDS
- Remove superfluous USE_PYTHON=flavors
- Update pkg-descr
- Take maintainership

Changes:	https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter/commits/master
This commit is contained in:
Po-Chuan Hsieh
2025-06-29 19:37:18 +08:00
parent 3d04db7f32
commit 5cbd077d5c
3 changed files with 25 additions and 29 deletions
@@ -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
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_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
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>
@@ -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
@@ -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.