summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r--dev-python/markdown2/ChangeLog7
-rw-r--r--dev-python/markdown2/markdown2-2.1.0.ebuild36
2 files changed, 42 insertions, 1 deletions
diff --git a/dev-python/markdown2/ChangeLog b/dev-python/markdown2/ChangeLog
index a82f9d599876..0f624c01e8c4 100644
--- a/dev-python/markdown2/ChangeLog
+++ b/dev-python/markdown2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/markdown2
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/ChangeLog,v 1.4 2012/05/02 13:22:39 maksbotan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/ChangeLog,v 1.5 2012/10/05 12:19:48 djc Exp $
+
+*markdown2-2.1.0 (05 Oct 2012)
+
+ 05 Oct 2012; Dirkjan Ochtman <djc@gentoo.org> +markdown2-2.1.0.ebuild:
+ Version bump to 2.1.0 (fix bugs 424591, 426298).
*markdown2-1.4.2 (02 May 2012)
diff --git a/dev-python/markdown2/markdown2-2.1.0.ebuild b/dev-python/markdown2/markdown2-2.1.0.ebuild
new file mode 100644
index 000000000000..6e9dcb338fd2
--- /dev/null
+++ b/dev-python/markdown2/markdown2-2.1.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/markdown2-2.1.0.ebuild,v 1.1 2012/10/05 12:19:48 djc Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+DESCRIPTION="Python Markdown language reimplementation"
+SRC_URI="mirror://pypi/m/markdown2/${P}.zip"
+HOMEPAGE="http://github.com/trentm/python-markdown2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+PYTHON_MODNAME="markdown2.py"
+
+DEPEND="dev-python/pygments"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ rm -f test/tm-cases/issue52* || die
+}
+
+src_test() {
+ cd test || die
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py
+ }
+ python_execute_function testing
+}