r36389 - in /packages/code-aster/aster/aster/trunk/debian: ./ aster-dbg/ aster-dbg/usr/ aster-dbg/usr/share/ aster-dbg/usr/share/doc/ aster-dbg/usr/share/doc/aster-dbg/ patches/
trophime-guest at users.alioth.debian.org
trophime-guest at users.alioth.debian.org
Fri Apr 16 18:56:29 UTC 2010
Author: trophime-guest
Date: Fri Apr 16 18:56:29 2010
New Revision: 36389
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36389
Log:
[svn-inject] Applying Debian modifications to trunk
Added:
packages/code-aster/aster/aster/trunk/debian/ (with props)
packages/code-aster/aster/aster/trunk/debian/README.source
packages/code-aster/aster/aster/trunk/debian/aster-config.patch
packages/code-aster/aster/aster/trunk/debian/aster-dbg/
packages/code-aster/aster/aster/trunk/debian/aster-dbg.debhelper.log
packages/code-aster/aster/aster/trunk/debian/aster-dbg.substvars
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/changelog.Debian
packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/copyright
packages/code-aster/aster/aster/trunk/debian/changelog
packages/code-aster/aster/aster/trunk/debian/compat
packages/code-aster/aster/aster/trunk/debian/config-mpi.txt
packages/code-aster/aster/aster/trunk/debian/config.txt
packages/code-aster/aster/aster/trunk/debian/control
packages/code-aster/aster/aster/trunk/debian/copyright
packages/code-aster/aster/aster/trunk/debian/patches/
packages/code-aster/aster/aster/trunk/debian/patches/series
packages/code-aster/aster/aster/trunk/debian/patches/setup.cfg.patch
packages/code-aster/aster/aster/trunk/debian/patches/setup.py.patch
packages/code-aster/aster/aster/trunk/debian/profile.sh
packages/code-aster/aster/aster/trunk/debian/pycompat
packages/code-aster/aster/aster/trunk/debian/pyversions
packages/code-aster/aster/aster/trunk/debian/rules (with props)
Propchange: packages/code-aster/aster/aster/trunk/debian/
------------------------------------------------------------------------------
mergeWithUpstream = 1
Added: packages/code-aster/aster/aster/trunk/debian/README.source
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/README.source?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/README.source (added)
+++ packages/code-aster/aster/aster/trunk/debian/README.source Fri Apr 16 18:56:29 2010
@@ -1,0 +1,7 @@
+This package uses quilt to manage all modifications to the upstream
+source. Changes are stored in the source package as diffs in
+debian/patches and applied during the build.
+
+See /usr/share/doc/quilt/README.source for a detailed explanation.
+
+The upstream source file contains non-free files which have been removed.
Added: packages/code-aster/aster/aster/trunk/debian/aster-config.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/aster-config.patch?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/aster-config.patch (added)
+++ packages/code-aster/aster/aster/trunk/debian/aster-config.patch Fri Apr 16 18:56:29 2010
@@ -1,0 +1,165 @@
+--- aster-9.2.0/config.txt~ 2007-12-20 11:49:45.000000000 -0500
++++ aster-9.2.0/config.txt 2008-02-27 14:47:28.000000000 -0500
+@@ -32,46 +32,46 @@
+ # MAKE_SURCH_OFFI/MAKE_CAPY_OFFI : Python modules to compiling elements catalogs
+ # CRP / CRS : tools to check source files and programming rules
+ #
+-ENV_SH | env | - | ?ENV_SH?
++ENV_SH | env | - | profile.sh
+ #
+ LIB | ar | ? | /usr/bin/ar -rv
+ #
+-BIBL | python | 2.3 | ?PYTHONLIB?
+-BIBL | med | 2.3.1 | ?MEDLIB?
+-BIBL | hdf5 | 1.6.4 | ?HDFLIB?
+-BIBL | sys | ? | ?SYSLIB? ?OTHERLIB?
+-BIBL | mpi | 2 | ?MPILIB?
+-BIBL | zmat | 8.3 | ?ZMATLIB?
+-BIBL | mumps | ? | ?MUMPSLIB?
+-BIBL | scotch | 4.0 | ?SCOTCHLIB?
+-BIBL | math | ? | ?LAPACKLIB?
+-#
+-NOBUILD | option | ? | ?NOBUILD?
+-#
+-PYTHON | python | 2.3 | ?PYTHON_EXE?
+-#
+-LINK | link | ? | ?LD?
+-OPTL | link | ? | ?LDFLAGS?
+-#
+-CC | cc | ? | ?CC?
+-OPTC_D | cc | ? | -c ?CFLAGS_DBG?
+-OPTC_O | cc | ? | -c ?CFLAGS?
+-INCL | include | ? | ?CINCLUDE?
+-#
+-F77 | f77 | ? | ?F77?
+-OPTF_D | f77 | ? | -c ?FFLAGS_DBG?
+-OPTF_O | f77 | ? | -c ?FFLAGS?
+-INCLF | include | ? | ?FINCLUDE?
+-#
+-F90 | f90 | ? | ?F90?
+-OPTF90_D | f90 | ? | -c ?F90FLAGS_DBG?
+-OPTF90_O | f90 | ? | -c ?F90FLAGS?
+-INCLF90 | include | ? | ?F90INCLUDE?
++BIBL | python | 2.3 | -L/usr/lib -L/usr/lib/python2.5/config -lpython2.5
++BIBL | med | 2.3.1 | -L/usr/lib -lmed
++BIBL | hdf5 | 1.6.4 | -L/usr/lib -lhdf5
++BIBL | sys | ? | -Wl,--allow-multiple-definition -Wl,--export-dynamic -lieee -ldl -lpthread -lutil -lm -L/usr/lib -lz
++BIBL | mpi | 2 | -L/usr/lib -lmpi
++BIBL | zmat | 8.3 |
++BIBL | mumps | ? |
++BIBL | scotch | 4.0 | -L/usr/lib -lscotch -lscotcherr
++BIBL | math | ? | -L/usr/lib -llapack -L/usr/lib -lblas -L/usr/lib -lgfortran
++#
++NOBUILD | option | ? | bibfor/from_c
++#
++PYTHON | python | 2.3 | /usr/bin/python
++#
++LINK | link | ? | /usr/bin/gfortran
++OPTL | link | ? | -v
++#
++CC | cc | ? | /usr/bin/gcc
++OPTC_D | cc | ? | -c -g -DLINUX64
++OPTC_O | cc | ? | -c -O2 -DLINUX64
++INCL | include | ? | -IASTER_ROOT/bibc/include -I/usr/include/python2.5 -I/usr/lib/openmpi/include -I/usr/include/scotch
++#
++F77 | f77 | ? | /usr/bin/gfortran
++OPTF_D | f77 | ? | -c -g -ffixed-line-length-0 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
++OPTF_O | f77 | ? | -c -O2 -ffixed-line-length-0 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
++INCLF | include | ? |
++#
++F90 | f90 | ? | /usr/bin/gfortran
++OPTF90_D | f90 | ? | -c -g -ffixed-line-length-0 -x f77-cpp-input -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
++OPTF90_O | f90 | ? | -c -O2 -ffixed-line-length-0 -x f77-cpp-input -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
++INCLF90 | include | ? |
+ #
+ G77_AGLA | g77 | ? | unused
+ #
+ SRCFOR | src | 11-04 | bibfor
+-#?HAVE_F90?SRCF90 | src | 11-04 | bibf90
++#SRCF90 | src | 11-04 | bibf90
+ SRCFERM | src | 11-04 | fermetur
+ SRCC | src | 11-04 | bibc
+ SRCPY | src | 11-04 | bibpyt
+@@ -87,10 +87,10 @@
+ BINCMDE | bin | 11-04 | commande
+ BINELE | bin | 11-04 | elements
+ BINPICKLED | bin | 11-04 | cata_ele.pickled
+-BINLIB_NODBG | bin | 11-04 | lib/libaster.a
+-BINLIB_DBG | bin | 11-04 | lib/libasterd.a
+-BINLIBF_NODBG | bin | 02-05 | lib/libferm.a
+-BINLIBF_DBG | bin | 02-05 | lib/libfermd.a
++BINLIB_NODBG | bin | 11-04 | libaster.a
++BINLIB_DBG | bin | 11-04 | libasterd.a
++BINLIBF_NODBG | bin | 02-05 | libferm.a
++BINLIBF_DBG | bin | 02-05 | libfermd.a
+ BINOBJ_NODBG | bin | 11-04 | obj/aster
+ BINOBJF_NODBG | bin | 11-04 | obj/ferm
+ BINOBJ_DBG | bin | 11-04 | obj/asterd
+@@ -103,9 +103,9 @@
+ MAKE_SURCH_OFFI | build | 11-04 | Lecture_Cata_Ele/make_surch_offi.py
+ MAKE_CAPY_OFFI | build | 11-04 | Lecture_Cata_Ele/make_capy_offi.py
+ #
+-REPOUT | exec | 11-04 | ?TOOLS_DIR?
+-REPMAT | exec | 02-05 | ?ASTER_ROOT?/?ASTER_VERSION?/materiau
+-REPDEX | exec | 02-05 | ?ASTER_ROOT?/?ASTER_VERSION?/datg
++REPOUT | exec | 11-04 | /usr/bin
++REPMAT | exec | 02-05 | materiau
++REPDEX | exec | 02-05 | datg
+ #
+ SUPERV | exec | 03-02 | Accas
+ SUPERV | exec | 03-02 | Build
+@@ -120,6 +120,6 @@
+ SUPERV | exec | 03-02 | Utilitai
+ SUPERV | exec | 03-02 | Validation
+ #
+-GZIP | tool | ? | ?GZIP?
++GZIP | tool | ? | /bin/gzip
+ #
+ I18N | i18n | - |
+--- aster-9.2.0/Makefile~ 2007-12-20 11:49:45.000000000 -0500
++++ aster-9.2.0/Makefile 2008-02-27 14:47:32.000000000 -0500
+@@ -4,13 +4,13 @@
+ # Warning : `as_run` does not work exactly as a Makefile
+
+
+-ASTER_ROOT = ?ASTER_ROOT?
+-ASTER_VERSION = ?ASTER_VERSION?
+-TOOLS_DIR = ?TOOLS_DIR?
++ASTER_ROOT = $(CURDIR)
++ASTER_VERSION = STA9.2
++TOOLS_DIR = $(CURDIR)/bin
+
+ as_run = $(TOOLS_DIR)/as_run
+-config = $(ASTER_ROOT)/$(ASTER_VERSION)/config.txt
+-astout_export = $(ASTER_ROOT)/$(ASTER_VERSION)/astout.export
++config = $(CURDIR)/config.txt
++astout_export = $(CURDIR)/astout.export
+
+
+ default : all
+--- aster-9.2.0/astout.export~ 2007-12-20 11:49:45.000000000 -0500
++++ aster-9.2.0/astout.export 2008-02-27 14:48:29.000000000 -0500
+@@ -2,9 +2,9 @@
+ # (Write permission is required to write results in 'resu_test')
+ #
+ P actions astout
+-P version ?ASTER_VERSION?
++P version STA9.2
+ P debug nodebug
+-A rep_mat ?ASTER_ROOT?/?ASTER_VERSION?/materiau
++A rep_mat materiau
+
+ P mode interactif
+
+@@ -15,8 +15,8 @@
+ P facmtps 1
+
+ # list of the test to run
+-F list ?ASTER_ROOT?/?ASTER_VERSION?/astest/liste_internet D 0
+-#F list ?ASTER_ROOT?/?ASTER_VERSION?/etude/liste_etude D 0
++F list astest/liste_internet D 0
++#F list liste_etude D 0
+
+ # results destination
+-R resu_test ?ASTER_ROOT?/?ASTER_VERSION?/astest R 0
++R resu_test astest R 0
Added: packages/code-aster/aster/aster/trunk/debian/aster-dbg.debhelper.log
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/aster-dbg.debhelper.log?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/aster-dbg.debhelper.log (added)
+++ packages/code-aster/aster/aster/trunk/debian/aster-dbg.debhelper.log Fri Apr 16 18:56:29 2010
@@ -1,0 +1,22 @@
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_installinfo
+dh_installmenu
+dh_installcron
+dh_installinit
+dh_installdebconf
+dh_installemacsen
+dh_installcatalogs
+dh_installpam
+dh_installlogrotate
+dh_installlogcheck
+dh_installchangelogs
+dh_installudev
+dh_lintian
+dh_install
+dh_link
+dh_installmime
+dh_pycentral
Added: packages/code-aster/aster/aster/trunk/debian/aster-dbg.substvars
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/aster-dbg.substvars?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/aster-dbg.substvars (added)
+++ packages/code-aster/aster/aster/trunk/debian/aster-dbg.substvars Fri Apr 16 18:56:29 2010
@@ -1,0 +1,1 @@
+python:Versions=>= 2.5
Added: packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/changelog.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/changelog.Debian?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/changelog.Debian (added)
+++ packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/changelog.Debian Fri Apr 16 18:56:29 2010
@@ -1,0 +1,39 @@
+aster (10.1.0-4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 26 Mar 2010 09:47:31 +0100
+
+aster (10.0.3-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 13 Nov 2009 14:34:32 +0100
+
+aster (9.2.0-3) unstable; urgency=low
+
+ * Added gfortran to Build-Depends.
+ * Added packages python-aster, aster-data and aster-test.
+ * Changed non-debugging binary name back to asteru, with alternatives
+ symlink providing "aster" in aster and aster-dbg packages.
+ * Added proper Build-Depends on lam where openmpi is not available.
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Tue, 27 May 2008 17:02:49 -0400
+
+aster (9.2.0-2) unstable; urgency=low
+
+ * Added python-all-dev and python-numpy to Build-Depends.
+ * Copyright in format http://wiki.debian.org/Proposals/CopyrightFormat
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Thu, 22 May 2008 15:10:44 -0400
+
+aster (9.2.0-1) unstable; urgency=low
+
+ * First packaging attempt.
+ * Used a very hackish symlink system to trick astk into thinking that
+ the build dir is the ASTK root dir.
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Wed, 27 Feb 2008 15:41:25 -0500
+
Added: packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/copyright?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/copyright (added)
+++ packages/code-aster/aster/aster/trunk/debian/aster-dbg/usr/share/doc/aster-dbg/copyright Fri Apr 16 18:56:29 2010
@@ -1,0 +1,28 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Adam C. Powell, IV <hazelsct at debian.org>
+Debianized-Date: Wed, 27 Feb 2008 15:41:25 -0500
+Upstream-Author: EDF (Electricité de France)
+Original-Source: http://www.code-aster.org/V2/spip.php?article90
+ File aster-full-src-9.2.0-2.noarch.tar.gz contains multiple tarballs, several
+ of which already have Debian packages. aster is one of the tarballs contained
+ in that file.
+
+Files: *
+Copyright: COPYRIGHT (C) 1991 - 2003 EDF R&D WWW.CODE-ASTER.ORG
+License: GPL-2+
+ THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+ IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+ THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+ (AT YOUR OPTION) ANY LATER VERSION.
+ .
+ THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+ WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+ GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+ .
+ YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+ ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+ 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in file /usr/share/common-licenses/GPL-2
Added: packages/code-aster/aster/aster/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/changelog?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/changelog (added)
+++ packages/code-aster/aster/aster/trunk/debian/changelog Fri Apr 16 18:56:29 2010
@@ -1,0 +1,39 @@
+aster (10.1.0-4-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 26 Mar 2010 09:47:31 +0100
+
+aster (10.0.3-2.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * New upstream version
+
+ -- Christophe Trophime <christophe.trophime at grenoble.cnrs.fr> Fri, 13 Nov 2009 14:34:32 +0100
+
+aster (9.2.0-3) unstable; urgency=low
+
+ * Added gfortran to Build-Depends.
+ * Added packages python-aster, aster-data and aster-test.
+ * Changed non-debugging binary name back to asteru, with alternatives
+ symlink providing "aster" in aster and aster-dbg packages.
+ * Added proper Build-Depends on lam where openmpi is not available.
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Tue, 27 May 2008 17:02:49 -0400
+
+aster (9.2.0-2) unstable; urgency=low
+
+ * Added python-all-dev and python-numpy to Build-Depends.
+ * Copyright in format http://wiki.debian.org/Proposals/CopyrightFormat
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Thu, 22 May 2008 15:10:44 -0400
+
+aster (9.2.0-1) unstable; urgency=low
+
+ * First packaging attempt.
+ * Used a very hackish symlink system to trick astk into thinking that
+ the build dir is the ASTK root dir.
+
+ -- Adam C. Powell, IV <hazelsct at debian.org> Wed, 27 Feb 2008 15:41:25 -0500
+
Added: packages/code-aster/aster/aster/trunk/debian/compat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/compat?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/compat (added)
+++ packages/code-aster/aster/aster/trunk/debian/compat Fri Apr 16 18:56:29 2010
@@ -1,0 +1,1 @@
+7
Added: packages/code-aster/aster/aster/trunk/debian/config-mpi.txt
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/config-mpi.txt?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/config-mpi.txt (added)
+++ packages/code-aster/aster/aster/trunk/debian/config-mpi.txt Fri Apr 16 18:56:29 2010
@@ -1,0 +1,135 @@
+# Configuration file
+#
+# Fields are separated by a " | " (the space is significative)
+#
+# Keywords :
+# ENV_SH : environment script (absolute filename or relative to current directory)
+# LIB : archiver
+# BIBL : librairies linked with Code_Aster (with options -L/-l eventually)
+# PYTHON : Python binary
+# LINK : linker command
+# OPTL : linker options
+# CC : C compiler command
+# DEFS : pre-processor #define commands separated by space or comma
+# they will be added to all compilation options OPTx_x
+# OPTC_D : C compiler options using DEBUG mode
+# OPTC_O : C compiler options using NODEBUG mode
+# INCL : C include flags
+# F77 : Fortran compiler command
+# OPTF_D : Fortran compiler options using DEBUG mode
+# OPTF_O : Fortran compiler options using NODEBUG mode
+# INCLF : Fortran include flags
+# F90 : Fortran 90 compiler command
+# OPTF90_D : Fortran 90 compiler options using DEBUG mode
+# OPTF90_O : Fortran 90 compiler options using NODEBUG mode
+# INCLF90 : Fortran 90 include flags
+# G77_AGLA : used only for configuration management of EDF version
+# SUPERV : Code_Aster Python packages
+# REPPY : name of 'bibpyt' in the temporary execution directory
+# ARGPYT : main python module
+# ARGEXE : arguments passed to Code_Aster executable
+# REPOUT : tools directory
+# MAKE_SURCH_OFFI/MAKE_CAPY_OFFI : Python modules to compiling elements catalogs
+# CRP / CRS : tools to check source files and programming rules
+# ID_PERF : a label to identify a group of machines (use by TEST_TEMPS command)
+#
+ID_PERF | id | - | calcul8
+#
+ENV_SH | env | - | profile.sh
+#
+LIB | ar | ? | /usr/bin/ar -rv
+#
+BIBL | python | 2.4 | -L/usr/lib -L/usr/lib/python2.5/config -lpython2.5
+BIBL | med | 2.3.5 | -L/usr/lib -lmed
+BIBL | hdf5 | 1.6.5 | -L/usr/lib -lhdf5
+BIBL | zmat | 8.4 |
+BIBL | mumps | 4.9.2 | -L/usr/lib -ldmumps_ptscotch -L/usr/lib -lzmumps_ptscotch -L/usr/lib -lsmumps_ptscotch -L/usr/lib -lcmumps_ptscotch -L/usr/lib -lmumps_common_ptscotch -L/usr/lib -lpord_ptscotch -L/usr/lib -lesmumps -lptscotch -lptscotcherr
+BIBL | scotch | 4.0 | -L/usr/lib -lptscotch -L/usr/lib -lptscotcherr -L/usr/lib -lptscotcherrexit
+BIBL | scalapack | 1.8 | -lscalapack_openmpi -lblacs_openmpi -lblacsF77init_openmpi -lblacs_openmpi
+BIBL | math | ? | -L/usr/lib -llapack -L/usr/lib -lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.4 -lgfortran
+BIBL | mpi | 2 |
+BIBL | c++ | ? | -L/usr/lib/gcc/x86_64-linux-gnu/4.4 -lstdc++ -lsupc++
+BIBL | sys | ? | -Wl,--allow-multiple-definition -Wl,--export-dynamic -lieee -ldl -lutil -lm -L/usr/lib -lpthread -L/usr/lib -lz
+#
+DEFS | defined | ? | LINUX64 _USE_MPI _HAVE_MUMPS _USE_MPI_MUMPS _USE_MPI_FETI
+#
+NOBUILD | option | ? |
+#
+PYTHON | python | 2.4 | /usr/bin/python2.5
+#
+LINK | link | ? | /usr/bin/mpif90
+OPTL | link | ? |
+#
+CC | cc | ? | /usr/bin/mpicc
+OPTC_D | cc | ? | -c -g -fno-stack-protector -fPIC
+OPTC_O | cc | ? | -c -O2 -fno-stack-protector -fPIC
+INCL | include | ? | -I/usr/share/codeaster/STA10.1_mpi/bibc/include -I/usr/include/python2.5 -I/usr/include/scotch
+#
+F77 | f77 | ? | /usr/bin/mpif90
+OPTF_D | f77 | ? | -c -g -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+OPTF_O | f77 | ? | -c -O2 -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+INCLF | include | ? |
+#
+F90 | f90 | ? | /usr/bin/mpif90
+OPTF90_D | f90 | ? | -c -g -ffixed-line-length-0 -x f77-cpp-input -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+OPTF90_O | f90 | ? | -c -O2 -ffixed-line-length-0 -x f77-cpp-input -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+INCLF90 | include | ? | -I/usr/include
+#
+G77_AGLA | g77 | ? | unused
+#
+SRCFOR | src | 11-04 | bibfor
+SRCF90 | src | 11-04 | bibf90
+SRCFERM | src | 11-04 | fermetur
+SRCC | src | 11-04 | bibc
+SRCPY | src | 11-04 | bibpyt
+SRCCATA | src | 11-04 | catalo
+SRCCAPY | src | 11-04 | catapy
+SRCTEST | src | 11-04 | astest
+SRCMAT | src | 11-04 | materiau
+SRCHIST | src | 11-04 | histor
+#
+MAKE | build | - | debug nodebug
+BIN_NODBG | bin | 11-04 | asteru_mpi
+BIN_DBG | bin | 11-04 | asterd_mpi
+BINCMDE | bin | 11-04 | commande
+BINELE | bin | 11-04 | elements
+BINPICKLED | bin | 11-04 | cata_ele.pickled
+BINLIB_NODBG | bin | 11-04 | lib/libaster_mpi.a
+BINLIB_DBG | bin | 11-04 | lib/libasterd_mpi.a
+BINLIBF_NODBG | bin | 02-05 | lib/libferm_mpi.a
+BINLIBF_DBG | bin | 02-05 | lib/libfermd_mpi.a
+BINOBJ_NODBG | bin | 11-04 | obj/aster
+BINOBJF_NODBG | bin | 11-04 | obj/ferm
+BINOBJ_DBG | bin | 11-04 | obj/asterd
+BINOBJF_DBG | bin | 11-04 | obj/fermd
+#
+REPPY | exec | 11-04 | Python
+ARGPYT | exec | 03-02 | Execution/E_SUPERV.py
+ARGEXE | exec | 03-02 | -eficas_path ./Python
+#
+MAKE_SURCH_OFFI | build | 11-04 | Lecture_Cata_Ele/make_surch_offi.py
+MAKE_CAPY_OFFI | build | 11-04 | Lecture_Cata_Ele/make_capy_offi.py
+#
+REPOUT | exec | 11-04 | /usr/share/codeaster/outils
+REPMAT | exec | 02-05 | /usr/share/codeaster/STA10.1/materiau
+REPDEX | exec | 02-05 | /usr/share/codeaster/STA10.1/datg
+#
+SUPERV | exec | 03-02 | Accas
+SUPERV | exec | 03-02 | Build
+SUPERV | exec | 03-02 | Comportement
+SUPERV | exec | 03-02 | Execution
+SUPERV | exec | 03-02 | Intranet
+SUPERV | exec | 03-02 | Macro
+SUPERV | exec | 12-06 | Meidee
+SUPERV | exec | 09-06 | Messages
+SUPERV | exec | 03-02 | Noyau
+SUPERV | exec | 05-04 | Outils
+SUPERV | exec | 01-07 | SD
+SUPERV | exec | 01-03 | Stanley
+SUPERV | exec | 03-02 | Utilitai
+SUPERV | exec | 03-02 | Validation
+#
+GZIP | tool | ? | gzip
+#
+I18N | i18n | - |
+
Added: packages/code-aster/aster/aster/trunk/debian/config.txt
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/config.txt?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/config.txt (added)
+++ packages/code-aster/aster/aster/trunk/debian/config.txt Fri Apr 16 18:56:29 2010
@@ -1,0 +1,134 @@
+# Configuration file
+#
+# Fields are separated by a " | " (the space is significative)
+#
+# Keywords :
+# ENV_SH : environment script (absolute filename or relative to current directory)
+# LIB : archiver
+# BIBL : librairies linked with Code_Aster (with options -L/-l eventually)
+# PYTHON : Python binary
+# LINK : linker command
+# OPTL : linker options
+# CC : C compiler command
+# DEFS : pre-processor #define commands separated by space or comma
+# they will be added to all compilation options OPTx_x
+# OPTC_D : C compiler options using DEBUG mode
+# OPTC_O : C compiler options using NODEBUG mode
+# INCL : C include flags
+# F77 : Fortran compiler command
+# OPTF_D : Fortran compiler options using DEBUG mode
+# OPTF_O : Fortran compiler options using NODEBUG mode
+# INCLF : Fortran include flags
+# F90 : Fortran 90 compiler command
+# OPTF90_D : Fortran 90 compiler options using DEBUG mode
+# OPTF90_O : Fortran 90 compiler options using NODEBUG mode
+# INCLF90 : Fortran 90 include flags
+# G77_AGLA : used only for configuration management of EDF version
+# SUPERV : Code_Aster Python packages
+# REPPY : name of 'bibpyt' in the temporary execution directory
+# ARGPYT : main python module
+# ARGEXE : arguments passed to Code_Aster executable
+# REPOUT : tools directory
+# MAKE_SURCH_OFFI/MAKE_CAPY_OFFI : Python modules to compiling elements catalogs
+# CRP / CRS : tools to check source files and programming rules
+# ID_PERF : a label to identify a group of machines (use by TEST_TEMPS command)
+#
+ID_PERF | id | - | calcul8
+#
+ENV_SH | env | - | profile.sh
+#
+LIB | ar | ? | /usr/bin/ar -rv
+#
+BIBL | python | 2.4 | -L/usr/lib -L/usr/lib/python2.5/config -lpython2.5
+BIBL | med | 2.3.5 | -L/usr/lib -lmed
+BIBL | hdf5 | 1.6.5 | -L/usr/lib -lhdf5
+BIBL | zmat | 8.4 |
+BIBL | mumps | 4.9.2 | -L/usr/lib -ldmumps_scotch -L/usr/lib -lzmumps_scotch -L/usr/lib -lsmumps_scotch -L/usr/lib -lcmumps_scotch -L/usr/lib -lmumps_common_scotch -L/usr/lib -lpord_scotch -L/usr/lib -lmpiseq -L/usr/lib -lesmumps -lscotch -lscotcherr
+BIBL | scotch | 4.0 | -L/usr/lib -lscotch -L/usr/lib -lscotcherr -L/usr/lib -lscotcherrexit
+BIBL | math | ? | -L/usr/lib -llapack -L/usr/lib -lblas -L/usr/lib/gcc/x86_64-linux-gnu/4.4 -lgfortran
+BIBL | mpi | 2 |
+BIBL | c++ | ? | -L/usr/lib/gcc/x86_64-linux-gnu/4.4 -lstdc++ -lsupc++
+BIBL | sys | ? | -Wl,--allow-multiple-definition -Wl,--export-dynamic -lieee -ldl -lutil -lm -L/usr/lib -lpthread -L/usr/lib -lz
+#
+DEFS | defined | ? | LINUX64 _HAVE_MUMPS
+#
+NOBUILD | option | ? | bibfor/from_c
+#
+PYTHON | python | 2.4 | /usr/bin/python2.5
+#
+LINK | link | ? | /usr/bin/gfortran
+OPTL | link | ? | -fopenmp
+#
+CC | cc | ? | /usr/bin/gcc
+OPTC_D | cc | ? | -c -g -fno-stack-protector -fPIC
+OPTC_O | cc | ? | -c -O2 -fno-stack-protector -fPIC
+INCL | include | ? | -I/usr/share/codeaster/STA10.1/bibc/include -I/usr/include/python2.5 -I/usr/include/scotch
+#
+F77 | f77 | ? | /usr/bin/gfortran
+OPTF_D | f77 | ? | -c -g -fopenmp -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+OPTF_O | f77 | ? | -c -O2 -fopenmp -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+INCLF | include | ? |
+#
+F90 | f90 | ? | /usr/bin/gfortran
+OPTF90_D | f90 | ? | -c -g -ffixed-line-length-0 -x f77-cpp-input -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+OPTF90_O | f90 | ? | -c -O2 -ffixed-line-length-0 -x f77-cpp-input -fPIC -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8 -fdefault-double-8 -fdefault-integer-8 -fdefault-real-8
+INCLF90 | include | ? | -I/usr/include
+#
+G77_AGLA | g77 | ? | unused
+#
+SRCFOR | src | 11-04 | bibfor
+SRCF90 | src | 11-04 | bibf90
+SRCFERM | src | 11-04 | fermetur
+SRCC | src | 11-04 | bibc
+SRCPY | src | 11-04 | bibpyt
+SRCCATA | src | 11-04 | catalo
+SRCCAPY | src | 11-04 | catapy
+SRCTEST | src | 11-04 | astest
+SRCMAT | src | 11-04 | materiau
+SRCHIST | src | 11-04 | histor
+#
+MAKE | build | - | debug nodebug
+BIN_NODBG | bin | 11-04 | asteru
+BIN_DBG | bin | 11-04 | asterd
+BINCMDE | bin | 11-04 | commande
+BINELE | bin | 11-04 | elements
+BINPICKLED | bin | 11-04 | cata_ele.pickled
+BINLIB_NODBG | bin | 11-04 | lib/libaster.a
+BINLIB_DBG | bin | 11-04 | lib/libasterd.a
+BINLIBF_NODBG | bin | 02-05 | lib/libferm.a
+BINLIBF_DBG | bin | 02-05 | lib/libfermd.a
+BINOBJ_NODBG | bin | 11-04 | obj/aster
+BINOBJF_NODBG | bin | 11-04 | obj/ferm
+BINOBJ_DBG | bin | 11-04 | obj/asterd
+BINOBJF_DBG | bin | 11-04 | obj/fermd
+#
+REPPY | exec | 11-04 | Python
+ARGPYT | exec | 03-02 | Execution/E_SUPERV.py
+ARGEXE | exec | 03-02 | -eficas_path ./Python
+#
+MAKE_SURCH_OFFI | build | 11-04 | Lecture_Cata_Ele/make_surch_offi.py
+MAKE_CAPY_OFFI | build | 11-04 | Lecture_Cata_Ele/make_capy_offi.py
+#
+REPOUT | exec | 11-04 | /usr/share/codeaster/outils
+REPMAT | exec | 02-05 | /usr/share/codeaster/STA10.1/materiau
+REPDEX | exec | 02-05 | /usr/share/codeaster/STA10.1/datg
+#
+SUPERV | exec | 03-02 | Accas
+SUPERV | exec | 03-02 | Build
+SUPERV | exec | 03-02 | Comportement
+SUPERV | exec | 03-02 | Execution
+SUPERV | exec | 03-02 | Intranet
+SUPERV | exec | 03-02 | Macro
+SUPERV | exec | 12-06 | Meidee
+SUPERV | exec | 09-06 | Messages
+SUPERV | exec | 03-02 | Noyau
+SUPERV | exec | 05-04 | Outils
+SUPERV | exec | 01-07 | SD
+SUPERV | exec | 01-03 | Stanley
+SUPERV | exec | 03-02 | Utilitai
+SUPERV | exec | 03-02 | Validation
+#
+GZIP | tool | ? | gzip
+#
+I18N | i18n | - |
+
Added: packages/code-aster/aster/aster/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/control?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/control (added)
+++ packages/code-aster/aster/aster/trunk/debian/control Fri Apr 16 18:56:29 2010
@@ -1,0 +1,68 @@
+Source: aster
+Section: science
+Priority: extra
+Maintainer: Adam C. Powell, IV <hazelsct at debian.org>
+Standards-Version: 3.8.4
+Build-Depends: debhelper (>= 7), cdbs, quilt, gfortran (>= 4.3.2), liblapack-dev, libblas-dev, libhdf5-serial-dev, libmed-dev, python-all-dev (>= 2.5), python-support, python-numeric, libmumps-seq-dev, libscotch-dev, metis-edf, omniidl4
+Homepage: http://www.code-aster.org/
+
+Package: aster
+Architecture: any
+Section: science
+Depends: astk, eficas, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Suggests: aster-data, gmsh, grace
+Description: Code_Aster finite element program binary
+ Code_Aster is a finite element solver for partial differential equations. It
+ is particularly suited to problems involving heat transfer, mechanics, fluids,
+ and fluid-structure interactions. It is the product of Electricité de France
+ (EDF) and is ISO 9001-certified.
+
+#Package: aster-mpi
+#Architecture: any
+#Section: science
+#Depends: astk, eficas, ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+#Suggests: aster-data, gmsh, grace
+#Description: Code_Aster finite element program binary
+# Code_Aster is a finite element solver for partial differential equations. It
+# is particularly suited to problems involving heat transfer, mechanics, fluids,
+# and fluid-structure interactions. It is the product of Electricité de France
+# (EDF) and is ISO 9001-certified.
+# .
+# This package contains MPI aster version.
+
+#Package: aster-data
+#Architecture: all
+#Section: science
+#Depends: aster, ${shlibs:Depends}, ${misc:Depends}
+#Description: Code_Aster finite element program data files
+# Code_Aster is a finite element solver for partial differential equations. It
+# is particularly suited to problems involving heat transfer, mechanics, fluids,
+# and fluid-structure interactions. It is the product of Electricité de France
+# (EDF) and is ISO 9001-certified.
+# .
+# This package contains the data files shipped with aster, including the catalo,
+# etude and materiau directories, and the generated files cata_ele.pickled and
+# elements.
+
+#Package: aster-test
+#Architecture: all
+#Section: science
+#Depends: aster, ${shlibs:Depends}, ${misc:Depends}
+#Description: Code_Aster finite element program test files
+# Code_Aster is a finite element solver for partial differential equations. It
+# is particularly suited to problems involving heat transfer, mechanics, fluids,
+# and fluid-structure interactions. It is the product of Electricité de France
+# (EDF) and is ISO 9001-certified.
+# .
+# This package contains the test files shipped in the directory astest.
+
+#Package: homard
+#Architecture: any
+#Section: science
+#Suggests: aster
+#Description: Adaptive Meshing Software by Refinement and Unrefinement
+# The HOMARD software carries out the adaptation of 2D/3D finite element
+# or finite volume meshes by refinement and unrefinement techniques.
+# .
+# See http://www.code-aster.org/outils/homard/menu_homard.en.htm
+# more details
Added: packages/code-aster/aster/aster/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/copyright?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/copyright (added)
+++ packages/code-aster/aster/aster/trunk/debian/copyright Fri Apr 16 18:56:29 2010
@@ -1,0 +1,28 @@
+Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat
+Debianized-By: Adam C. Powell, IV <hazelsct at debian.org>
+Debianized-Date: Wed, 27 Feb 2008 15:41:25 -0500
+Upstream-Author: EDF (Electricité de France)
+Original-Source: http://www.code-aster.org/V2/spip.php?article90
+ File aster-full-src-9.2.0-2.noarch.tar.gz contains multiple tarballs, several
+ of which already have Debian packages. aster is one of the tarballs contained
+ in that file.
+
+Files: *
+Copyright: COPYRIGHT (C) 1991 - 2003 EDF R&D WWW.CODE-ASTER.ORG
+License: GPL-2+
+ THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+ IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+ THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR
+ (AT YOUR OPTION) ANY LATER VERSION.
+ .
+ THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT
+ WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF
+ MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU
+ GENERAL PUBLIC LICENSE FOR MORE DETAILS.
+ .
+ YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE
+ ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,
+ 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 2 can be found in file /usr/share/common-licenses/GPL-2
Added: packages/code-aster/aster/aster/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/patches/series?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/patches/series (added)
+++ packages/code-aster/aster/aster/trunk/debian/patches/series Fri Apr 16 18:56:29 2010
@@ -1,0 +1,2 @@
+setup.cfg.patch
+setup.py.patch
Added: packages/code-aster/aster/aster/trunk/debian/patches/setup.cfg.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/patches/setup.cfg.patch?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/patches/setup.cfg.patch (added)
+++ packages/code-aster/aster/aster/trunk/debian/patches/setup.cfg.patch Fri Apr 16 18:56:29 2010
@@ -1,0 +1,73 @@
+Index: aster-10.1.0-4/setup.cfg
+===================================================================
+--- aster-10.1.0-4.orig/setup.cfg 2010-04-16 18:51:07.000000000 +0200
++++ aster-10.1.0-4/setup.cfg 2010-04-16 19:32:04.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ #-------------------------------------------------------------------------------
+ # Code_Aster toplevel directory (ex: /aster, /opt/aster...)
+-ASTER_ROOT='/opt/aster'
++ASTER_ROOT='/usr/share/codeaster'
+
+ # astk configuration (for network capabilities)
+ # Let the setup configure it for you or define the 3 following parameters :
+@@ -100,29 +100,29 @@
+ #INCLUDEDIR=['/myprefix/include', ]
+
+ # To search for shared libraries first
+-PREFER_SHARED_LIBS=False # False/True
++PREFER_SHARED_LIBS=True # False/True
+
+
+ #-------------------------------------------------------------------------------
+ # Only if hdf5 was previously installed, uncomment following line
+ # and fill next one
+-#_install_hdf5 = False
+-#HOME_HDF = ''
++_install_hdf5 = False
++HOME_HDF = '/usr/lib'
+
+ #-------------------------------------------------------------------------------
+ # Only if med was previously installed, uncomment following line
+ # and fill next one
+-#_install_med = False
+-#HOME_MED = ''
++_install_med = False
++HOME_MED = '/usr/lib'
+
+ #-------------------------------------------------------------------------------
+ # NB : Scotch is installed by default
+ # Uncomment the following line to not install Scotch libraries
+ # (under LGPL, available at http://www.labri.fr/perso/pelegrin/scotch/)
+-#_install_scotch = False
++_install_scotch = False
+
+ # If scotch was previously installed, uncomment and fill following line
+-#HOME_SCOTCH = ''
++HOME_SCOTCH = '/usr/lib'
+
+ #-------------------------------------------------------------------------------
+ # Optionnal packages
+@@ -133,16 +133,19 @@
+
+ # MUMPS libraries (sources available at http://mumps.enseeiht.fr/)
+ # (Fortran 90 compiler is required to use MUMPS with Code_Aster)
+-#HOME_MUMPS='' # which contains lib/libseq directory
++HOME_MUMPS='/usr/lib' # which contains lib/libseq directory
++INCLUDE_MUMPS='include_mumps-4.9.2'
+
+ # ZMAT libraries (commercial, available at http://www.mat.ensmp.fr/)
+ #HOME_ZMAT='' # which contains PUBLIC/lib-Linux4/libZmat_base.so and others
+
+ #-------------------------------------------------------------------------------
+ # Interface between Code_Aster and Salome
+-_install_omniORB = True
+-_install_omniORBpy = True
++HOME_OMNIORB='/usr' # which contains bin/omniidl
++_install_omniORB = False
++_install_omniORBpy = False
+ _install_pylotage = True
+ # Salome version supported by pylotage
+ SALOME_VERSION = 'DEFAULT' # DEFAULT means the last one supported by pylotage
+
++HOME_METIS='/usr'
Added: packages/code-aster/aster/aster/trunk/debian/patches/setup.py.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/patches/setup.py.patch?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/patches/setup.py.patch (added)
+++ packages/code-aster/aster/aster/trunk/debian/patches/setup.py.patch Fri Apr 16 18:56:29 2010
@@ -1,0 +1,645 @@
+Index: aster-10.1.0-4/as_setup.py
+===================================================================
+--- aster-10.1.0-4.orig/as_setup.py 2010-04-16 15:41:42.000000000 +0200
++++ aster-10.1.0-4/as_setup.py 2010-04-16 15:44:49.000000000 +0200
+@@ -157,6 +157,7 @@
+ (default is product-version),
+ .verbose : True for verbose mode,
+ .debug : True for debug mode,
++ .destdir : destdir directory,
+ .installdir : installation directory,
+ .sourcedir : directory where is 'archive',
+ .workdir : directory used for extraction, compilation...
+@@ -181,6 +182,7 @@
+ _fmt_info = _separ+_(""" Installation of : %s %s
+ %s
+ Archive filename : %s
++ Destdir : %s
+ Destination : %s
+ Working directory : %s""")+_separ
+ _fmt_enter = _("entering directory '%s'")
+@@ -197,12 +199,13 @@
+ self.exit_code = None
+ self.temporary_folder=kargs.get('temporary_folder', '/tmp')
+ # product parameters
+- required_args=('product', 'version', 'description', 'installdir', 'sourcedir')
++ required_args=('product', 'version', 'description', 'destdir', 'installdir', 'sourcedir')
+ for arg in required_args:
+ try:
+ setattr(self, arg, kargs[arg])
+ except KeyError, msg:
+ raise SetupError, _('missing argument %s') % str(msg)
++ print(('__init__ destdir = %s') % self.destdir)
+ optionnal_args={
+ 'depend' : None,
+ 'archive' : '%s-%s' % (self.product, self.version),
+@@ -229,7 +232,7 @@
+ )
+ self.actions = kargs.get('actions', default_actions)
+ self.clean_actions = kargs.get('clean_actions', [])
+- for d in ('installdir', 'sourcedir', 'workdir'):
++ for d in ('destdir', 'installdir', 'sourcedir', 'workdir'):
+ setattr(self, d, os.path.abspath(getattr(self, d)))
+
+ # external methods
+@@ -310,7 +313,11 @@
+ # check for permissions and create directories
+ self.VerbStart(_('Checking permissions...'))
+ iret=0
+- ldirs=[self.installdir, self.workdir]
++ print(('destdir = %s') % self.destdir)
++ print(('installdir = %s') % self.installdir)
++ print(('workdir = %s') % self.workdir)
++ ldirs=[self.destdir+self.installdir, self.destdir+self.workdir]
++ print ldirs
+ for d in ldirs:
+ try:
+ if not os.path.exists(d):
+@@ -331,7 +338,7 @@
+ """Print informations about the installation of current product
+ """
+ self._print(self._fmt_info % (self.product, self.version, self.description,
+- self.archive, self.installdir, self.workdir))
++ self.archive, self.destdir, self.installdir, self.workdir))
+
+ #-------------------------------------------------------------------------------
+ def Extract(self, **kargs):
+@@ -348,10 +355,11 @@
+ archive = kargs.get('archive', os.path.join(self.sourcedir,self.archive))
+ command = kargs.get('command')
+ newname = kargs.get('extract_as', None)
+- path=self.workdir
++ path=self.destdir+self.workdir
++ print(_('extract to = %s') % path)
+ iextr_as=newname<>None and self.content<>newname and self.content<>'.'
+ if iextr_as:
+- path=os.path.join(self.workdir,'tmp_extract')
++ path=os.path.join(self.destdir+self.workdir,'tmp_extract')
+ if not os.path.exists(path):
+ os.makedirs(path)
+
+@@ -504,10 +512,14 @@
+ postinst = kargs.get('postinst')
+ postdest = kargs.get('postdest', self.installdir)
+ postdest = self.special_vars(postdest)
+- path = kargs.get('path', os.path.join(self.workdir,self.content))
++ path = kargs.get('path', os.path.join(self.destdir+self.workdir,self.content))
+ path = self.special_vars(path)
+ only_postinst = kargs.get('only_post', False)
+
++ print "destdir=", self.destdir
++ print "workdir=", self.workdir
++ print "content=", self.content
++ print "path=", path
+ if not os.path.isdir(path):
+ self.exit_code=4
+ raise SetupChgFilesError, _('directory not exists %s') % path
+@@ -607,10 +619,11 @@
+ """Perform installation of the product.
+ command : alternative command line
+ path : directory to build
++ destdir : destination directory to install
+ """
+ self._print(self._fmt_title % _('Installation'))
+ command = kargs.get('command')
+- path = kargs.get('path', os.path.join(self.workdir,self.content))
++ path = kargs.get('path', os.path.join(self.destdir+self.workdir,self.content))
+ path = self.special_vars(path)
+ if command==None:
+ command='make install'
+@@ -644,9 +657,10 @@
+ command : alternative command line
+ path : initial directory
+ prefix : installation prefix
++ destdir : installation destdir
+ cmd_opts : options
+ """
+- format = '%(python)s %(script)s %(global_opts)s %(cmd)s --prefix=%(prefix)s %(cmd_opts)s'
++ format = '%(python)s %(script)s %(global_opts)s %(cmd)s --prefix=%(prefix)s --root=%(destdir)s %(cmd_opts)s'
+ d_cmd = {}
+ d_cmd['python'] = self.depend.cfg.get('PYTHON_EXE', sys.executable)
+ d_cmd['script'] = kargs.get('script', 'setup.py')
+@@ -654,6 +668,7 @@
+ d_cmd['cmd'] = kargs.get('cmd', 'install')
+ d_cmd['cmd_opts'] = kargs.get('cmd_opts', '')
+ d_cmd['prefix'] = kargs.get('prefix', GetPrefix(self.installdir))
++ d_cmd['destdir'] = kargs.get('destdir', self.destdir)
+
+ kargs['command'] = kargs.get('command', format % d_cmd)
+ self.Install(**kargs)
+@@ -1053,6 +1068,7 @@
+ _fmt_title=_separ + ' %s' + _separ
+ _fmt_sum=_(""" Installation of : %(product)s %(version)s
+ Destination : %(installdir)s
++ Destdir : %(destdir)s
+ Elapsed time : %(time).2f s""")
+ _fmt_except=_('\n *** Exception %s raised : %s\nSee detailed traceback in' \
+ ' the logfile')
+@@ -1077,6 +1093,7 @@
+ self.diag[p]={
+ 'product' : p,
+ 'version' : '(version unavailable)',
++ 'destdir' : 'unknown',
+ 'installdir' : 'unknown',
+ 'exit_code' : None,
+ 'time' : 0.,
+@@ -1103,6 +1120,7 @@
+ if isinstance(setup, SETUP):
+ self.diag[product].update({
+ 'version' : setup.version,
++ 'destdir' : setup.destdir,
+ 'installdir' : setup.installdir,
+ 'exit_code' : setup.exit_code,
+ })
+@@ -1256,6 +1274,7 @@
+ p = popen2.Popen4(cmd)
+ else:
+ p = popen2.Popen3(cmd, capturestderr=False)
++
+ p.tochild.close()
+ if not bg:
+ if not follow_output:
+Index: aster-10.1.0-4/products.py
+===================================================================
+--- aster-10.1.0-4.orig/products.py 2010-04-16 15:41:42.000000000 +0200
++++ aster-10.1.0-4/products.py 2010-04-16 16:01:17.000000000 +0200
+@@ -183,7 +183,7 @@
+ setup=SETUP(
+ product=product,
+ version=version,
+- description="""Numeric module defining a multi-dimensional array and useful procedures for
++ description="""Numpy module defining a multi-dimensional array and useful procedures for
+ Numerical computation.""",
+ depend=dep,
+ system=kargs['system'],
+@@ -299,7 +299,7 @@
+ pkg_name = '%s-%s' % (product, version)
+ # ----- add (and check) product dependencies
+ dep.Add(product,
+- req=['HOME_OMNIORB', 'SALOME_VERSION'],
++ req=['HOME_OMNIORB', 'SALOME_VERSION', 'DESTDIR'],
+ )
+ cfg['HOME_PYLOTAGE'] = GetSitePackages(os.path.join(cfg['ASTER_ROOT'], 'public', pkg_name))
+
+@@ -318,7 +318,7 @@
+
+ actions=(
+ ('Extract' , {}),
+- ('PyInstall', { 'global_opts' : '--salome=%s --with-omniidl=%s' \
++ ('PyInstall', { 'global_opts' : '--salome=%s --with-omniidl=%s --root=%s' \
+ % (cfg['SALOME_VERSION'], os.path.join(cfg['HOME_OMNIORB'], 'bin', 'omniidl')) }),
+ ('Clean', {}),
+ ),
+@@ -446,10 +446,11 @@
+ pkg_name = '%s-%s' % (product, version)
+ # ----- add (and check) product dependencies
+ dep.Add(product,
+- req=['ASTER_ROOT', 'TOOLS_DIR', 'PYTHON_EXE'],
++ req=['DESTDIR', 'ASTER_ROOT', 'TOOLS_DIR', 'PYTHON_EXE'],
+ set=['HOME_GIBI']
+ )
+ cfg['HOME_GIBI'] = os.path.join(cfg['ASTER_ROOT'], 'public', pkg_name)
++ destdir_installdir_pkg = cfg['DESTDIR'] + cfg['HOME_GIBI']
+
+ # ----- setup instance
+ setup=SETUP(
+@@ -465,23 +466,23 @@
+ ('Extract' , {}),
+ ('ChgFiles' , {
+ 'files' : ['gibi_aster.py'],
+- 'path' : cfg['HOME_GIBI'],
++ 'path' : destdir_installdir_pkg,
+ 'dtrans' : cfg,
+- 'postdest' : cfg['HOME_GIBI'],
++ 'postdest' : destdir_installdir_pkg,
+ 'postinst' : kargs['postinst'],
+ }),
+ ('Chmod' , {
+ 'files' : ['gibi_aster.py', 'gibi%s' % version, 'gibiPC_Linux_%s' % version],
+- 'path' : cfg['HOME_GIBI'],
++ 'path' : destdir_installdir_pkg,
+ 'mode' : 0755,
+ }),
+ ('Chmod' , {
+ 'files' : ['USRDAT',],
+- 'path' : cfg['HOME_GIBI'],
++ 'path' : destdir_installdir_pkg,
+ 'mode' : 0666,
+ }),
+ ('Install' , {
+- 'path' : cfg['TOOLS_DIR'],
++ 'path' : destdir_installdir_pkg,
+ 'command' : """
+ rm -f gibi gibi.x gibi_rest gibi%(version)s gibi%(version)s.x ; \
+ ln -sf ../public/%(pkg_name)s/gibi_aster.py gibi ; \
+@@ -492,6 +493,7 @@
+ }),
+ ),
+
++ destdir = cfg['DESTDIR'],
+ installdir = cfg['HOME_GIBI'],
+ workdir = os.path.join(cfg['HOME_GIBI'], os.pardir),
+ sourcedir = cfg['SOURCEDIR'],
+@@ -507,7 +509,7 @@
+ pkg_name = '%s-%s' % (product, version)
+ # ----- add (and check) product dependencies
+ dep.Add(product,
+- req=['ASTER_ROOT', 'ASTER_VERSION',
++ req=['DESTDIR', 'ASTER_ROOT', 'ASTER_VERSION',
+ 'HOME_PYTHON', 'PYTHON_EXE', 'IFDEF',
+ 'TERMINAL', 'EDITOR', 'SHELL_EXECUTION',
+ 'PS_COMMAND_CPU', 'PS_COMMAND_PID',
+@@ -559,6 +561,7 @@
+ ('Clean', {}),
+ ),
+
++ destdir = cfg['DESTDIR'],
+ installdir = GetSitePackages(cfg['ASTER_ROOT']),
+ sourcedir = cfg['SOURCEDIR'],
+ )
+@@ -577,6 +580,7 @@
+ set=['HOME_METIS',],
+ )
+ cfg['HOME_METIS'] = os.path.join(cfg['ASTER_ROOT'], 'public', pkg_name)
++ destdir_installdir_pkg = cfg['DESTDIR'] + cfg['HOME_METIS']
+
+ # ----- setup instance
+ setup=SETUP(
+@@ -599,11 +603,12 @@
+ ('Make' , { 'nbcpu' : kargs['find_tools'].nbcpu }),
+ ('Install' , {
+ 'command' : 'mkdir -p %(dest)s/lib ; cp libmetis.a %(dest)s/lib ; cp Makefile.in %(dest)s' \
+- % { 'dest' : cfg['HOME_METIS'] },
++ % { 'dest' : destdir_installdir_pkg },
+ }),
+ ('Clean', {}),
+ ),
+
++ destdir = cfg['DESTDIR'],
+ installdir = cfg['HOME_METIS'],
+ sourcedir = cfg['SOURCEDIR'],
+ )
+@@ -889,6 +894,7 @@
+ #-------------------------------------------------------------------------------
+ # 50. ----- Code_Aster
+ def setup_aster(dep, summary, **kargs):
++ print ("setup aster")
+ cfg=dep.cfg
+ product='aster'
+ version = dict_prod[product]
+@@ -896,13 +902,13 @@
+ short_version = '.'.join(version.split('.')[:2])
+ # ----- add (and check) product dependencies
+ dep.Add(product,
+- req=['ASTER_ROOT', 'ASTER_VERSION',
++ req=['DESTDIR', 'ASTER_ROOT', 'ASTER_VERSION',
+ 'HOME_PYTHON', 'PYTHON_EXE', 'PYTHONLIB',
+ 'HOME_MUMPS', 'HOME_ZMAT', 'HOME_MPI', 'INCLUDE_MUMPS', 'HOME_METIS',
+ 'HOME_MED', 'HOME_HDF', 'HOME_CRPCRS', 'HOME_NUMERIC',
+ 'LD', 'CC', 'F77', 'F90', 'CXXLIB', 'OTHERLIB',],
+- reqobj=['file:?ASTER_ROOT?/bin/as_run',
+- 'file:?ASTER_ROOT?/etc/codeaster/profile.sh'],
++ reqobj=['file:/usr/bin/as_run',
++ 'file:/etc/codeaster/profile.sh'],
+ set=['SYSLIB',
+ 'MEDLIB', 'HDFLIB', 'MATHLIB',
+ 'MUMPSLIB', 'ZMATLIB', 'SCOTCHLIB',
+@@ -912,15 +918,20 @@
+ 'F90FLAGS', 'F90FLAGS_DBG', 'F90INCLUDE',
+ 'NOBUILD', ],
+ )
++ print ("load environment variables")
+ cfg['ENV_SH'] = cfg.get('ENV_SH', '')
+ cfg['NOBUILD'] = cfg.get('NOBUILD', '')
+ cfg['OPT_ENV'] = cfg.get('OPT_ENV', '')
+ cfg['OPT_ENV'] = '#?OPT_ENV?\n\n' + cfg['OPT_ENV']
+ ftools=kargs['find_tools']
+
++ destdir_installdir_pkg = cfg['DESTDIR'] + cfg['ASTER_ROOT']
++
+ # ----- add path to Code_Aster headers
+- cfg['CINCLUDE'] = '-I%s' % os.path.join(cfg['ASTER_ROOT'], cfg['ASTER_VERSION'], 'bibc', 'include')
++ cfg['CINCLUDE'] = '-I%s' % os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION'], 'bibc', 'include')
+ # ----- check for Python headers
++ print ("HOME_PYTHON=%s",cfg['HOME_PYTHON'])
++ print ("PYTHON=%s",sys.version[:3])
+ ftools.find_and_set(cfg, 'CINCLUDE', 'Python.h',
+ [os.path.join(cfg['HOME_PYTHON'], 'include', 'python'+sys.version[:3])],
+ typ='inc', err=True, append=True)
+@@ -1026,10 +1037,10 @@
+ # ----- MUMPS
+ if cfg['HOME_MUMPS'] != '':
+ cfg['DEFINED'] += ' _HAVE_MUMPS'
+- mumps_lib = ['dmumps', 'zmumps']
++ mumps_lib = ['dmumps_scotch', 'zmumps_scotch']
+ if not less_than_version(dict_prod['mumps'], '4.8.0'):
+- mumps_lib.extend(['smumps', 'cmumps', 'mumps_common'])
+- mumps_lib.extend(['pord', 'mpiseq'])
++ mumps_lib.extend(['smumps_scotch', 'cmumps_scotch', 'mumps_common_scotch'])
++ mumps_lib.extend(['pord_scotch', 'mpiseq_scotch'])
+ for lib in mumps_lib:
+ ftools.findlib_and_set(cfg, 'MUMPSLIB', lib,
+ cfg['HOME_MUMPS'],
+@@ -1038,7 +1049,7 @@
+ ftools.CheckFromLastFound(cfg, 'HOME_MUMPS', 'lib')
+ if cfg['HOME_METIS'] != '':
+ cfg['MUMPSLIB'] += " -L%s/lib -lmetis" % cfg['HOME_METIS']
+- opt['F90INCLUDE'] += ' -I%s' % os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION'],'bibf90',cfg['INCLUDE_MUMPS'])
++ opt['F90INCLUDE'] += ' -I%s' % os.path.join(destdir_installdir_pkg,cfg['ASTER_VERSION'],'bibf90',cfg['INCLUDE_MUMPS'])
+ if cfg['HOME_MPI'] != '':
+ cfg['DEFINED'] += ' _USE_MPI_MUMPS'
+ else:
+@@ -1085,13 +1096,13 @@
+
+ # ----- SCOTCH
+ if cfg['HOME_SCOTCH']<>'':
+- for lib in ('common', 'scotch', 'scotcherr', 'scotcherrcom'):
++ for lib in ('scotch', 'scotcherr', 'scotcherrexit'):
+ ftools.findlib_and_set(cfg, 'SCOTCHLIB', lib,
+ cfg['HOME_SCOTCH'],
+ err=True, append=True)
+ if lib == 'common':
+ ftools.CheckFromLastFound(cfg, 'HOME_SCOTCH', 'lib')
+- ftools.find_and_set(cfg, 'CINCLUDE', 'scotchf.h',
++ ftools.find_and_set(cfg, 'CINCLUDE', 'scotch.h',
+ cfg['HOME_SCOTCH'],
+ typ='inc', err=True, append=True)
+ else:
+@@ -1174,53 +1185,28 @@
+ ('ChgFiles' , {
+ 'external' : set_profile,
+ 'files' : ['profile.sh'],
+- 'path' : os.path.join(cfg['ASTER_ROOT'], cfg['ASTER_VERSION']),
++ 'path' : os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION']),
+ }),
+ ('ChgFiles' , {
+ 'files' : ['config.txt', '*.export', 'Makefile*'],
+- 'path' : os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION']),
+- 'postdest' : os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION']),
++ 'path' : os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION']),
++ 'postdest' : os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION']),
+ 'dtrans' : cfg,
+ 'postinst' : kargs['postinst'],
+ }),
+- ('ChgFiles' , {
+- 'files' : ['aster'],
+- 'path' : os.path.join(cfg['ASTER_ROOT'],'etc','codeaster'),
+- 'dtrans' : {'^ *vers : %s.*\n' % cfg['ASTER_VERSION'] : '',
+- },
+- 'delimiter' : '',
+- 'keep' : True,
+- 'ext' : '.install_'+cfg['ASTER_VERSION'],
+- }),
+- ('ChgFiles' , {
+- 'files' : ['aster'],
+- 'path' : os.path.join(cfg['ASTER_ROOT'],'etc','codeaster'),
+- 'dtrans' : {
+- re.escape('?vers : VVV?') : '?vers : VVV?\nvers : %s' % cfg['ASTER_VERSION'],
+- },
+- 'delimiter' : '', # that's why some ? have been added above
+- 'keep' : False,
+- }),
+- ('ChgFiles' , {
+- 'files' : [os.path.join('etc','codeaster','profile.sh'),
+- os.path.join('etc','codeaster','profile.csh'),
+- os.path.join(cfg['ASTER_VERSION'], 'profile.sh')],
+- 'path' : cfg['ASTER_ROOT'],
+- 'postinst' : kargs['postinst'],
+- 'only_post' : True,
+- }),
+ ('Install', {
+- 'path' : os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION']),
++ 'path' : os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION']),
+ 'command' : 'ln -sf Makefile.asrun Makefile',
+ }),
+ ('Make' , {
+- 'path' : os.path.join(cfg['ASTER_ROOT'],cfg['ASTER_VERSION']),
+- 'command' : '%s --make --vers=%s' % \
+- (os.path.join(cfg['ASTER_ROOT'],'bin','as_run'), cfg['ASTER_VERSION']),
++ 'path' : os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION']),
++ 'command' : '%s --make --vers=%s --destdir=%s --config=%s' % \
++ (os.path.join('/usr','bin','as_run'), cfg['ASTER_VERSION'], cfg['DESTDIR'], os.path.join(destdir_installdir_pkg, cfg['ASTER_VERSION'], 'config.txt')),
+ 'capturestderr' : False,
+ }),
+ ),
+
++ destdir = cfg['DESTDIR'],
+ installdir = cfg['ASTER_ROOT'],
+ workdir = cfg['ASTER_ROOT'],
+ sourcedir = cfg['SOURCEDIR'],
+Index: aster-10.1.0-4/setup.py
+===================================================================
+--- aster-10.1.0-4.orig/setup.py 2010-04-16 15:41:42.000000000 +0200
++++ aster-10.1.0-4/setup.py 2010-04-16 15:44:49.000000000 +0200
+@@ -64,14 +64,7 @@
+ #-------------------------------------------------------------------------------
+ # 0.1. ----- list of products to install (could be skip through cfg)
+ t_ini = time.time()
+- to_install_ordered=['hdf5', 'med',
+- 'Numeric',
+- 'omniORB', 'omniORBpy', 'pylotage',
+- 'gmsh',
+- 'grace', 'gibi', 'eficas', 'eficas_doc', 'scotch',
+- 'astk', 'metis', 'metis_edf',
+- 'mumps',
+- 'aster',
++ to_install_ordered=['aster',
+ 'homard']
+ to_install = [prod for prod in to_install_ordered if prod in available_products]
+
+@@ -121,6 +114,9 @@
+ parser = OptionParser(
+ usage=usage,
+ version='Code_Aster Setup version ' + __pkginfo__.version + '-' + __pkginfo__.release)
++ parser.add_option("--root", dest="DESTDIR", action='store',
++ # default='/opt/aster', not here !
++ help=_("define destdir directory for Code_Aster (default '')"), metavar="DIR")
+ parser.add_option("--prefix", dest="prefix", action='store',
+ help=_("define toplevel directory for Code_Aster (identical to --aster_root)"), metavar="DIR")
+ parser.add_option("--aster_root", dest="ASTER_ROOT", action='store',
+@@ -147,6 +143,12 @@
+ parser.add_option("--noprompt", dest="noprompt", action='store_true',
+ default=False,
+ help=_("do not ask any questions"),)
++ parser.add_option("--install-purelib", dest="PYTHONPURELIB", action='store',
++ # default='/opt/aster', not here !
++ help=_("define python pure library directory (default '/usr/lib/python2.5/site-packages/')"), metavar="DIR")
++ parser.add_option("--install-platlib", dest="PYTHONPLATLIB", action='store',
++ # default='/opt/aster', not here !
++ help=_("define python plat library directory (default '/usr/lib/python2.5/site-packages/')"), metavar="DIR")
+
+ opts, args = parser.parse_args()
+ fcfg = opts.fcfg
+@@ -162,7 +164,10 @@
+
+ def_opts={
+ 'ASTER_ROOT' : '/opt/aster',
++ 'DESTDIR' : '',
+ 'SOURCEDIR' : os.path.normpath(os.path.join(setup_maindir, 'SRC')),
++ 'PYTHONPURELIB' : '/usr/lib/python2.5/site-packages/',
++ 'PYTHONPLATLIB' : '/usr/lib/python2.5/site-packages/',
+ }
+ if opts.prefix is not None and opts.ASTER_ROOT is None:
+ opts.ASTER_ROOT = opts.prefix
+@@ -175,6 +180,8 @@
+ pass
+ elif args[0] == 'test':
+ _test = True
++ elif args[0] == 'build':
++ _test = True
+ elif args[0] == 'clean':
+ os.system('rm -f setup.log* setup.dbg* setup.cache *.pyc')
+ print _("temporary files deleted!")
+@@ -189,7 +196,7 @@
+ for p in to_install[:]:
+ if not p in args:
+ to_install.remove(p)
+-
++ print ("to be installed: ", to_install)
+ # 0.6. ----- list of exceptions to handle during installation
+ if not debug:
+ safe_exceptions=(SetupError,)
+@@ -258,7 +265,7 @@
+ log._print(_(' %15s (from cache) : %s') % (k, repr(v)))
+
+ # 1.1.3. ----- list of options to put in cfg
+- for o in ('ASTER_ROOT', 'SOURCEDIR',):
++ for o in ('ASTER_ROOT', 'DESTDIR', 'SOURCEDIR',):
+ if getattr(opts, o) is not None:
+ cfg[o]=os.path.normpath(os.path.abspath(getattr(opts, o)))
+ log._print(_separ,_(' %15s (from arguments) : %s') % (o, cfg[o]))
+@@ -334,9 +341,9 @@
+ cfg['DEFINED'] = cfg['IFDEF']
+
+ # ----- insert 'lib64' at the beginning on 64 bits platforms
+- if cfg['IFDEF'].endswith('64'):
+- libdirs = [path.replace('lib', 'lib64') for path in libdirs \
+- if path.find('lib') > -1 and path.find('lib64') < 0 ] + libdirs
++ #if cfg['IFDEF'].endswith('64'):
++ # libdirs = [path.replace('lib', 'lib64') for path in libdirs \
++ # if path.find('lib') > -1 and path.find('lib64') < 0 ] + libdirs
+ bindirs = cfg.get('BINDIR', []) + bindirs
+ libdirs = cfg.get('LIBDIR', []) + libdirs
+ incdirs = cfg.get('INCLUDEDIR', []) + incdirs
+@@ -349,13 +356,16 @@
+ cfg['HOME_CRPCRS']=cfg.get('HOME_CRPCRS', os.path.join(cfg['TOOLS_DIR'],'CRPCRS'))
+
+ cfg['HOME_PYTHON']=cfg.get('HOME_PYTHON', os.path.abspath(sys.prefix))
++ log._print(_('HOME_PYTHON = %s') % cfg['HOME_PYTHON'])
+ cfg['PYTHON_EXE'] =cfg.get('PYTHON_EXE', sys.executable)
+ # these directories should respectively contain shared and static librairies
+ cfg['PYTHONLIB'] ='-L'+os.path.join(cfg['HOME_PYTHON'],'lib')+ \
+ ' -L'+os.path.join(cfg['HOME_PYTHON'], 'lib', pythonXY, 'config')+ \
+ ' -l'+pythonXY
++ log._print(_('PYTHONLIB = %s') % cfg['PYTHONLIB'])
+ # python modules location
+ cfg['PYTHONPATH'] = cfg.get('PYTHONPATH', '')
++ cfg['HOME_NUMERIC']= os.path.join(cfg['HOME_PYTHON'], 'include', pythonXY, 'Numeric')
+ cfg['OPT_ENV'] = cfg.get('OPT_ENV', '')
+
+ #-------------------------------------------------------------------------------
+@@ -644,7 +654,7 @@
+ typ='inc')
+ if numeric_inc != None:
+ to_install.remove('Numeric')
+- ftools.CheckFromLastFound(cfg, 'HOME_NUMERIC', 'include')
++ ftools.CheckFromLastFound(cfg, 'HOME_NUMERIC', 'Numeric')
+
+ # 1.6.4. ----- mumps
+ cfg['INCLUDE_MUMPS'] = cfg.get('INCLUDE_MUMPS', '')
+@@ -657,19 +667,8 @@
+ ftools.find_and_set(cfg, 'XMGRACE', ['xmgrace', 'grace'], err=False)
+ if cfg.get('XMGRACE'):
+ iret, out, outspl = ftools.get_product_version(cfg['XMGRACE'], '-version')
+- vers = None
+- svers = '?'
+- for line in outspl:
+- if line.startswith('Grace') or line.startswith('grace'):
+- mat = re.search('([0-9\.]+)', line)
+- if mat is not None:
+- vers = mat.group(1).strip('.').split('.')
+- try:
+- vers = [int(v) for v in vers]
+- svers = '.'.join([str(i) for i in vers])
+- except:
+- vers = None
+- break
++ vers = [5, 22]
++ svers='5.1.22'
+ log._print('XMGRACE', line, ': version', vers, DBG=True)
+ if vers is not None and vers < [5, 90]:
+ res = 'version is %s : ok. Do not need compile grace from sources.' % svers
+@@ -694,12 +693,22 @@
+ #-------------------------------------------------------------------------------
+ # 2.99. ----- stop here if 'test'
+ err = False
+- if not os.path.exists(cfg['ASTER_ROOT']):
++ log._print(_('DESTDIR = %s') % cfg['DESTDIR'])
++ log._print(_('ASTER_ROOT = %s') % cfg['ASTER_ROOT'])
++ destdir_installdir = cfg['DESTDIR'] + cfg['ASTER_ROOT']
++ log._print(_separ, term='')
++ log._print(_('DESTDIR = %s') % cfg['DESTDIR'])
++ log._print(_('ASTER_ROOT = %s') % cfg['ASTER_ROOT'])
++ log._print(_('destdir_installdir = %s') % destdir_installdir)
++
++ if not os.path.exists(destdir_installdir):
+ try:
+- os.makedirs(cfg['ASTER_ROOT'])
++ if cfg['DESTDIR'] != '' and not os.path.exists(cfg['DESTDIR']):
++ os.makedirs(cfg['DESTDIR'])
++ os.makedirs(destdir_installdir)
+ except OSError:
+ err = True
+- err = err or not os.access(cfg['ASTER_ROOT'], os.W_OK)
++ err = err or not os.access(destdir_installdir, os.W_OK)
+ if err:
+ log._print(_separ, term='')
+ log._print(_('No write access to %s.\nUse --aster_root=XXX to change destination directory.') % cfg['ASTER_ROOT'])
+@@ -720,14 +729,16 @@
+ log._print('Continue without prompting.')
+ else:
+ log._print(_("Check if found values seem correct. If not you can change them using 'setup.cfg'."))
+- should_continue()
++ #should_continue()
+
+ t_ini = time.time() - t_ini
+
+ #-------------------------------------------------------------------------------
+ # 3. prepare post-installation
+ #-------------------------------------------------------------------------------
+- post_installdir = os.path.join(cfg['ASTER_ROOT'], '.postinst')
++ log._print(_('destdir_installdir = %s') % destdir_installdir)
++ post_installdir = os.path.join(destdir_installdir, '.postinst')
++ log._print(_('post_installdir = %s') % post_installdir)
+ if not os.path.exists(post_installdir):
+ os.makedirs(post_installdir)
+ shutil.copy2(os.path.join(setup_maindir, 'post_install.py'), post_installdir)
+@@ -745,12 +756,12 @@
+ #-------------------------------------------------------------------------------
+ # 4. products installation
+ #-------------------------------------------------------------------------------
+- if not os.path.exists(cfg['TOOLS_DIR']):
+- os.makedirs(cfg['TOOLS_DIR'])
++ if not os.path.exists(cfg['DESTDIR'] +cfg['TOOLS_DIR']):
++ os.makedirs(cfg['DESTDIR'] +cfg['TOOLS_DIR'])
+
+ # product for which full installation is not required
+ if grace_add_symlink:
+- dest = os.path.join(cfg['TOOLS_DIR'], 'xmgrace')
++ dest = os.path.join(cfg['DESTDIR'] +cfg['TOOLS_DIR'], 'xmgrace')
+ if os.path.exists(dest):
+ os.remove(dest)
+ os.symlink(cfg['XMGRACE'], dest)
+Index: aster-10.1.0-4/products_versions.py
+===================================================================
+--- aster-10.1.0-4.orig/products_versions.py 2010-04-16 15:41:42.000000000 +0200
++++ aster-10.1.0-4/products_versions.py 2010-04-16 15:44:49.000000000 +0200
+@@ -13,7 +13,7 @@
+ 'med': '2.3.6',
+ 'metis': '4.0',
+ 'metis_edf': '4.1',
+- 'mumps': '4.8.4',
++ 'mumps': '4.9.2',
+ 'omniORB': '4.1.4',
+ 'omniORBpy': '3.4',
+ 'pylotage': '2.0.5',
Added: packages/code-aster/aster/aster/trunk/debian/profile.sh
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/profile.sh?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/profile.sh (added)
+++ packages/code-aster/aster/aster/trunk/debian/profile.sh Fri Apr 16 18:56:29 2010
@@ -1,0 +1,8 @@
+# profile for Code_Aster version 9.2
+
+LD_LIBRARY_PATH=/usr/lib:$LD_LIBRARY_PATH
+export LD_LIBRARY_PATH
+
+#?OPT_ENV?
+
+
Added: packages/code-aster/aster/aster/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/pycompat?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/pycompat (added)
+++ packages/code-aster/aster/aster/trunk/debian/pycompat Fri Apr 16 18:56:29 2010
@@ -1,0 +1,1 @@
+2
Added: packages/code-aster/aster/aster/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/pyversions?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/pyversions (added)
+++ packages/code-aster/aster/aster/trunk/debian/pyversions Fri Apr 16 18:56:29 2010
@@ -1,0 +1,1 @@
+2.5
Added: packages/code-aster/aster/aster/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/aster/aster/trunk/debian/rules?rev=36389&op=file
==============================================================================
--- packages/code-aster/aster/aster/trunk/debian/rules (added)
+++ packages/code-aster/aster/aster/trunk/debian/rules Fri Apr 16 18:56:29 2010
@@ -1,0 +1,90 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*
+
+DEB_PYTHON_SYSTEM = pysupport
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+# in which directory to install the sofware
+#DEB_DESTDIR = $(CURDIR)/debian/tmp
+
+# change the Python build script name (default is 'setup.py')
+DEB_PYTHON_SETUP_CMD := setup.py
+
+# build options for the Python build script
+DEB_PYTHON_BUILD_ARGS = --root=$(DEB_DESTDIR) --nocache
+
+# common additional install options for all binary packages
+# ('--root' option is always set)
+DEB_PYTHON_INSTALL_ARGS_ALL = aster
+
+
+DEB_COMPRESS_EXCLUDE := .py
+
+install/aster::
+ mkdir -p debian/aster/usr/bin
+ mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/asterd debian/aster/usr/bin
+ mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/asteru debian/aster/usr/bin
+
+ mkdir -p debian/aster/usr/lib
+ mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/lib/* debian/aster/usr/lib
+
+ find $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/obj -name \*.o | xargs rm -f
+
+ # Files needed for development
+ #mkdir -p debian/aster/usr/share/codeaster/STA10.1
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/bibf90 debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/bibfor debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/bibc debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/bibpyt debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/obj debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/Makefile debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/fermetur debian/aster/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/commande debian/aster/usr/share/codeaster/
+
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/*.export debian/aster/usr/share/codeaster/
+
+ mkdir -p debian/aster/usr/share/codeaster/STA10.1/dtag
+ #mkdir -p debian/aster/usr/share/codeaster/outils
+
+
+ mkdir -p debian/aster/etc/codeaster/config_sta10.1.txt
+ cp debian/config.txt debian/aster/etc/codeaster/config_sta10.1.txt
+
+ # Data
+ #mkdir -p debian/aster-data/usr/share/codeaster/STA10.1
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/catalo debian/aster-data/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/catapy debian/aster-data/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/etude debian/aster-data/usr/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/materiau debian/aster/usr-data/share/codeaster/
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/cata_ele.pickled debian/aster-data/usr/share/codeaster/
+
+ # Tests
+ #mkdir -p debian/aster-data/usr/share/codeaster/STA10.1
+ #mv $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/astest debian/aster-test/usr/share/codeaster/
+
+ # Remove extra license file
+ rm -f $(DEB_DESTDIR)/usr/share/codeaster/STA10.1/LICENSE.TERMS
+
+clean::
+ rm -f setup.cache
+ rm -f setup.dbg* setup.log*
+ rm -f *.pyc
+ rm -f variables.init
+
+get-orig-source:
+ # Retreive aster-full-src-10.1.0-4.noarch.tar.gz
+ TMPDIR=`mktemp -d $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).orig`
+ pushd "$$TMPDIR"
+ wget http://www.code-aster.org/V2/spip.php?action=dw2_out&id=667
+
+ # Go to SRC directory and remove non-free archive
+ tar xzf aster-full-src-10.1.0-4.noarch.tar.gz
+ cd SRC
+ rm -rf gibi homard
+ cd ..
+ tar zcvf $(CURDIR)/$(DEB_SOURCE_PACKAGE)_$(DEB_UPSTREAM_VERSION).orig.tar.gz aster-full-src-10.1.0-4
+ popd
+ rm -rf "$$TMPDIR"
Propchange: packages/code-aster/aster/aster/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the debian-science-commits
mailing list