summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-05-05 21:55:20 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-05-05 21:55:20 +0000
commit6513e708718306225009e5998a1d5ce6b0b7826b (patch)
treeb6397ea68d082a2e9c9a9c61c682a5d20d67dcb5 /sci-physics
parenttyping error.. enable, not eanble (diff)
downloadgentoo-2-6513e708718306225009e5998a1d5ce6b0b7826b.tar.gz
gentoo-2-6513e708718306225009e5998a1d5ce6b0b7826b.tar.bz2
gentoo-2-6513e708718306225009e5998a1d5ce6b0b7826b.zip
Removed old version
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/camfr/ChangeLog8
-rw-r--r--sci-physics/camfr/camfr-1.2.ebuild58
-rw-r--r--sci-physics/camfr/files/SConstruct22
-rw-r--r--sci-physics/camfr/files/machine_cfg.py57
-rw-r--r--sci-physics/camfr/files/throw_patch.diff29
5 files changed, 6 insertions, 168 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog
index d22f2196de6f..cdfeac2a8079 100644
--- a/sci-physics/camfr/ChangeLog
+++ b/sci-physics/camfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/camfr
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.6 2007/08/21 20:39:12 pbienst Exp $
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.7 2008/05/05 21:55:20 bicatali Exp $
+
+ 05 May 2008; Sébastien Fabbro <bicatali@gentoo.org> -files/SConstruct,
+ -files/machine_cfg.py, -files/throw_patch.diff, -camfr-1.2.ebuild:
+ Removed old version
*camfr-20070717 (21 Aug 2007)
diff --git a/sci-physics/camfr/camfr-1.2.ebuild b/sci-physics/camfr/camfr-1.2.ebuild
deleted file mode 100644
index 7e3ced07a073..000000000000
--- a/sci-physics/camfr/camfr-1.2.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-1.2.ebuild,v 1.4 2007/07/15 06:01:18 mr_bones_ Exp $
-
-inherit eutils distutils fortran
-
-S=${WORKDIR}/camfr_${PV}
-DESCRIPTION="Full vectorial Maxwell solver based on eigenmode expansion"
-SRC_URI="mirror://sourceforge/camfr/${P}.tgz"
-HOMEPAGE="http://camfr.sourceforge.net/"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86"
-DEPEND="dev-lang/python
- >=dev-util/scons-0.94
- >=dev-python/numeric-23.1
- >=dev-libs/boost-1.30.2
- >=dev-python/imaging-1.1.4
- >=dev-libs/blitz-0.7
- virtual/lapack
- virtual/tetex
- virtual/ghostscript
- >=app-text/texi2html-1.64"
-FORTAN="g77"
-
-src_unpack() {
- python -c "import ImageTk" 2>/dev/null
- if [ $? -ne 0 ]; then
- eerror "Python and imaging don't have Tk support enabled."
- eerror "Set the tcltk USE flag and reinstall python and imaging before continuing."
- die
- fi
-
- unpack ${P}.tgz
- cp ${FILESDIR}/machine_cfg.py ${S}/machine_cfg.py
- cp ${FILESDIR}/SConstruct ${S}
- epatch ${FILESDIR}/throw_patch.diff
- echo '1;' >> ${S}/docs/texi2html.init
-}
-
-src_compile() {
-
- cd ${S}
- distutils_src_compile
-
- cd ${S}/docs
- make
-}
-
-src_install() {
- distutils_src_install
-
- cp ${S}/docs/camfr.pdf ${D}/usr/share/doc/${P}
- dohtml ${S}/docs/*.html ${S}/docs/*.css
- mkdir ${D}/usr/share/doc/${P}/html/figs
- cp ${S}/docs/figs/*.png ${D}/usr/share/doc/${P}/html/figs
- cp ${S}/docs/figs/*.gif ${D}/usr/share/doc/${P}/html/figs
-}
diff --git a/sci-physics/camfr/files/SConstruct b/sci-physics/camfr/files/SConstruct
deleted file mode 100644
index 349d068cd0bd..000000000000
--- a/sci-physics/camfr/files/SConstruct
+++ /dev/null
@@ -1,22 +0,0 @@
-from machine_cfg import *
-
-SConsignFile() # Tell Scons not to write data all over the file system.
-
-Default("camfr")
-import os
-
-# Construct build environments.
-
-env = Environment(CPPPATH = include_dirs,
- LIBPATH = library_dirs,
- CC = cc, CCFLAGS = flags,
- CXX = cxx, CXXFLAGS = flags,
- F77 = f77, F77FLAGS = fflags,
- LINK = link, LINKFLAGS = link_flags,
- LIBS = libs, SHLIBPREFIX = "",
- ENV = {'PATH' : os.environ['PATH']})
-
-env_noopt = env.Copy(CCFLAGS = flags_noopt, CXXFLAGS = flags_noopt)
-
-Export("env", "env_noopt")
-SConscript("camfr/SConscript") \ No newline at end of file
diff --git a/sci-physics/camfr/files/machine_cfg.py b/sci-physics/camfr/files/machine_cfg.py
deleted file mode 100644
index 2d62abfb0eee..000000000000
--- a/sci-physics/camfr/files/machine_cfg.py
+++ /dev/null
@@ -1,57 +0,0 @@
-# This Python script contains all the machine dependent settings
-# needed during the build process.
-
-# Get compiler flags from Gentoo's /etc/make.conf.
-
-import popen2
-
-r, w = popen2.popen2("source /etc/make.conf ; echo $CXXFLAGS")
-CXXFLAGS = r.readline().strip()
-r.close()
-w.close()
-
-# Compilers to be used.
-
-cc = "gcc"
-cxx = "g++"
-f77 = "gfortran -fPIC"
-
-link = cxx
-link_flags = ""
-
-# Compiler flags.
-#
-# Note: for the Fortran name definition you can define one of the following
-# preprocessor macros:
-#
-# FORTRAN_SYMBOLS_WITHOUT_TRAILING_UNDERSCORES
-# FORTRAN_SYMBOLS_WITH_SINGLE_TRAILING_UNDERSCORE
-# FORTRAN_SYMBOLS_WITH_DOUBLE_TRAILING_UNDERSCORES
-
-base_flags = "-ftemplate-depth-60 \
- -DFORTRAN_SYMBOLS_WITH_SINGLE_TRAILING_UNDERSCORE -DNDEBUG"
-
-flags_noopt = base_flags
-flags = base_flags + CXXFLAGS
-fflags = flags
-
-# Include directories.
-
-include_dirs = ["/usr/include/python2.4"]
-
-# Library directories.
-
-library_dirs = [""]
-
-# Library names.
-
-libs = ["boost_python", "blitz", "lapack", "blas", "gfortran"]
-
-# Command to strip library of excess symbols:
-
-dllsuffix = ".so"
-strip_command = "strip --strip-unneeded camfr/_camfr" + dllsuffix
-
-# Extra files to copy into installation directory.
-
-extra_files = [("doc", ["docs/camfr.pdf"])]
diff --git a/sci-physics/camfr/files/throw_patch.diff b/sci-physics/camfr/files/throw_patch.diff
deleted file mode 100644
index 4830f99d6f02..000000000000
--- a/sci-physics/camfr/files/throw_patch.diff
+++ /dev/null
@@ -1,29 +0,0 @@
---- camfr_1.2/camfr/camfr_wrap.cpp 2003-11-03 16:03:13.000000000 +0100
-+++ camfr_1.2_new/camfr/camfr_wrap.cpp 2006-02-23 15:29:36.000000000 +0100
-@@ -352,7 +352,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_function only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- PythonFunction f(o);
-@@ -395,7 +395,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_gaussian only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- GaussianFunction f(height,width,pos);
-@@ -442,7 +442,7 @@
- {
- PyErr_SetString(PyExc_ValueError,
- "set_inc_field_plane_Wave only implemented for slabs.");
-- throw boost::python::argument_error();
-+ exit (-1); //throw boost::python::argument_error();
- }
-
- Complex index = slab->get_core()->n();