diff options
author | Mike Gilbert <floppym@gentoo.org> | 2012-05-09 04:12:32 +0000 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2012-05-09 04:12:32 +0000 |
commit | 5f348cae58aee3f2b7d4d5ed83a92fc02cdec598 (patch) | |
tree | aa26ea558bb1c6c8cb9fd724729d95e0a769f2dc /dev-python/markdown | |
parent | Version bump; remove old ebuilds. (diff) | |
download | gentoo-2-5f348cae58aee3f2b7d4d5ed83a92fc02cdec598.tar.gz gentoo-2-5f348cae58aee3f2b7d4d5ed83a92fc02cdec598.tar.bz2 gentoo-2-5f348cae58aee3f2b7d4d5ed83a92fc02cdec598.zip |
Unrestrict python 3, bug 407925 by W. Trevor King.
(Portage version: 2.2.0_alpha102/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/markdown')
-rw-r--r-- | dev-python/markdown/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/markdown/markdown-2.1.1.ebuild | 11 |
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 } |