summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/markdown')
-rw-r--r--dev-python/markdown/ChangeLog5
-rw-r--r--dev-python/markdown/markdown-2.1.1.ebuild11
2 files changed, 11 insertions, 5 deletions
diff --git a/dev-python/markdown/ChangeLog b/dev-python/markdown/ChangeLog
index f0b103fb37f1..11c0dd743172 100644
--- a/dev-python/markdown/ChangeLog
+++ b/dev-python/markdown/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/markdown
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.19 2012/02/20 07:57:32 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/ChangeLog,v 1.20 2012/05/09 04:12:32 floppym Exp $
+
+ 09 May 2012; Mike Gilbert <floppym@gentoo.org> markdown-2.1.1.ebuild:
+ Unrestrict python 3, bug 407925 by W. Trevor King.
*markdown-2.1.1 (20 Feb 2012)
diff --git a/dev-python/markdown/markdown-2.1.1.ebuild b/dev-python/markdown/markdown-2.1.1.ebuild
index e376e9bd5432..359ffe043193 100644
--- a/dev-python/markdown/markdown-2.1.1.ebuild
+++ b/dev-python/markdown/markdown-2.1.1.ebuild
@@ -1,11 +1,9 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.1.ebuild,v 1.1 2012/02/20 07:57:32 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/markdown/markdown-2.1.1.ebuild,v 1.2 2012/05/09 04:12:32 floppym Exp $
EAPI="3"
-PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="3.*"
inherit distutils
@@ -38,7 +36,12 @@ src_install() {
src_test() {
testing() {
- "$(PYTHON)" run-tests.py
+ cp -r run-tests.py tests build-${PYTHON_ABI}/ || return
+ cd build-${PYTHON_ABI}
+ if [[ $(python_get_version -l --major) == 3 ]]; then
+ 2to3 -n -w --no-diffs tests || return
+ fi
+ PYTHONPATH=lib "$(PYTHON)" run-tests.py
}
python_execute_function testing
}