git: 79f052ff12e5 - main - textproc/py-mistune: Update to 2.0.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 May 2022 11:46:26 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=79f052ff12e53f4f0497770c0721fa3661ba9b02 commit 79f052ff12e53f4f0497770c0721fa3661ba9b02 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2022-05-13 11:31:50 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2022-05-13 11:39:37 +0000 textproc/py-mistune: Update to 2.0.2 - Update pkg-descr Changes: https://github.com/lepture/mistune/releases --- textproc/py-mistune/Makefile | 14 +++++++++----- textproc/py-mistune/distinfo | 6 +++--- textproc/py-mistune/files/setup.py | 3 +++ textproc/py-mistune/pkg-descr | 9 ++------- 4 files changed, 17 insertions(+), 15 deletions(-) diff --git a/textproc/py-mistune/Makefile b/textproc/py-mistune/Makefile index b6808fb937c8..f285a71094e1 100644 --- a/textproc/py-mistune/Makefile +++ b/textproc/py-mistune/Makefile @@ -1,7 +1,7 @@ # Created by: Kubilay Kocak <koobs@FreeBSD.org> PORTNAME= mistune -PORTVERSION= 0.8.4 +PORTVERSION= 2.0.2 CATEGORIES= textproc python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,15 +12,19 @@ COMMENT= Fastest markdown parser in pure Python LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USES= cpe python:3.6+ -CPE_VENDOR= ${PORTNAME}_project -USE_PYTHON= autoplist distutils +USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +CPE_VENDOR= mistune_project + +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v .include <bsd.port.mk> diff --git a/textproc/py-mistune/distinfo b/textproc/py-mistune/distinfo index 314840d1c494..7def4bd2b5ac 100644 --- a/textproc/py-mistune/distinfo +++ b/textproc/py-mistune/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1556169307 -SHA256 (mistune-0.8.4.tar.gz) = 59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e -SIZE (mistune-0.8.4.tar.gz) = 58322 +TIMESTAMP = 1652122701 +SHA256 (mistune-2.0.2.tar.gz) = 6fc88c3cb49dba8b16687b41725e661cf85784c12e8974a29b9d336dd596c3a1 +SIZE (mistune-2.0.2.tar.gz) = 75778 diff --git a/textproc/py-mistune/files/setup.py b/textproc/py-mistune/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/textproc/py-mistune/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup() diff --git a/textproc/py-mistune/pkg-descr b/textproc/py-mistune/pkg-descr index f50a897156a0..efde13e0389f 100644 --- a/textproc/py-mistune/pkg-descr +++ b/textproc/py-mistune/pkg-descr @@ -1,9 +1,4 @@ -The fastest markdown parser in pure Python, inspired by marked. - -Features: - - * Pure Python. Tested in Python 2.6+, Python 3.3+ and PyPy. - * Very Fast. It is the fastest in all pure Python markdown parsers. - * More Features. Table, footnotes, autolink, fenced code etc. +Mistune is a fast yet powerful Python Markdown parser with renderers and +plugins. WWW: https://github.com/lepture/mistune