aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:27:28 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2022-05-13 11:39:11 +0000
commit2e274000edc689be6fd90803f7ccb8b92d742c4d (patch)
tree85063cbf3aef0e6a02d7b39d5739a855b4655ba5
parente742e9fc52dcc50a9d48bfd7c8689f6617c7471a (diff)
textproc/py-mistune0: Add py-mistune0 0.8.4 (copied from py-mistune)
- Add PORTSCOUT
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mistune0/Makefile30
-rw-r--r--textproc/py-mistune0/distinfo3
-rw-r--r--textproc/py-mistune0/pkg-descr4
4 files changed, 38 insertions, 0 deletions
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