summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorobache <obache>2012-08-15 09:27:34 +0000
committerobache <obache>2012-08-15 09:27:34 +0000
commitad503b565316ea1c12b94715b1a781729868efaf (patch)
tree5f0c705c788e3ccc868e7d12b5d427a9f2250aa5 /textproc
parent7208a7d19908acb83f9c0ff5cc639996e4e9d110 (diff)
downloadpkgsrc-ad503b565316ea1c12b94715b1a781729868efaf.tar.gz
Import py-markdown2-2.0.1 as textproc/py-markdown2.
Markdown is a text-to-HTML filter; it translates an easy-to-read / easy-to-write structured text format into HTML. Markdown's text format is most similar to that of plain text email, and supports features such as headers, *emphasis*, code blocks, blockquotes, and links. -- http://daringfireball.net/projects/markdown/ This is a fast and complete Python implementation of the Markdown spec.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-markdown2/DESCR8
-rw-r--r--textproc/py-markdown2/Makefile25
-rw-r--r--textproc/py-markdown2/PLIST6
-rw-r--r--textproc/py-markdown2/distinfo5
4 files changed, 44 insertions, 0 deletions
diff --git a/textproc/py-markdown2/DESCR b/textproc/py-markdown2/DESCR
new file mode 100644
index 00000000000..1b798f85c9b
--- /dev/null
+++ b/textproc/py-markdown2/DESCR
@@ -0,0 +1,8 @@
+Markdown is a text-to-HTML filter; it translates an easy-to-read /
+easy-to-write structured text format into HTML. Markdown's text
+format is most similar to that of plain text email, and supports
+features such as headers, *emphasis*, code blocks, blockquotes, and
+links. -- http://daringfireball.net/projects/markdown/
+
+This is a fast and complete Python implementation of the Markdown
+spec.
diff --git a/textproc/py-markdown2/Makefile b/textproc/py-markdown2/Makefile
new file mode 100644
index 00000000000..89fd91cd5e5
--- /dev/null
+++ b/textproc/py-markdown2/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2012/08/15 09:27:34 obache Exp $
+#
+
+DISTNAME= markdown2-2.0.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://pypi.python.org/packages/source/m/markdown2/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= https://github.com/trentm/python-markdown2
+COMMENT= Fast and complete Python implementation of Markdown
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCLUDE_3X= yes
+
+do-test:
+ ${RUN}cd ${WRKSRC}/test; ${SETENV} ${TEST_ENV} ${PYTHONBIN} test.py
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-markdown2/PLIST b/textproc/py-markdown2/PLIST
new file mode 100644
index 00000000000..83dcc5aacf9
--- /dev/null
+++ b/textproc/py-markdown2/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2012/08/15 09:27:34 obache Exp $
+bin/markdown2
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/markdown2.py
+${PYSITELIB}/markdown2.pyc
+${PYSITELIB}/markdown2.pyo
diff --git a/textproc/py-markdown2/distinfo b/textproc/py-markdown2/distinfo
new file mode 100644
index 00000000000..b2c68c75d1e
--- /dev/null
+++ b/textproc/py-markdown2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/08/15 09:27:34 obache Exp $
+
+SHA1 (markdown2-2.0.1.zip) = 60bbf422c9cbcfd8ec43e16164914efdc0a645b8
+RMD160 (markdown2-2.0.1.zip) = d2ad3950983ef1ca271a0e1a327fc5063846306a
+Size (markdown2-2.0.1.zip) = 128461 bytes