From 1cfc2eda1248452f222477750f1994e0f0ef8f4e Mon Sep 17 00:00:00 2001 From: Samir Noir Date: Fri, 11 Mar 2022 21:39:20 -0800 Subject: [PATCH] textproc/py-mkdocs-mermaid2-plugin: New port PR: 262258 --- textproc/Makefile | 1 + textproc/py-mkdocs-mermaid2-plugin/Makefile | 24 ++++++++++++++++++++ textproc/py-mkdocs-mermaid2-plugin/distinfo | 3 +++ textproc/py-mkdocs-mermaid2-plugin/pkg-descr | 3 +++ 4 files changed, 31 insertions(+) create mode 100644 textproc/py-mkdocs-mermaid2-plugin/Makefile create mode 100644 textproc/py-mkdocs-mermaid2-plugin/distinfo create mode 100644 textproc/py-mkdocs-mermaid2-plugin/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index 82d730142a67..afe2fbb69c05 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1366,6 +1366,7 @@ SUBDIR += py-mkdocs-autorefs SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions + SUBDIR += py-mkdocs-mermaid2-plugin SUBDIR += py-mkdocs-nature SUBDIR += py-mkdocstrings SUBDIR += py-mwparserfromhell diff --git a/textproc/py-mkdocs-mermaid2-plugin/Makefile b/textproc/py-mkdocs-mermaid2-plugin/Makefile new file mode 100644 index 000000000000..edd5e806d526 --- /dev/null +++ b/textproc/py-mkdocs-mermaid2-plugin/Makefile @@ -0,0 +1,24 @@ +PORTNAME= mkdocs-mermaid2-plugin +DISTVERSION= 0.5.2 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= samir@noir.im +COMMENT= MkDocs plugin for including mermaid graphs in markdown sources + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>0:www/py-beautifulsoup@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsbeautifier>0:devel/py-jsbeautifier@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mkdocs>=0:textproc/py-mkdocs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pymdown-extensions>0:textproc/py-pymdown-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/textproc/py-mkdocs-mermaid2-plugin/distinfo b/textproc/py-mkdocs-mermaid2-plugin/distinfo new file mode 100644 index 000000000000..526d2ce0d5d5 --- /dev/null +++ b/textproc/py-mkdocs-mermaid2-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1646076780 +SHA256 (mkdocs-mermaid2-plugin-0.5.2.tar.gz) = d920cec8c9cea52fa144f82b94aa5e0398bd4391e44c314475ae61dae871a23b +SIZE (mkdocs-mermaid2-plugin-0.5.2.tar.gz) = 39856 diff --git a/textproc/py-mkdocs-mermaid2-plugin/pkg-descr b/textproc/py-mkdocs-mermaid2-plugin/pkg-descr new file mode 100644 index 000000000000..fa255b362737 --- /dev/null +++ b/textproc/py-mkdocs-mermaid2-plugin/pkg-descr @@ -0,0 +1,3 @@ +A mkdocs plugin that interprets mermaid graphs in the markdown file. + +WWW: https://github.com/fralau/mkdocs-mermaid2-plugin