aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 06:59:39 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 06:59:39 +0000
commitc558c5c100231e02aecc95e5d9eb97d121062a14 (patch)
tree298cbc2923c01a9b637eae2f1ebd0b240da720af
parent4acceff265bad172974982252a5fbf23a36f52ab (diff)
textproc/py-mistune2: Add py-mistune2 2.0.5 (copied from py-mistune)
- Add PORTSCOUT
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-mistune2/Makefile27
-rw-r--r--textproc/py-mistune2/distinfo3
-rw-r--r--textproc/py-mistune2/pkg-descr2
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 0c013514eb58..6361f13b1f53 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1416,6 +1416,7 @@
SUBDIR += py-mistletoe
SUBDIR += py-mistune
SUBDIR += py-mistune0
+ SUBDIR += py-mistune2
SUBDIR += py-mkdocs
SUBDIR += py-mkdocs-autorefs
SUBDIR += py-mkdocs-material
diff --git a/textproc/py-mistune2/Makefile b/textproc/py-mistune2/Makefile
new file mode 100644
index 000000000000..70873f97b5d1
--- /dev/null
+++ b/textproc/py-mistune2/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= mistune
+PORTVERSION= 2.0.5
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 2
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Fastest markdown parser in pure Python
+WWW= https://github.com/lepture/mistune
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+
+USES= cpe python
+USE_PYTHON= autoplist concurrent pep517 unittest
+
+NO_ARCH= yes
+
+CPE_VENDOR= mistune_project
+
+PORTSCOUT= limit:^2\.
+
+.include <bsd.port.mk>
diff --git a/textproc/py-mistune2/distinfo b/textproc/py-mistune2/distinfo
new file mode 100644
index 000000000000..256c9332acea
--- /dev/null
+++ b/textproc/py-mistune2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1679498826
+SHA256 (mistune-2.0.5.tar.gz) = 0246113cb2492db875c6be56974a7c893333bf26cd92891c85f63151cee09d34
+SIZE (mistune-2.0.5.tar.gz) = 75854
diff --git a/textproc/py-mistune2/pkg-descr b/textproc/py-mistune2/pkg-descr
new file mode 100644
index 000000000000..332eb618f861
--- /dev/null
+++ b/textproc/py-mistune2/pkg-descr
@@ -0,0 +1,2 @@
+Mistune is a fast yet powerful Python Markdown parser with renderers and
+plugins.