git: c558c5c10023 - main - textproc/py-mistune2: Add py-mistune2 2.0.5 (copied from py-mistune)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:17:56 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c558c5c100231e02aecc95e5d9eb97d121062a14
commit c558c5c100231e02aecc95e5d9eb97d121062a14
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 06:59:39 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 06:59:39 +0000
textproc/py-mistune2: Add py-mistune2 2.0.5 (copied from py-mistune)
- Add PORTSCOUT
---
textproc/Makefile | 1 +
textproc/py-mistune2/Makefile | 27 +++++++++++++++++++++++++++
textproc/py-mistune2/distinfo | 3 +++
textproc/py-mistune2/pkg-descr | 2 ++
4 files changed, 33 insertions(+)
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.