diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-07-23 01:30:55 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-07-23 01:30:55 +0000 |
commit | f16574d410dfc6b7e11f3cf42a0d2e608c1bebcb (patch) | |
tree | 7de2cbe188468282c4d7b4113d5ff8a76ef83948 /dev-python/cython/cython-0.11.2.ebuild | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-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/cython-0.11.2.ebuild')
-rw-r--r-- | dev-python/cython/cython-0.11.2.ebuild | 11 |
1 files changed, 9 insertions, 2 deletions
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 |