r36339 - in /packages/code-aster: ./ eficas/ eficas/tags/ eficas/trunk/ eficas/trunk/debian/ eficas/trunk/debian/patches/
sylvestre at users.alioth.debian.org
sylvestre at users.alioth.debian.org
Tue Apr 6 20:09:39 UTC 2010
Author: sylvestre
Date: Tue Apr 6 20:09:38 2010
New Revision: 36339
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36339
Log:
eficas moved to debian science
Added:
packages/code-aster/
packages/code-aster/eficas/
packages/code-aster/eficas/tags/
packages/code-aster/eficas/trunk/
packages/code-aster/eficas/trunk/debian/
packages/code-aster/eficas/trunk/debian/changelog
packages/code-aster/eficas/trunk/debian/control
packages/code-aster/eficas/trunk/debian/copyright
packages/code-aster/eficas/trunk/debian/dirs
packages/code-aster/eficas/trunk/debian/eficas.desktop
packages/code-aster/eficas/trunk/debian/eficas.xpm
packages/code-aster/eficas/trunk/debian/patches/
packages/code-aster/eficas/trunk/debian/patches/eficas.diff
packages/code-aster/eficas/trunk/debian/patches/path_to_python.diff
packages/code-aster/eficas/trunk/debian/patches/paths.diff
packages/code-aster/eficas/trunk/debian/patches/series
packages/code-aster/eficas/trunk/debian/patches/setup.py.diff
packages/code-aster/eficas/trunk/debian/pycompat
packages/code-aster/eficas/trunk/debian/pyversions
packages/code-aster/eficas/trunk/debian/rules (with props)
Added: packages/code-aster/eficas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/changelog?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/changelog (added)
+++ packages/code-aster/eficas/trunk/debian/changelog Tue Apr 6 20:09:38 2010
@@ -1,0 +1,6 @@
+eficas (1.13.0-1) unstable; urgency=low
+
+ * Initial release (Closes: #467097)
+
+ -- Sylvestre Ledru <sylvestre.ledru at inria.fr> Fri, 22 Feb 2008 10:53:40 +0100
+
Added: packages/code-aster/eficas/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/control?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/control (added)
+++ packages/code-aster/eficas/trunk/debian/control Tue Apr 6 20:09:38 2010
@@ -1,0 +1,22 @@
+Source: eficas
+Section: science
+Priority: optional
+Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Sylvestre Ledru <sylvestre at debian.org>
+Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.49),
+ python-all-dev (>= 2.3.5-11), python-support (>= 0.5.3), quilt
+Standards-Version: 3.8.4
+Homepage: http://www.code-aster.org/
+Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/code-aster/eficas/
+Vcs-Browser: http://svn.debian.org/viewsvn/debian-science/packages/code-aster/eficas/
+
+Package: eficas
+Architecture: all
+Depends: ${python:Depends}, python-tk, python-pmw
+Description: Graphical editor for Code Aster command files
+ This package provides an application to help the creation of Code Aster
+ command files. Thanks to this graphical user interface, a user
+ can intuitively create a Aster command file without knowing the
+ syntax.
+ Code Aster is all-purpose Finite Element Method (FEM) simulation
+ software for structural analysis.
Added: packages/code-aster/eficas/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/copyright?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/copyright (added)
+++ packages/code-aster/eficas/trunk/debian/copyright Tue Apr 6 20:09:38 2010
@@ -1,0 +1,38 @@
+This package was debianized by Sylvestre Ledru <sylvestre.ledru at inria.fr> on
+Fri, 22 Feb 2008 10:53:40 +0100.
+
+It was downloaded from <http://www.code-aster.org/>
+
+Upstream Author:
+
+ EDF R&D
+
+Copyright:
+
+ Copyright 2001-2008 - EDF R&D
+
+License:
+
+ 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 the Free Software
+ Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA
+ 02110-1301, USA.
+
+The complete text of the GNU General Public License, version 2, can be
+found in /usr/share/common-licenses/GPL-2
+
+
+The Debian packaging is (C) 2008, Sylvestre Ledru <sylvestre.ledru at inria.fr> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
Added: packages/code-aster/eficas/trunk/debian/dirs
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/dirs?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/dirs (added)
+++ packages/code-aster/eficas/trunk/debian/dirs Tue Apr 6 20:09:38 2010
@@ -1,0 +1,2 @@
+usr/bin
+
Added: packages/code-aster/eficas/trunk/debian/eficas.desktop
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/eficas.desktop?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/eficas.desktop (added)
+++ packages/code-aster/eficas/trunk/debian/eficas.desktop Tue Apr 6 20:09:38 2010
@@ -1,0 +1,12 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Eficas
+GenericName=Graphical command editor for Code_Aster
+Comment=Graphical command editor for Code_Aster.
+Exec=/usr/bin/eficas
+Icon=eficas
+Type=Application
+Terminal=false
+Categories=Science;Math;
+StartupNotify=true
Added: packages/code-aster/eficas/trunk/debian/eficas.xpm
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/eficas.xpm?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/eficas.xpm (added)
+++ packages/code-aster/eficas/trunk/debian/eficas.xpm Tue Apr 6 20:09:38 2010
@@ -1,0 +1,198 @@
+/* XPM */
+static char * eficas_xpm[] = {
+"50 50 145 2",
+" c None",
+". c #FF6633",
+"+ c #D8562B",
+"@ c #DD592C",
+"# c #923A1D",
+"$ c #A84322",
+"% c #BD4B26",
+"& c #230E07",
+"* c #5F2613",
+"= c #612713",
+"- c #5C2512",
+"; c #773018",
+"> c #A14020",
+", c #8E391C",
+"' c #AE4623",
+") c #FC6532",
+"! c #060201",
+"~ c #34150A",
+"{ c #6D2C16",
+"] c #37160B",
+"^ c #C04D26",
+"/ c #4B1E0F",
+"( c #C14F29",
+"_ c #E45B2E",
+": c #000000",
+"< c #E95D2F",
+"[ c #050201",
+"} c #7D3219",
+"| c #F46231",
+"1 c #080302",
+"2 c #FD6533",
+"3 c #993D1F",
+"4 c #F86332",
+"5 c #AB4422",
+"6 c #020100",
+"7 c #ED5F2F",
+"8 c #CA5128",
+"9 c #EB5E2F",
+"0 c #E85D2E",
+"a c #913A1D",
+"b c #EF6030",
+"c c #E65C2E",
+"d c #DD582C",
+"e c #F36131",
+"f c #010000",
+"g c #B04623",
+"h c #7B3119",
+"i c #120704",
+"j c #DF592D",
+"k c #85351B",
+"l c #EC5E2F",
+"m c #80331A",
+"n c #953C1E",
+"o c #682A15",
+"p c #C34E27",
+"q c #BE4C26",
+"r c #81331A",
+"s c #AE4523",
+"t c #FE6533",
+"u c #FE6633",
+"v c #7C3119",
+"w c #A54221",
+"x c #582312",
+"y c #D7562B",
+"z c #CF5329",
+"A c #82341A",
+"B c #602613",
+"C c #CC5229",
+"D c #180A05",
+"E c #E15A2D",
+"F c #EA5E2F",
+"G c #2F1309",
+"H c #6C2B16",
+"I c #461C0E",
+"J c #EE5F30",
+"K c #F46131",
+"L c #F16232",
+"M c #0B0402",
+"N c #CB5129",
+"O c #8D381C",
+"P c #502010",
+"Q c #A44221",
+"R c #2E1209",
+"S c #CE552D",
+"T c #291008",
+"U c #D9572B",
+"V c #F96432",
+"W c #271008",
+"X c #86361B",
+"Y c #3A170C",
+"Z c #9E4021",
+"` c #150804",
+" . c #F26130",
+".. c #662914",
+"+. c #E35B2D",
+"@. c #532111",
+"#. c #2C1209",
+"$. c #752F17",
+"%. c #33140A",
+"&. c #F56231",
+"*. c #4E1F10",
+"=. c #572311",
+"-. c #BC4B26",
+";. c #CE5329",
+">. c #0F0603",
+",. c #0C0502",
+"'. c #1F0C06",
+"). c #6A2A15",
+"!. c #BA4A25",
+"~. c #B34824",
+"{. c #FB6432",
+"]. c #C14D27",
+"^. c #E75D2E",
+"/. c #D0532A",
+"(. c #8C381C",
+"_. c #030101",
+":. c #B64924",
+"<. c #8A371C",
+"[. c #200D06",
+"}. c #AC4522",
+"|. c #89371B",
+"1. c #3E190C",
+"2. c #A24120",
+"3. c #933B1D",
+"4. c #622714",
+"5. c #240F07",
+"6. c #F06030",
+"7. c #86351B",
+"8. c #E55C2E",
+"9. c #040101",
+"0. c #2D1209",
+"a. c #AA4422",
+"b. c #F96332",
+"c. c #D3542A",
+"d. c #170905",
+"e. c #983D1E",
+"f. c #040201",
+"g. c #963C1E",
+"h. c #87361B",
+"i. c #C54F27",
+"j. c #4F2010",
+"k. c #6F2C16",
+"l. c #C85028",
+"m. c #AF4623",
+"n. c #3F190D",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" . . . . . . . . . . . . . . . . . . . . . . . . ",
+" . . . . . . . + . . . . . . . @ . . . . . . . . . . . . . . ",
+" . . . . . . . # . . . . . . . $ % . . & . . . . . * . . = . . . . . . - ",
+" . . . . . . . ; > . . . . . . . , ' . ) ! . . . . . . ~ . . { . . . . . . . ] ",
+" . . . . . . . . ~ ^ . . . . . . . / ( . _ : . . . . . < [ . . } . . . . . . | 1 ",
+" . . 2 < < < < 3 : 4 . . < < < < 5 6 7 . 8 : . . . . 9 0 = : . . a . . b < < c { : ",
+" . . d : : : : : : . . e f : : : : f . . g . . . h f : : . . $ . . i : : : : ",
+" . . j k ' ' ' . . l m ' ' ' . . n o . . p : . . q . . r ' s ",
+" . . . . . . . t . . . . . . . u . . v w . . x : . . . y . . . . . . ",
+" . . . . . . . z . . . . . . . _ A . . B C . . D . . E . . F . . . . . . < ",
+" . . . . . . . ^ G . . . . . . . y H . . I J . K f . . a L . 2 M . . . . . . N ",
+" . . . . . . . O P . . . . . . . Q h . . R . . _ : . . H S . . T . . . . . . U ",
+" . . . . . . V W X . . . . . . 2 Y Z . . ` . . .6 . . . ..+.. . I 9 . . . . . U ",
+" . . .. at .@. at .#.: . . $. at .@. at .%.: 0 . &.f . . . *. . . . . . . . =. Y @. at .-.. ;. ",
+" . . 2 >.,.,.,.6 . . . '.: : : : . . U : . . . < . . . . . . . ). ,.,.!.. ~. ",
+" . . . . . . . . . . {.1 . . ].: . . . . . . . . . . . . . . ; . . . . . . . # ",
+" . . . . . . . t . . ^.: . . w . . . . . /. . . . . . . . . (. . . . . . . . B ",
+" . . . . . . . 2 _.. . ;.: . . (. . . . . . :.<.. . .< < 7 . . n . . . . . . u [. ",
+" . . . . . . . j : . . }. . . ). . . . . . n |.. . 1.: : W . . } 2.. . . . . . ].: ",
+" . . . . . . . 3.: . . 4. . ) 5. 6.. . . / 7.. 8.9. . t 0.a.. . . . . b.Y : ",
+" c.-.-.-.-.-.s d. e.f. 8 H : 1.g.-.h.f i.j.: y k.: l.-.-.-.m.n.: ",
+" : : : : : : : : : : : : : : : : : : : : : ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" ",
+" "};
Added: packages/code-aster/eficas/trunk/debian/patches/eficas.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/eficas.diff?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/eficas.diff (added)
+++ packages/code-aster/eficas/trunk/debian/patches/eficas.diff Tue Apr 6 20:09:38 2010
@@ -1,0 +1,14 @@
+--- eficas-1.13.0.orig/eficas 1970-01-01 01:00:00.000000000 +0100
++++ eficas-1.13.0/eficas 2008-02-23 00:52:31.000000000 +0100
+@@ -0,0 +1,11 @@
++#!/bin/sh
++#
++# Inspiration from FreeBSD
++# Modified by Sylvestre LEDRU <sylvestre.ledru at inria.fr> for Debian
++# $1 = comm
++# $2 = com0
++# $3 = com1
++# $4 = com2
++
++cd /usr/share/python-support/eficas/Aster
++python eficas_aster.py $1 $2 $3 $4
Added: packages/code-aster/eficas/trunk/debian/patches/path_to_python.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/path_to_python.diff?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/path_to_python.diff (added)
+++ packages/code-aster/eficas/trunk/debian/patches/path_to_python.diff Tue Apr 6 20:09:38 2010
@@ -1,0 +1,36 @@
+diff -r -u --new-file eficas-1.13.0.orig/Aster/eficas_aster.py eficas-1.13.0/Aster/eficas_aster.py
+--- eficas-1.13.0.orig/Aster/eficas_aster.py 2007-12-17 13:33:02.000000000 +0100
++++ eficas-1.13.0/Aster/eficas_aster.py 2008-02-23 00:47:33.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ # -*- coding: utf-8 -*-
+ # CONFIGURATION MANAGEMENT OF EDF VERSION
+ # ======================================================================
+diff -r -u --new-file eficas-1.13.0.orig/Aster/test_eficas.py eficas-1.13.0/Aster/test_eficas.py
+--- eficas-1.13.0.orig/Aster/test_eficas.py 2007-12-17 13:33:02.000000000 +0100
++++ eficas-1.13.0/Aster/test_eficas.py 2008-02-23 00:47:58.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ # -*- coding: utf-8 -*-
+ # CONFIGURATION MANAGEMENT OF EDF VERSION
+ # ======================================================================
+diff -r -u --new-file eficas-1.13.0.orig/Traducteur/traduitV7V8.py eficas-1.13.0/Traducteur/traduitV7V8.py
+--- eficas-1.13.0.orig/Traducteur/traduitV7V8.py 2007-12-17 13:33:01.000000000 +0100
++++ eficas-1.13.0/Traducteur/traduitV7V8.py 2008-02-23 00:48:23.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ # -*- coding: utf-8 -*-
+ """
+ """
+diff -r -u --new-file eficas-1.13.0.orig/Traducteur/traduitV8V9.py eficas-1.13.0/Traducteur/traduitV8V9.py
+--- eficas-1.13.0.orig/Traducteur/traduitV8V9.py 2007-12-17 13:33:01.000000000 +0100
++++ eficas-1.13.0/Traducteur/traduitV8V9.py 2008-02-23 00:48:27.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python
++#!/usr/bin/python
+ # -*- coding: utf-8 -*-
+ """
+ """
Added: packages/code-aster/eficas/trunk/debian/patches/paths.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/paths.diff?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/paths.diff (added)
+++ packages/code-aster/eficas/trunk/debian/patches/paths.diff Tue Apr 6 20:09:38 2010
@@ -1,0 +1,61 @@
+diff -r -u --new-file eficas-1.13.0.orig/Aster/prefs.py eficas-1.13.0/Aster/prefs.py
+--- eficas-1.13.0.orig/Aster/prefs.py 2007-12-17 13:33:02.000000000 +0100
++++ eficas-1.13.0/Aster/prefs.py 2008-02-23 01:35:51.000000000 +0100
+@@ -24,6 +24,7 @@
+ # REPINI sert à localiser le fichier editeur.ini
+ # Obligatoire
+ REPINI=os.path.dirname(os.path.abspath(__file__))
++REPDATA="/usr/share/eficas/"
+
+ # INSTALLDIR sert à localiser l'installation d'Eficas
+ # Obligatoire
+@@ -39,7 +40,7 @@
+ code="ASTER"
+
+ # lang indique la langue utilisée pour les chaines d'aide : fr ou ang
+-lang='fr'
++lang='ang'
+
+ # Codage des strings qui accepte les accents (en remplacement de 'ascii')
+ encoding='iso-8859-1'
+@@ -49,7 +50,7 @@
+ sys.path[:0]=[EditeurDir]
+ sys.path[:0]=[INSTALLDIR]
+
+-ICONDIR=os.path.join(INSTALLDIR,'Editeur','icons')
++ICONDIR=os.path.join(REPDATA,'Editeur','icons')
+
+ # Preference
+ if os.name == 'nt':
+diff -r -u --new-file eficas-1.13.0.orig/Editeur/configuration.py eficas-1.13.0/Editeur/configuration.py
+--- eficas-1.13.0.orig/Editeur/configuration.py 2007-12-17 13:33:01.000000000 +0100
++++ eficas-1.13.0/Editeur/configuration.py 2008-02-23 01:31:37.000000000 +0100
+@@ -223,7 +223,7 @@
+ else :
+ self.fichier="editeur_salome.ini"
+ self.rep_ini = rep_ini
+- self.fic_ini = os.path.join(self.rep_ini,self.fichier)
++ self.fic_ini = os.path.join("/etc/eficas/",self.fichier)
+ self.titre = "Paramètres nécessaires à la configuration d'EFICAS"
+ self.texte_ini = "Voici les paramètres que requiert Eficas"
+ self.commande = self.creation_fichier_ini_si_possible
+diff -r -u --new-file eficas-1.13.0.orig/Editeur/listePatrons.py eficas-1.13.0/Editeur/listePatrons.py
+--- eficas-1.13.0.orig/Editeur/listePatrons.py 2007-12-17 13:33:01.000000000 +0100
++++ eficas-1.13.0/Editeur/listePatrons.py 2008-02-23 01:36:52.000000000 +0100
+@@ -1,13 +1,13 @@
+ import os
+ import re
++import prefs
+
+ sous_menu={0:{"3D":"3D.comm"},1:{"poutre":"pou.comm"},2:{"salome":"salome.comm"},3:{"divers":"comm"}}
+
+ class listePatrons :
+
+ def __init__(self):
+- repIni=os.path.dirname(os.path.abspath(__file__))
+- self.rep_patrons=repIni+"/Patrons"
++ self.rep_patrons=prefs.REPDATA+"/Editeur/Patrons"
+ self.liste={}
+ self.traite_liste()
+
+
Added: packages/code-aster/eficas/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/series?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/series (added)
+++ packages/code-aster/eficas/trunk/debian/patches/series Tue Apr 6 20:09:38 2010
@@ -1,0 +1,4 @@
+setup.py.diff
+eficas.diff
+path_to_python.diff
+paths.diff
Added: packages/code-aster/eficas/trunk/debian/patches/setup.py.diff
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/setup.py.diff?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/setup.py.diff (added)
+++ packages/code-aster/eficas/trunk/debian/patches/setup.py.diff Tue Apr 6 20:09:38 2010
@@ -1,0 +1,18 @@
+--- eficas-1.13.0.orig/setup.py 1970-01-01 01:00:00.000000000 +0100
++++ eficas-1.13.0/setup.py 2008-02-22 22:15:52.000000000 +0100
+@@ -0,0 +1,15 @@
++#!/usr/bin/python
++from distutils.core import setup
++
++
++setup (name = "eficas",
++ description="ASter Command FIle Editor",
++ version="1.13.0",
++ author="EDF",
++ author_email="",
++ url="http://www.code-aster.org/",
++
++packages=['Accas','AIDE','Aster','convert','Editeur','Extensions','generator','Ihm','InterfaceTK','Misc','Noyau','Tools','Traducteur','Validation','Tools/foztools/','convert/Parserv5/','Aster/Cata/','Aster/Cata/cataSTA9/SD/','Aster/Cata/cataSTA9/Macro/','Aster/Cata/cataSTA7/','Aster/Cata/cataSTA7/Macro/','Aster/Cata/cataSTA8/','Aster/Cata/cataSTA8/Macro/','Aster/Cata/cataSTA9/'],
++ license="GPL",
++ long_description="The Aster command file editor... To help the user to build command file for Code Aster"
++)
Added: packages/code-aster/eficas/trunk/debian/pycompat
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/pycompat?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/pycompat (added)
+++ packages/code-aster/eficas/trunk/debian/pycompat Tue Apr 6 20:09:38 2010
@@ -1,0 +1,2 @@
+2
+
Added: packages/code-aster/eficas/trunk/debian/pyversions
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/pyversions?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/pyversions (added)
+++ packages/code-aster/eficas/trunk/debian/pyversions Tue Apr 6 20:09:38 2010
@@ -1,0 +1,1 @@
+2.4-
Added: packages/code-aster/eficas/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/rules?rev=36339&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/rules (added)
+++ packages/code-aster/eficas/trunk/debian/rules Tue Apr 6 20:09:38 2010
@@ -1,0 +1,45 @@
+#!/usr/bin/make -f
+# Copyright 2008 - Sylvestre Ledru <sylvestre.ledru at inria.fr>
+
+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
+
+DEB_PYTHON_MODULE_PACKAGE = eficas
+DEB_PYTHON_COMPILE_VERSION := $(shell pyversions -r)
+DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile \
+ --install-lib=usr/share/python-support/eficas
+
+# --install-lib usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas
+#usr/share/python/site-package/eficas
+
+#DEB_PYTHON_BUILD_ARGS = --build-base="$(DEB_BUILDDIR)/specific-build-dir"
+
+install/$(DEB_PYTHON_MODULE_PACKAGE)::
+# Data
+ install -d debian/eficas/usr/share/eficas/Editeur/icons/
+ install -m 0644 Editeur/icons/* debian/eficas/usr/share/eficas/Editeur/icons/
+ install -d debian/eficas/usr/share/eficas/Editeur/Patrons/
+ install -m 0644 Editeur/Patrons/* debian/eficas/usr/share/eficas/Editeur/Patrons/
+
+# Configuration
+ install -m 0644 -D Aster/editeur.ini Aster/editeur_salome.ini debian/eficas/etc/eficas/
+
+# Permissions
+ chmod +x debian/eficas/usr/share/python-support/eficas/Aster/eficas_aster.py
+ chmod +x debian/eficas/usr/share/python-support/eficas/Aster/test_eficas.py
+ chmod +x debian/eficas/usr/share/python-support/eficas/Traducteur/traduitV7V8.py
+ chmod +x debian/eficas/usr/share/python-support/eficas/Traducteur/traduitV8V9.py
+
+# chmod +x debian/eficas/usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas/Aster/eficas_aster.py
+# chmod +x debian/eficas/usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas/Aster/test_eficas.py
+# chmod +x debian/eficas/usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas/Traducteur/traduitV7V8.py
+# chmod +x debian/eficas/usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas/Traducteur/traduitV8V9.py
+ install -d debian/eficas/usr/bin/
+ install -m 0755 eficas debian/eficas/usr/bin/
+
+# Icon and menu entry
+ install -m 0644 -D debian/eficas.desktop debian/eficas/usr/share/applications/
+ install -m 0644 -D debian/eficas.xpm debian/eficas/usr/share/pixmaps/
Propchange: packages/code-aster/eficas/trunk/debian/rules
------------------------------------------------------------------------------
svn:executable = *
More information about the debian-science-commits
mailing list