aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawoonya <awoonyaa@gmail.com>2024-03-12 15:41:50 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-03-12 16:48:17 +0000
commitcced85b66e9e5d109a14d06a7d38c9377ce76977 (patch)
treee58991068da993a8c34d744a3380023fb1de1b31
parent6f9199fdd40fe0537c7ad7ad316c0e9c41e93d0b (diff)
downloadports-cced85b66e9e5d109a14d06a7d38c9377ce76977.tar.gz
ports-cced85b66e9e5d109a14d06a7d38c9377ce76977.zip
textproc/pandoc-plantuml-filter: Pandoc filter for PlantUML code blocks
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-pandoc-plantuml-filter/Makefile26
-rw-r--r--textproc/py-pandoc-plantuml-filter/distinfo3
-rw-r--r--textproc/py-pandoc-plantuml-filter/pkg-descr1
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e49cd56116dc..67570310644b 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1468,6 +1468,7 @@
SUBDIR += py-pager
SUBDIR += py-paginate
SUBDIR += py-pallets-sphinx-themes
+ SUBDIR += py-pandoc-plantuml-filter
SUBDIR += py-pandocfilters
SUBDIR += py-paragrep
SUBDIR += py-parse
diff --git a/textproc/py-pandoc-plantuml-filter/Makefile b/textproc/py-pandoc-plantuml-filter/Makefile
new file mode 100644
index 000000000000..d46d814db3d3
--- /dev/null
+++ b/textproc/py-pandoc-plantuml-filter/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= pandoc-plantuml-filter
+PORTVERSION= 0.1.5
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= awoonyaa@gmail.com
+COMMENT= Pandoc filter which converts PlantUML code blocks to PlantUML images
+WWW= https://github.com/timofurrer/pandoc-plantuml-filter
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandocfilters>0:textproc/py-pandocfilters@${PY_FLAVOR} \
+ plantuml>0:graphics/plantuml
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
+
diff --git a/textproc/py-pandoc-plantuml-filter/distinfo b/textproc/py-pandoc-plantuml-filter/distinfo
new file mode 100644
index 000000000000..044109b0fb05
--- /dev/null
+++ b/textproc/py-pandoc-plantuml-filter/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708806349
+SHA256 (pandoc-plantuml-filter-0.1.5.tar.gz) = f6a5de219b82bb8e26f44a0f08f2fb32011ba04c0df753b294b7db9308646584
+SIZE (pandoc-plantuml-filter-0.1.5.tar.gz) = 6026
diff --git a/textproc/py-pandoc-plantuml-filter/pkg-descr b/textproc/py-pandoc-plantuml-filter/pkg-descr
new file mode 100644
index 000000000000..0d96ede3522d
--- /dev/null
+++ b/textproc/py-pandoc-plantuml-filter/pkg-descr
@@ -0,0 +1 @@
+Pandoc filter for PlantUML code blocks.