From 89ac3d01e06028216c24f0d2b7267b0a41971ae4 Mon Sep 17 00:00:00 2001 From: obache Date: Wed, 22 Jan 2014 13:18:19 +0000 Subject: [PATCH] Update py-markdown2 to 2.2.0. ## python-markdown2 2.2.0 - [issue #135] Fix fenced code blocks odd rendering. - [pull #138] specify shell in Makefile - [pull #130] break-on-newline extra - [pull #140] Allow html-classes for img - [pull #122] Allow parentheses in urls --- textproc/py-markdown2/Makefile | 7 +++++-- textproc/py-markdown2/distinfo | 8 ++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/textproc/py-markdown2/Makefile b/textproc/py-markdown2/Makefile index 8daa74d3cd39f..8b264db869954 100644 --- a/textproc/py-markdown2/Makefile +++ b/textproc/py-markdown2/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2013/01/19 10:35:05 obache Exp $ +# $NetBSD: Makefile,v 1.6 2014/01/22 13:18:19 obache Exp $ # -DISTNAME= markdown2-2.1.0 +DISTNAME= markdown2-2.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc MASTER_SITES= http://pypi.python.org/packages/source/m/markdown2/ @@ -17,8 +17,11 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCLUDE_3X= yes PYTHON_SELF_CONFLICT= yes +REPLACE_PYTHON= lib/markdown2.py + do-test: ${RUN}cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test.py +.include "../../lang/python/application.mk" .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-markdown2/distinfo b/textproc/py-markdown2/distinfo index eb83115bfa019..32564d18dbabe 100644 --- a/textproc/py-markdown2/distinfo +++ b/textproc/py-markdown2/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2013/01/19 10:35:05 obache Exp $ +$NetBSD: distinfo,v 1.3 2014/01/22 13:18:19 obache Exp $ -SHA1 (markdown2-2.1.0.zip) = 0696b9b23274f5bf580c2b88e41c9414e2d8397a -RMD160 (markdown2-2.1.0.zip) = 77430fce8bde5aaf70e759e26a4b0a9194433dbb -Size (markdown2-2.1.0.zip) = 128768 bytes +SHA1 (markdown2-2.2.0.zip) = 27c3017fe6a89d4e4b7651f662a421101dc38fc1 +RMD160 (markdown2-2.2.0.zip) = b42eb0f3b05c8ebd8e1de93725ee0fa36aef902a +Size (markdown2-2.2.0.zip) = 132265 bytes