git: 2e274000edc6 - main - textproc/py-mistune0: Add py-mistune0 0.8.4 (copied from py-mistune)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:26 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2e274000edc689be6fd90803f7ccb8b92d742c4d

commit 2e274000edc689be6fd90803f7ccb8b92d742c4d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:11 +0000

    textproc/py-mistune0: Add py-mistune0 0.8.4 (copied from py-mistune)
    
    - Add PORTSCOUT
---
 textproc/Makefile              |  1 +
 textproc/py-mistune0/Makefile  | 30 ++++++++++++++++++++++++++++++
 textproc/py-mistune0/distinfo  |  3 +++
 textproc/py-mistune0/pkg-descr |  4 ++++
 4 files changed, 38 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 9dc91dd3ccb4..202a7ead6a3e 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1369,6 +1369,7 @@
     SUBDIR += py-mdurl
     SUBDIR += py-misaka
     SUBDIR += py-mistune
+    SUBDIR += py-mistune0
     SUBDIR += py-mkdocs
     SUBDIR += py-mkdocs-autorefs
     SUBDIR += py-mkdocs-material
diff --git a/textproc/py-mistune0/Makefile b/textproc/py-mistune0/Makefile
new file mode 100644
index 000000000000..5adddc86025f
--- /dev/null
+++ b/textproc/py-mistune0/Makefile
@@ -0,0 +1,30 @@
+# Created by: Kubilay Kocak <koobs@FreeBSD.org>
+
+PORTNAME=	mistune
+PORTVERSION=	0.8.4
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX=	0
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Fastest markdown parser in pure Python
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}
+
+USES=		cpe python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	mistune_project
+
+PORTSCOUT=	limit:^0\.
+
+do-test:
+	cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mistune0/distinfo b/textproc/py-mistune0/distinfo
new file mode 100644
index 000000000000..314840d1c494
--- /dev/null
+++ b/textproc/py-mistune0/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1556169307
+SHA256 (mistune-0.8.4.tar.gz) = 59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e
+SIZE (mistune-0.8.4.tar.gz) = 58322
diff --git a/textproc/py-mistune0/pkg-descr b/textproc/py-mistune0/pkg-descr
new file mode 100644
index 000000000000..efde13e0389f
--- /dev/null
+++ b/textproc/py-mistune0/pkg-descr
@@ -0,0 +1,4 @@
+Mistune is a fast yet powerful Python Markdown parser with renderers and
+plugins.
+
+WWW: https://github.com/lepture/mistune