Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Feb 2026 13:37:42 +0000
From:      Nicola Vitale <nivit@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a69d64f0d33 - main - textproc/py-sphinxcontrib-mermaid: Add new port
Message-ID:  <699863a6.1801f.7aa14553@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by nivit:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a69d64f0d33d0ca9bd7565364dd66b007d5fcb1

commit 1a69d64f0d33d0ca9bd7565364dd66b007d5fcb1
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2026-02-20 13:36:41 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2026-02-20 13:37:25 +0000

    textproc/py-sphinxcontrib-mermaid: Add new port
    
    This Sphinx extension allows you to embed Mermaid graphs in your documents,
    including general flowcharts, sequence diagrams, gantt diagrams and more.
    
    https://pypi.org/project/sphinxcontrib-mermaid/
---
 textproc/Makefile                           |  1 +
 textproc/py-sphinxcontrib-mermaid/Makefile  | 26 ++++++++++++++++++++++++++
 textproc/py-sphinxcontrib-mermaid/distinfo  |  3 +++
 textproc/py-sphinxcontrib-mermaid/pkg-descr |  2 ++
 4 files changed, 32 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index e5e48ee77169..dca844e1bc37 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1672,6 +1672,7 @@
     SUBDIR += py-sphinxcontrib-jquery
     SUBDIR += py-sphinxcontrib-jsmath
     SUBDIR += py-sphinxcontrib-log-cabinet
+    SUBDIR += py-sphinxcontrib-mermaid
     SUBDIR += py-sphinxcontrib-napoleon
     SUBDIR += py-sphinxcontrib-newsfeed
     SUBDIR += py-sphinxcontrib-nwdiag
diff --git a/textproc/py-sphinxcontrib-mermaid/Makefile b/textproc/py-sphinxcontrib-mermaid/Makefile
new file mode 100644
index 000000000000..9d4d8bbc0558
--- /dev/null
+++ b/textproc/py-sphinxcontrib-mermaid/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	sphinxcontrib-mermaid
+DISTVERSION=	2.0.0
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	nivit@FreeBSD.org
+COMMENT=	Mermaid diagrams in your Sphinx-powered docs
+WWW=		https://pypi.org/project/sphinxcontrib-mermaid/
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=3.1.6:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0.3:devel/py-pyyaml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sphinx>=5.3.0:textproc/py-sphinx@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-sphinxcontrib-mermaid/distinfo b/textproc/py-sphinxcontrib-mermaid/distinfo
new file mode 100644
index 000000000000..53e278a86c58
--- /dev/null
+++ b/textproc/py-sphinxcontrib-mermaid/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1771497867
+SHA256 (sphinxcontrib_mermaid-2.0.0.tar.gz) = cf4f7d453d001132eaba5d1fdf53d42049f02e913213cf8337427483bfca26f4
+SIZE (sphinxcontrib_mermaid-2.0.0.tar.gz) = 18194
diff --git a/textproc/py-sphinxcontrib-mermaid/pkg-descr b/textproc/py-sphinxcontrib-mermaid/pkg-descr
new file mode 100644
index 000000000000..235d4ad5bdf5
--- /dev/null
+++ b/textproc/py-sphinxcontrib-mermaid/pkg-descr
@@ -0,0 +1,2 @@
+This Sphinx extension allows you to embed Mermaid graphs in your documents,
+including general flowcharts, sequence diagrams, gantt diagrams and more.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699863a6.1801f.7aa14553>