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/
This commit is contained in:
Nicola Vitale
2026-02-20 14:36:41 +01:00
parent 7aa069bca2
commit 1a69d64f0d
4 changed files with 32 additions and 0 deletions

View File

@@ -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

View File

@@ -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>

View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1771497867
SHA256 (sphinxcontrib_mermaid-2.0.0.tar.gz) = cf4f7d453d001132eaba5d1fdf53d42049f02e913213cf8337427483bfca26f4
SIZE (sphinxcontrib_mermaid-2.0.0.tar.gz) = 18194

View File

@@ -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.