diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2008-05-05 21:55:20 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2008-05-05 21:55:20 +0000 |
commit | 6513e708718306225009e5998a1d5ce6b0b7826b (patch) | |
tree | b6397ea68d082a2e9c9a9c61c682a5d20d67dcb5 /sci-physics/camfr/files | |
parent | typing error.. enable, not eanble (diff) | |
download | gentoo-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/camfr/files')
-rw-r--r-- | sci-physics/camfr/files/SConstruct | 22 | ||||
-rw-r--r-- | sci-physics/camfr/files/machine_cfg.py | 57 | ||||
-rw-r--r-- | sci-physics/camfr/files/throw_patch.diff | 29 |
3 files changed, 0 insertions, 108 deletions
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(); |