diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile index e1beaa3d3f71..fe5469119b63 100644 --- a/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile @@ -1,25 +1,40 @@ PORTNAME= sphinxcontrib-svg2pdfconverter -DISTVERSION= 1.2.2 +DISTVERSION= 1.2.3 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:C/-/_/}-${DISTVERSION} MAINTAINER= agh@riseup.net COMMENT= Sphinx extension for converting SVG to PDF 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} -USES= gnome python +USES= python USE_GNOME= librsvg2 USE_PYTHON= autoplist concurrent flavors 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 + .include diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo index 1389e1b582db..daa7c11b5b79 100644 --- a/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690284076 -SHA256 (sphinxcontrib-svg2pdfconverter-1.2.2.tar.gz) = 80a55ca61f70eae93efc65f3814f2f177c86ba55934a9f6c5022f1778b62146b -SIZE (sphinxcontrib-svg2pdfconverter-1.2.2.tar.gz) = 5516 +TIMESTAMP = 1739821315 +SHA256 (sphinxcontrib_svg2pdfconverter-1.2.3.tar.gz) = fb5d517b634c5629522004c59edce4d9050d89822408cab452c7d52fe5ae9824 +SIZE (sphinxcontrib_svg2pdfconverter-1.2.3.tar.gz) = 5774