summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-03-14 14:25:38 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-03-14 14:25:38 +0000
commit10355db8b9302b4f8d5af7d0b85fefb29dbba2c0 (patch)
tree737e87fe7b780d4b157fd99a97a9b6298820b08b /sci-physics/camfr
parentSwitch to EAPI 2 (diff)
downloadgentoo-2-10355db8b9302b4f8d5af7d0b85fefb29dbba2c0.tar.gz
gentoo-2-10355db8b9302b4f8d5af7d0b85fefb29dbba2c0.tar.bz2
gentoo-2-10355db8b9302b4f8d5af7d0b85fefb29dbba2c0.zip
Switch to EAPI 2
(Portage version: 2.2_rc25/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics/camfr')
-rw-r--r--sci-physics/camfr/ChangeLog8
-rw-r--r--sci-physics/camfr/camfr-20070717-r1.ebuild23
2 files changed, 12 insertions, 19 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog
index c6ddcf10af22..ac7a0b3db72c 100644
--- a/sci-physics/camfr/ChangeLog
+++ b/sci-physics/camfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/camfr
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.12 2008/12/09 15:39:43 bicatali Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.13 2009/03/14 14:25:38 bicatali Exp $
+
+ 14 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org>
+ camfr-20070717-r1.ebuild:
+ Switch to EAPI 2
09 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org>
+files/machine_cfg.py.gentoo, camfr-20070717-r1.ebuild:
diff --git a/sci-physics/camfr/camfr-20070717-r1.ebuild b/sci-physics/camfr/camfr-20070717-r1.ebuild
index 227fc889971c..f28e038b3276 100644
--- a/sci-physics/camfr/camfr-20070717-r1.ebuild
+++ b/sci-physics/camfr/camfr-20070717-r1.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.2 2008/12/09 15:39:43 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r1.ebuild,v 1.3 2009/03/14 14:25:38 bicatali Exp $
+EAPI=2
inherit eutils distutils fortran
DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion"
@@ -14,10 +15,11 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sci-libs/scipy
+ dev-lang/python[tk]
+ dev-python/imaging[tk]
dev-python/matplotlib
dev-libs/boost
dev-libs/blitz
- dev-python/imaging
virtual/lapack"
DEPEND="${RDEPEND}
@@ -26,20 +28,7 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${P/-/_}"
-pkg_setup() {
- if ! built_with_use dev-lang/python tk || \
- ! built_with_use dev-python/imaging tk ; then
- eerror "Python and/or imaging don't have Tk support enabled."
- eerror "Set the tk USE flag and reinstall python and imaging before continuing."
- die
- fi
- FORTRAN="gfortran ifc g77"
- fortran_pkg_setup
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-gcc43.patch
cp "${FILESDIR}"/machine_cfg.py.gentoo machine_cfg.py || die
local lapack_libs=