From nobody Sat Oct 22 19:40:08 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MvsB04gw3z4fttS; Sat, 22 Oct 2022 19:40:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MvsB0486gz4KH4; Sat, 22 Oct 2022 19:40:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666467608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n2xfPFe+/33MuMX0Bd4FdTBnNfXMnrKjA3dI2WkwUQc=; b=HXUywAtPa5uiHiz6ekWmffwqjkm7wIrUVeU7GHbvE5wC1VJ2sVwDoJhewo/cq/vJzwjh23 4mBhCl7k4lNvrok/feS5yl5jihPlFB2Dx6+sLZJvnTEzpP/TXp2WG0PkCzh3dgnqssI4t2 iZJE75JWyNAtfED7QGLQTFokzkHq+KQEhsXyacPWL2j8zs6H42XiJVBmR+3keO45/L8OPw c2USe1KG82vF5kGoV6sPKDc3FoI6FkDhFDMVeaudYzUVJP4SaCpwRcIcSOeVfI57IrHDJO 5Ux9p+s+tmOMhRK0MnQUtJwvCPohlAvqCMScSgFO6EUXPgSF26GukaGZ9kJFaA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MvsB03DybzfbV; Sat, 22 Oct 2022 19:40:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29MJe8bb011419; Sat, 22 Oct 2022 19:40:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29MJe8Jb011416; Sat, 22 Oct 2022 19:40:08 GMT (envelope-from git) Date: Sat, 22 Oct 2022 19:40:08 GMT Message-Id: <202210221940.29MJe8Jb011416@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Li-Wen Hsu Subject: git: 3cfd8cfeebfb - main - Add textproc/py-sphinxcontrib-svg2pdfconverter: Sphinx extension for converting SVG to PDF List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: lwhsu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3cfd8cfeebfbcf34b5c75fa8550d29856b8f737a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666467608; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=n2xfPFe+/33MuMX0Bd4FdTBnNfXMnrKjA3dI2WkwUQc=; b=ZXyH5/6GXM+DHn5Ii/aSWANeY5G/nBiAyC9nkRqwu1RJuvkkoBe1zJrGRJegyfFQOev5Da FHlgj+c8CMCtlARUNDACspTaP7gu3AAfojMB2c4bQmPKtPBmIIIvpKJsGLGyqOVIbR6xTc eMKtXR+t6ghFheflP6553Z9jSbOkjUYclm06ZdG43vaQu1vwy1v/ENUTC26n8hHhEqstI6 GYw4ikGpY8QRLGHJHBO8HaYo+zJEB5C3EPOwSf94J2fyl4Xee4umkM6HeS4w95jZlhGFUw mYD6vCM9S6ZGYLFYE4YmKiYILBPTVScwfF5hH4FOtzASPDv7I06FXZLAk0EADg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666467608; a=rsa-sha256; cv=none; b=jOg8A0vXJMwOb2wKSRK5+kzvyMPOPvjqHdHa6jnSDOl4xeXMq1qAPVy7MB8oYzZQyZ4ciD 5biLrNqKnSjd5jXdRLYskOMN529FAnsU99af3jo5JTQkkPaQrVVjXFUlmBQpC215aAegnp wyF/ZoBW+50S6YW1FXXMBPMpYC7FOgK+tR2ip1AOFLXpog4LSmy/ADoT1wkITcsvPDzpYo DUPI/rx2JfVNl9JbJPyvP7mbu/R5EL1c2GUPhHGw8GuHiymLGP8/qJFn0/d3S5YoI92jBz Jbt1k5ZZLpLm2KjyMGr5XpDl3hvFpzKCxppxanbrl+N52ogYUfeyDmuQ8brgfg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by lwhsu: URL: https://cgit.FreeBSD.org/ports/commit/?id=3cfd8cfeebfbcf34b5c75fa8550d29856b8f737a commit 3cfd8cfeebfbcf34b5c75fa8550d29856b8f737a Author: Alastair Hogge AuthorDate: 2022-10-22 19:38:56 +0000 Commit: Li-Wen Hsu CommitDate: 2022-10-22 19:39:46 +0000 Add textproc/py-sphinxcontrib-svg2pdfconverter: Sphinx extension for converting SVG to PDF PR: 264151 --- textproc/Makefile | 1 + .../py-sphinxcontrib-svg2pdfconverter/Makefile | 32 ++++++++++++++++++++++ .../py-sphinxcontrib-svg2pdfconverter/distinfo | 3 ++ .../py-sphinxcontrib-svg2pdfconverter/pkg-descr | 5 ++++ 4 files changed, 41 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index b30b03c27b63..941814c52f1a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1530,6 +1530,7 @@ SUBDIR += py-sphinxcontrib-programoutput SUBDIR += py-sphinxcontrib-qthelp SUBDIR += py-sphinxcontrib-serializinghtml + SUBDIR += py-sphinxcontrib-svg2pdfconverter SUBDIR += py-sphinxcontrib-towncrier SUBDIR += py-sphinxcontrib-websupport SUBDIR += py-sphinxemoji diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile new file mode 100644 index 000000000000..6d9a0b45885b --- /dev/null +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/Makefile @@ -0,0 +1,32 @@ +PORTNAME= sphinxcontrib-svg2pdfconverter +PORTVERSION= 1.2.0 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +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 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} + +USES= python:3.8+ +USE_PYTHON= autoplist concurrent distutils flavors + +NO_ARCH= yes + +OPTIONS_DEFINE= RSVGIMPL +RSVGIMPL_DESC= Depend on the Rust implementation of rsvg-convert + +.include + +.if ${PORT_OPTIONS:MRSVGIMPL} +RUN_DEPENDS+= rsvg-convert:graphics/librsvg2-rust +.else +RUN_DEPENDS+= rsvg-convert:graphics/librsvg2 +.endif + +.include diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo new file mode 100644 index 000000000000..5ed3eb7aeeb4 --- /dev/null +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1653182842 +SHA256 (sphinxcontrib-svg2pdfconverter-1.2.0.tar.gz) = 60d14562bc7e6f1ad30f1b63a137659508868c87ce182c1d7fc08bee67b5851d +SIZE (sphinxcontrib-svg2pdfconverter-1.2.0.tar.gz) = 5479 diff --git a/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr b/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr new file mode 100644 index 000000000000..8b389940c06c --- /dev/null +++ b/textproc/py-sphinxcontrib-svg2pdfconverter/pkg-descr @@ -0,0 +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). libRSVG is used +internally.