summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-02 12:22:53 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-02 12:22:53 +0000
commit6618e735923939b5b7d192a5732309c7e51ba586 (patch)
tree10835772a6c506df3e93fac600317d20cfc5b4d4 /dev-python/markdown2
parentCleanup up due #48914 (diff)
downloadgentoo-2-6618e735923939b5b7d192a5732309c7e51ba586.tar.gz
gentoo-2-6618e735923939b5b7d192a5732309c7e51ba586.tar.bz2
gentoo-2-6618e735923939b5b7d192a5732309c7e51ba586.zip
Migrate to distutils-r1.
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'dev-python/markdown2')
-rw-r--r--dev-python/markdown2/ChangeLog10
-rw-r--r--dev-python/markdown2/markdown2-2.1.0-r1.ebuild32
2 files changed, 39 insertions, 3 deletions
diff --git a/dev-python/markdown2/ChangeLog b/dev-python/markdown2/ChangeLog
index 0f624c01e8c4..e1d5afd55ee1 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.5 2012/10/05 12:19:48 djc Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown2/ChangeLog,v 1.6 2013/02/02 12:22:53 mgorny Exp $
+
+*markdown2-2.1.0-r1 (02 Feb 2013)
+
+ 02 Feb 2013; Michał Górny <mgorny@gentoo.org> +markdown2-2.1.0-r1.ebuild:
+ Migrate to distutils-r1.
*markdown2-2.1.0 (05 Oct 2012)
@@ -28,4 +33,3 @@
Add initial ebuild, bug 382575. Thanks to Qingping Hou
<dave2008713@gmail.com>
for ebuild.
-
diff --git a/dev-python/markdown2/markdown2-2.1.0-r1.ebuild b/dev-python/markdown2/markdown2-2.1.0-r1.ebuild
new file mode 100644
index 000000000000..f1053f0fe1ce
--- /dev/null
+++ b/dev-python/markdown2/markdown2-2.1.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 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-r1.ebuild,v 1.1 2013/02/02 12:22:53 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
+
+inherit distutils-r1
+
+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[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+python_prepare_all() {
+ rm -f test/tm-cases/issue52* || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ cd test || die
+ "${PYTHON}" test.py || die "Tests fail with ${EPYTHON}"
+}