git: 16ca3e744a79 - main - textproc/py-mkdocs-macros-plugin: new port: MkDocs plugin which provides variables and macros in the markdown code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 21:31:06 UTC
The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=16ca3e744a79cfaa8e2cea3680fd9ef6da440972 commit 16ca3e744a79cfaa8e2cea3680fd9ef6da440972 Author: Vladyslav Movchan <vladislav.movchan@gmail.com> AuthorDate: 2025-04-18 15:14:05 +0000 Commit: Hiroki Tagato <tagattie@FreeBSD.org> CommitDate: 2025-06-09 21:30:36 +0000 textproc/py-mkdocs-macros-plugin: new port: MkDocs plugin which provides variables and macros in the markdown code Plugin for MkDocs that allows you to create richer and more beautiful pages, by using variables and calls to macros in the markdown code. WWW: https://github.com/fralau/mkdocs-macros-plugin PR: 286226 Reported by: Vladyslav Movchan <vladislav.movchan@gmail.com> (new maintainer) --- textproc/Makefile | 1 + textproc/py-mkdocs-macros-plugin/Makefile | 34 ++++++++++++++++++++++++++++++ textproc/py-mkdocs-macros-plugin/distinfo | 3 +++ textproc/py-mkdocs-macros-plugin/pkg-descr | 2 ++ 4 files changed, 40 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index ca29266a3661..5eca170df091 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1458,6 +1458,7 @@ SUBDIR += py-mkdocs-get-deps SUBDIR += py-mkdocs-git-revision-date-localized-plugin SUBDIR += py-mkdocs-include-markdown-plugin + SUBDIR += py-mkdocs-macros-plugin SUBDIR += py-mkdocs-material SUBDIR += py-mkdocs-material-extensions SUBDIR += py-mkdocs-mermaid2-plugin diff --git a/textproc/py-mkdocs-macros-plugin/Makefile b/textproc/py-mkdocs-macros-plugin/Makefile new file mode 100644 index 000000000000..360496bf2b39 --- /dev/null +++ b/textproc/py-mkdocs-macros-plugin/Makefile @@ -0,0 +1,34 @@ +PORTNAME= mkdocs-macros-plugin +DISTVERSION= 1.3.7 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= mkdocs_macros_plugin-${DISTVERSION} + +MAINTAINER= vladislav.movchan@gmail.com +COMMENT= MkDocs plugin which provides variables and macros in the markdown code +WWW= https://github.com/fralau/mkdocs-macros-plugin + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mkdocs>=0.17:textproc/py-mkdocs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hjson>=0:textproc/py-hjson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pathspec>=0:devel/py-pathspec@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}termcolor>=0:devel/py-termcolor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}super-collections>=0:devel/py-super-collections@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +post-extract: + ${RM} -r ${WRKSRC}/test + +.include <bsd.port.mk> diff --git a/textproc/py-mkdocs-macros-plugin/distinfo b/textproc/py-mkdocs-macros-plugin/distinfo new file mode 100644 index 000000000000..830f43325427 --- /dev/null +++ b/textproc/py-mkdocs-macros-plugin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1749451563 +SHA256 (mkdocs_macros_plugin-1.3.7.tar.gz) = 17c7fd1a49b94defcdb502fd453d17a1e730f8836523379d21292eb2be4cb523 +SIZE (mkdocs_macros_plugin-1.3.7.tar.gz) = 33466 diff --git a/textproc/py-mkdocs-macros-plugin/pkg-descr b/textproc/py-mkdocs-macros-plugin/pkg-descr new file mode 100644 index 000000000000..92b9a14f0d90 --- /dev/null +++ b/textproc/py-mkdocs-macros-plugin/pkg-descr @@ -0,0 +1,2 @@ +Plugin for MkDocs that allows you to create richer and more beautiful pages, by +using variables and calls to macros in the markdown code.