summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-10 14:27:47 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-10 14:27:47 +0000
commit9671490e9659e8888417189603e25b79255bf19d (patch)
tree39f53586be1e69981a99bf7d2bc34914b6754b47 /sci-libs
parentConstrained older haddock release ot use ghc-6.12 (bug #454442 by fffaaaaew). (diff)
downloadgentoo-2-9671490e9659e8888417189603e25b79255bf19d.tar.gz
gentoo-2-9671490e9659e8888417189603e25b79255bf19d.tar.bz2
gentoo-2-9671490e9659e8888417189603e25b79255bf19d.zip
Use distutils_install_for_testing().
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 42B9401D)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/ChangeLog5
-rw-r--r--sci-libs/scipy/scipy-0.11.0-r1.ebuild11
2 files changed, 6 insertions, 10 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index 7a309e27e26e..7e4f35f004e4 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.84 2013/02/07 17:06:55 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.85 2013/02/10 14:27:47 mgorny Exp $
+
+ 10 Feb 2013; Michał Górny <mgorny@gentoo.org> scipy-0.11.0-r1.ebuild:
+ Use distutils_install_for_testing().
07 Feb 2013; Justin Lecher <jlec@gentoo.org> scipy-0.11.0-r1.ebuild:
Drop py3 support until next version, #455998
diff --git a/sci-libs/scipy/scipy-0.11.0-r1.ebuild b/sci-libs/scipy/scipy-0.11.0-r1.ebuild
index 900ecaca25ef..3417401b981f 100644
--- a/sci-libs/scipy/scipy-0.11.0-r1.ebuild
+++ b/sci-libs/scipy/scipy-0.11.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.11.0-r1.ebuild,v 1.2 2013/02/07 17:06:55 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.11.0-r1.ebuild,v 1.3 2013/02/10 14:27:47 mgorny Exp $
EAPI=5
@@ -104,14 +104,7 @@ python_compile() {
}
python_test() {
- local test_dir="${BUILD_DIR}"/build/tests
- mkdir -p "${test_dir}" || die
- local PYTHONPATH=${test_dir}:${PYTHONPATH}
-
- export PYTHONPATH
-
- esetup.py install --install-lib="${test_dir}" \
- --install-scripts="${test_dir}/bin" ${SCIPY_FCONFIG}
+ distutils_install_for_testing ${SCIPY_FCONFIG}
cd "${TMPDIR}" || die
"${PYTHON}" -c "