summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bienstman <pbienst@gentoo.org>2005-10-31 09:08:39 +0000
committerPeter Bienstman <pbienst@gentoo.org>2005-10-31 09:08:39 +0000
commit1ece4eb535c29a766655b3f72c8c9fb4493fcd92 (patch)
tree65370fb1205de9ce00041838ab17925d6916b778 /sci-libs/scipy
parentStable on alpha, bug 108534. (diff)
downloadgentoo-2-1ece4eb535c29a766655b3f72c8c9fb4493fcd92.tar.gz
gentoo-2-1ece4eb535c29a766655b3f72c8c9fb4493fcd92.tar.bz2
gentoo-2-1ece4eb535c29a766655b3f72c8c9fb4493fcd92.zip
Use Fortran eclass.
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'sci-libs/scipy')
-rw-r--r--sci-libs/scipy/scipy-0.3.2.ebuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/sci-libs/scipy/scipy-0.3.2.ebuild b/sci-libs/scipy/scipy-0.3.2.ebuild
index f2c5d1312fdc..14b111cd0cc6 100644
--- a/sci-libs/scipy/scipy-0.3.2.ebuild
+++ b/sci-libs/scipy/scipy-0.3.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 2005-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.3.2.ebuild,v 1.1 2005/08/22 16:31:29 pbienst Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.3.2.ebuild,v 1.2 2005/10/31 09:08:39 pbienst Exp $
-inherit distutils
+inherit distutils fortran
MY_P="SciPy_complete-${PV}"
SRC_URI="http://www.scipy.org/download/scipy/src/${MY_P}.tar.gz"
@@ -15,6 +15,8 @@ IUSE="fftw wxwindows"
KEYWORDS="~x86"
S="${WORKDIR}/${MY_P}"
+FORTAN="g77"
+
DEPEND=">=dev-lang/python-2.3.3
>=dev-python/numeric-21.0
>=sys-devel/gcc-3
@@ -32,11 +34,6 @@ RDEPEND=">=dev-lang/python-2.3.3
wxwindows? ( >=dev-python/wxpython-2.4 )"
src_unpack() {
- if [ -z `which g77` ]; then
- eerror "No Fortran compiler found on the system!"
- eerror "Please add fortran to your USE flags and reemerge gcc!"
- die
- fi
unpack ${A} || die
cd ${S}
epatch ${FILESDIR}/system_info.diff