summaryrefslogtreecommitdiff
path: root/textproc/py-markdown2
diff options
context:
space:
mode:
authorobache <obache>2012-08-15 09:27:34 +0000
committerobache <obache>2012-08-15 09:27:34 +0000
commit2b98c17737650f32ff06f731452f6990ab406fff (patch)
tree5f0c705c788e3ccc868e7d12b5d427a9f2250aa5 /textproc/py-markdown2
parentf09e61e91b6896f93f54db14f0afbfd29ff0b3ec (diff)
downloadpkgsrc-2b98c17737650f32ff06f731452f6990ab406fff.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/py-markdown2')
-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