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)
This commit is contained in:
Vladyslav Movchan
2025-04-18 18:14:05 +03:00
committed by Hiroki Tagato
parent 31d6564ed9
commit 16ca3e744a
4 changed files with 40 additions and 0 deletions
+1
View File
@@ -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
+34
View File
@@ -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>
@@ -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
@@ -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.