summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2011-09-15 12:07:15 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2011-09-15 12:07:15 +0000
commit0ddabbc93ca8b7f04c8905e3546891e15bb0780b (patch)
treebf84101a90bbd0eda99b11b4c69a8add8d50f218 /dev-python/markdown2
parentInitial commit for the calligra translations. (diff)
downloadgentoo-2-0ddabbc93ca8b7f04c8905e3546891e15bb0780b.tar.gz
gentoo-2-0ddabbc93ca8b7f04c8905e3546891e15bb0780b.tar.bz2
gentoo-2-0ddabbc93ca8b7f04c8905e3546891e15bb0780b.zip
Add dev-python/markdown2, bug 382575
(Portage version: 2.1.10.16/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r--dev-python/markdown2/ChangeLog12
-rw-r--r--dev-python/markdown2/markdown2-1.0.1.19.ebuild31
-rw-r--r--dev-python/markdown2/metadata.xml16
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-python/markdown2/ChangeLog b/dev-python/markdown2/ChangeLog
new file mode 100644
index 000000000000..f309bf6c4069
--- /dev/null
+++ b/dev-python/markdown2/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-python/markdown2
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/ChangeLog,v 1.1 2011/09/15 12:07:15 maksbotan Exp $
+
+*markdown2-1.0.1.19 (15 Sep 2011)
+
+ 15 Sep 2011; Maxim Koltsov <maksbotan@gentoo.org> +markdown2-1.0.1.19.ebuild,
+ +metadata.xml:
+ Add initial ebuild, bug 382575. Thanks to Qingping Hou
+ <dave2008713@gmail.com>
+ for ebuild.
+
diff --git a/dev-python/markdown2/markdown2-1.0.1.19.ebuild b/dev-python/markdown2/markdown2-1.0.1.19.ebuild
new file mode 100644
index 000000000000..bec119c3c8d5
--- /dev/null
+++ b/dev-python/markdown2/markdown2-1.0.1.19.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/markdown2-1.0.1.19.ebuild,v 1.1 2011/09/15 12:07:15 maksbotan Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2:2.4"
+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=""
+
+DEPEND="dev-python/pygments"
+RDEPEND="${DEPEND}"
+
+src_test() {
+ cd test || die
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" test.py
+ }
+ python_execute_function testing
+}
diff --git a/dev-python/markdown2/metadata.xml b/dev-python/markdown2/metadata.xml
new file mode 100644
index 000000000000..8492e9bd5b69
--- /dev/null
+++ b/dev-python/markdown2/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<maintainer>
+ <email>maksbotan@gentoo.org</email>
+ <name>Maxim Koltsov</name>
+</maintainer>
+<upstream>
+ <maintainer>
+ <email></email>
+ <name>Trent Mick</name>
+ </maintainer>
+ <bugs-to>http://github.com/trentm/python-markdown2/issues</bugs-to>
+</upstream>
+</pkgmetadata>