Use Fortran eclass.
authorPeter Bienstman <pbienst@gentoo.org>
Mon, 31 Oct 2005 09:08:39 +0000 (09:08 +0000)
committerPeter Bienstman <pbienst@gentoo.org>
Mon, 31 Oct 2005 09:08:39 +0000 (09:08 +0000)
Package-Manager: portage-2.0.51.22-r3

sci-libs/scipy/Manifest
sci-libs/scipy/scipy-0.3.2.ebuild

index 2aef7452b2e797105076812cfdd80ffb524dba08..659cb180c4109a9da4f27436dfc1ee2924d7007a 100644 (file)
@@ -1,4 +1,4 @@
-MD5 2147c6991d25232a30351710c44138ae scipy-0.3.2.ebuild 1549
+MD5 c48241d7cc7765759cf9eb54bbdff32f scipy-0.3.2.ebuild 1414
 MD5 fc6189cd82baf2023e3667455578cc22 ChangeLog 418
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
 MD5 a5ac5edc39d8266b13659fd429e8e939 files/system_info.diff 2155
index f2c5d1312fdc3ca92c71bfce79e6b7095f90deab..14b111cd0cc6fa8325bb83c58ba1113e22299134 100644 (file)
@@ -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