git: 55ae2c4b4f49 - main - devel/py-mrkd: new port to write man pages using markdown

From: Vasil Dimov <vd_at_FreeBSD.org>
Date: Mon, 22 Nov 2021 10:57:51 UTC
The branch main has been updated by vd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55ae2c4b4f49261e79c2bd784cb0573a33aa2187

commit 55ae2c4b4f49261e79c2bd784cb0573a33aa2187
Author:     Vasil Dimov <vd@FreeBSD.org>
AuthorDate: 2021-11-22 10:49:45 +0000
Commit:     Vasil Dimov <vd@FreeBSD.org>
CommitDate: 2021-11-22 10:57:24 +0000

    devel/py-mrkd: new port to write man pages using markdown
    
    Required for generating man pages of net-p2p/c-lightning starting
    from version 0.10.2.
---
 devel/Makefile          |  1 +
 devel/py-mrkd/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-mrkd/distinfo  |  3 +++
 devel/py-mrkd/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index f99947847594..2865db59f806 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4768,6 +4768,7 @@
     SUBDIR += py-moto
     SUBDIR += py-mox
     SUBDIR += py-mox3
+    SUBDIR += py-mrkd
     SUBDIR += py-msal
     SUBDIR += py-msal-extensions
     SUBDIR += py-msgpack
diff --git a/devel/py-mrkd/Makefile b/devel/py-mrkd/Makefile
new file mode 100644
index 000000000000..5f93f3680421
--- /dev/null
+++ b/devel/py-mrkd/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	mrkd
+PORTVERSION=	0.2.0
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	vd@FreeBSD.org
+COMMENT=	Write man pages using Markdown, and convert them to Roff or HTML
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}packaging>=21.3:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=3.0.6:devel/py-pyparsing@${PY_FLAVOR}
+
+RUN_DEPENDS=	${BUILD_DEPENDS} \
+		${PYTHON_PKGNAMEPREFIX}mistune>=0.8.4:textproc/py-mistune@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist distutils flavors
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-mrkd/distinfo b/devel/py-mrkd/distinfo
new file mode 100644
index 000000000000..424e2260249b
--- /dev/null
+++ b/devel/py-mrkd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1637573521
+SHA256 (mrkd-0.2.0.tar.gz) = 456f8c1be99da268554b29c6b5383532e58119def5a65d85270bc6a0ecc26aaf
+SIZE (mrkd-0.2.0.tar.gz) = 5961
diff --git a/devel/py-mrkd/pkg-descr b/devel/py-mrkd/pkg-descr
new file mode 100644
index 000000000000..74c052213f1c
--- /dev/null
+++ b/devel/py-mrkd/pkg-descr
@@ -0,0 +1,3 @@
+Write man pages using Markdown, and convert them to Roff or HTML.
+
+WWW: https://github.com/refi64/mrkd