git: 97966671b8ab - main - textproc/py-markdown-include: New port

From: Kai Knoblich <kai_at_FreeBSD.org>
Date: Sun, 09 Jan 2022 19:32:30 UTC
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=97966671b8ab8fac65c79fe28d2953f516fb4ef8

commit 97966671b8ab8fac65c79fe28d2953f516fb4ef8
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2022-01-09 19:02:21 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2022-01-09 19:28:44 +0000

    textproc/py-markdown-include: New port
    
    This is an extension to Python-Markdown which provides an “include”
    function, similar to that found in LaTeX (and also the C pre-processor
    and Fortran).
    
    It was originally written for a FORD (= FORtran Documenter) Fortran
    auto-documentation generator.
    
    WWW: https://github.com/cmacmackin/markdown-include
---
 textproc/Makefile                      |  1 +
 textproc/py-markdown-include/Makefile  | 19 +++++++++++++++++++
 textproc/py-markdown-include/distinfo  |  3 +++
 textproc/py-markdown-include/pkg-descr |  8 ++++++++
 4 files changed, 31 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index d91bd173153f..5c466df92cd2 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1355,6 +1355,7 @@
     SUBDIR += py-m2r
     SUBDIR += py-mako
     SUBDIR += py-markdown
+    SUBDIR += py-markdown-include
     SUBDIR += py-markdown-it-py
     SUBDIR += py-markdown2
     SUBDIR += py-marko
diff --git a/textproc/py-markdown-include/Makefile b/textproc/py-markdown-include/Makefile
new file mode 100644
index 000000000000..295ba204514f
--- /dev/null
+++ b/textproc/py-markdown-include/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	markdown-include
+DISTVERSION=	0.6.0
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	kai@FreeBSD.org
+COMMENT=	Provides an "include" function for Markdown
+
+LICENSE=	GPLv3+
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-markdown-include/distinfo b/textproc/py-markdown-include/distinfo
new file mode 100644
index 000000000000..26df37c8871e
--- /dev/null
+++ b/textproc/py-markdown-include/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641747929
+SHA256 (markdown-include-0.6.0.tar.gz) = 6f5d680e36f7780c7f0f61dca53ca581bd50d1b56137ddcd6353efafa0c3e4a2
+SIZE (markdown-include-0.6.0.tar.gz) = 4661
diff --git a/textproc/py-markdown-include/pkg-descr b/textproc/py-markdown-include/pkg-descr
new file mode 100644
index 000000000000..bd940bc767ca
--- /dev/null
+++ b/textproc/py-markdown-include/pkg-descr
@@ -0,0 +1,8 @@
+This is an extension to Python-Markdown which provides an "include"
+function, similar to that found in LaTeX (and also the C pre-processor and
+Fortran).
+
+It was originally written for a FORD (= FORtran Documenter) Fortran
+auto-documentation generator.
+
+WWW: https://github.com/cmacmackin/markdown-include