summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-23 01:30:55 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-07-23 01:30:55 +0000
commitf16574d410dfc6b7e11f3cf42a0d2e608c1bebcb (patch)
tree7de2cbe188468282c4d7b4113d5ff8a76ef83948 /dev-python/cython
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-f16574d410dfc6b7e11f3cf42a0d2e608c1bebcb.tar.gz
gentoo-2-f16574d410dfc6b7e11f3cf42a0d2e608c1bebcb.tar.bz2
gentoo-2-f16574d410dfc6b7e11f3cf42a0d2e608c1bebcb.zip
Disable some optimizations to avoid test failures.
(Portage version: 13850-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/cython')
-rw-r--r--dev-python/cython/ChangeLog6
-rw-r--r--dev-python/cython/cython-0.11.2.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/dev-python/cython/ChangeLog b/dev-python/cython/ChangeLog
index 44c85fd7a245..2ddaaa933935 100644
--- a/dev-python/cython/ChangeLog
+++ b/dev-python/cython/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/cython
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.21 2009/07/17 18:18:24 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/ChangeLog,v 1.22 2009/07/23 01:30:55 arfrever Exp $
+
+ 23 Jul 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ cython-0.11.2.ebuild:
+ Disable some optimizations to avoid test failures.
17 Jul 2009; nixnut <nixnut@gentoo.org> cython-0.11.2.ebuild:
ppc stable #277124
diff --git a/dev-python/cython/cython-0.11.2.ebuild b/dev-python/cython/cython-0.11.2.ebuild
index a8d280221ec0..90939c861447 100644
--- a/dev-python/cython/cython-0.11.2.ebuild
+++ b/dev-python/cython/cython-0.11.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.11.2.ebuild,v 1.5 2009/07/17 18:18:24 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cython/cython-0.11.2.ebuild,v 1.6 2009/07/23 01:30:55 arfrever Exp $
NEED_PYTHON="2.2"
-inherit distutils
+inherit distutils flag-o-matic
MY_PN="Cython"
MY_P="${MY_PN}-${PV}"
@@ -26,6 +26,13 @@ S="${WORKDIR}/${MY_P}"
PYTHON_MODNAME="${MY_PN}"
DOCS="ToDo.txt USAGE.txt"
+pkg_setup() {
+ if use amd64; then
+ # Tests fail with some optimizations.
+ replace-flags -O[2-9s]* -O1
+ fi
+}
+
src_install() {
distutils_src_install