r44147 - in /packages/code-aster/eficas/trunk/debian: README.Debian changelog control patches/setup.py.patch rules

trophime-guest at users.alioth.debian.org trophime-guest at users.alioth.debian.org
Tue Dec 13 07:59:11 UTC 2011


Author: trophime-guest
Date: Tue Dec 13 07:59:11 2011
New Revision: 44147

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44147
Log:
convert to dh_python2

Added:
    packages/code-aster/eficas/trunk/debian/README.Debian
Modified:
    packages/code-aster/eficas/trunk/debian/changelog
    packages/code-aster/eficas/trunk/debian/control
    packages/code-aster/eficas/trunk/debian/patches/setup.py.patch
    packages/code-aster/eficas/trunk/debian/rules

Added: packages/code-aster/eficas/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/README.Debian?rev=44147&op=file
==============================================================================
--- packages/code-aster/eficas/trunk/debian/README.Debian (added)
+++ packages/code-aster/eficas/trunk/debian/README.Debian Tue Dec 13 07:59:11 2011
@@ -1,0 +1,33 @@
+eficas for Debian
+-----------------
+
+eficas-doc are not installed according to Debian policy.
+To install eficas docs (DEB_UPSTREAM_VERSION = 6.3.0-1)
+first extract from the orig upstream tarball 
+(ASTER_VERSION_FULL = 11.0.10-2) :
+
+mdkir -p tmp/
+pushd tmp
+wget "http://www.code-aster.org/FICHIERS/aster-full-src-$(ASTER_VERSION_FULL).noarch.tar.gz"
+
+# Go to SRC directory and retreive astk source
+tar xzf aster-full-src-$(ASTER_VERSION_FULL).noarch.tar.gz
+cd aster-full-src-$(ASTER_VERSION)/SRC
+
+You can then proceed as follows:
+
+cd aster-full-src-$(ASTER_VERSION)/SRC
+tar zxvf eficas-doc-$(DEB_UPSTREAM_VERSION).tgz
+cd eficas-6.3.0
+cp -r Aster/Doc /usr/share/doc/eficas
+cp -r Aster/Cata /usr/share/doc/eficas
+ln -s /usr/share/doc/eficas/Doc /usr/share/pyshared/Aster
+cd /usr/share/doc/eficas/Aster/Cata
+foreach file in 'ls -l *.docu' do; 
+   ln -s $file /usr/share/pyshared/Aster/Cata 
+done
+popd
+rm -rf tmp
+
+ 	
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Sat, 11 Dec 2011 14:41:18 +0200

Modified: packages/code-aster/eficas/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/changelog?rev=44147&op=diff
==============================================================================
--- packages/code-aster/eficas/trunk/debian/changelog (original)
+++ packages/code-aster/eficas/trunk/debian/changelog Tue Dec 13 07:59:11 2011
@@ -5,10 +5,12 @@
   * Add openturn support
   * Add debian/eficas.install
   * debian/rules: simplify install target
+  * debian/control: add xpdf to Depends
   * Bump to standard 3.9.2
+      - Convert to dh_python2.
   * Update C. Trophime email
 
- -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Sat, 11 Dec 2011 14:41:18 +0200
+ -- Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>  Mon, 12 Dec 2011 17:29:23 +0100
 
 eficas (2.1.1-1-1) unstable; urgency=low
 

Modified: packages/code-aster/eficas/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/control?rev=44147&op=diff
==============================================================================
--- packages/code-aster/eficas/trunk/debian/control (original)
+++ packages/code-aster/eficas/trunk/debian/control Tue Dec 13 07:59:11 2011
@@ -4,7 +4,6 @@
 Maintainer: Debian Science Team <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Sylvestre Ledru <sylvestre at debian.org>, Christophe Trophime <christophe.trophime at lncmi.cnrs.fr>
 Build-Depends: debhelper (>= 5.0.38), cdbs (>= 0.4.90~), 
- python-support,
  python-all (>= 2.6.6-3~), python-qt4-dev, quilt,
  python-openturns
 Standards-Version: 3.9.2
@@ -16,7 +15,7 @@
 
 Package: eficas
 Architecture: all
-Depends: ${python:Depends}, python-pmw, python-numpy, ${misc:Depends}
+Depends: ${python:Depends}, python-pmw, python-numpy, ${misc:Depends}, xpdf
 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 

Modified: packages/code-aster/eficas/trunk/debian/patches/setup.py.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/patches/setup.py.patch?rev=44147&op=diff
==============================================================================
--- packages/code-aster/eficas/trunk/debian/patches/setup.py.patch (original)
+++ packages/code-aster/eficas/trunk/debian/patches/setup.py.patch Tue Dec 13 07:59:11 2011
@@ -9,7 +9,7 @@
 +
 +setup (name = "eficas",
 +    description="Aster Command File Editor",
-+    version="1.17.0",
++    version="6.3.0",
 +    author="EDF",
 +    author_email="",
 +    url="http://www.code-aster.org/",

Modified: packages/code-aster/eficas/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/code-aster/eficas/trunk/debian/rules?rev=44147&op=diff
==============================================================================
--- packages/code-aster/eficas/trunk/debian/rules (original)
+++ packages/code-aster/eficas/trunk/debian/rules Tue Dec 13 07:59:11 2011
@@ -4,8 +4,9 @@
 ASTER_VERSION=11.0.10
 ASTER_VERSION_FULL=$(ASTER_VERSION)-2
 
-DEB_PYTHON_MODULE_PACKAGE = eficas
-DEB_PYTHON_SYSTEM=pysupport
+DEB_PYTHON2_MODULE_PACKAGES = Accas Aide Aster convert Editeur \
+ Extensions generator Ihm InterfaceQT4 UiQT4  Noyau Traducteur eficas
+#DEB_PYTHON_SYSTEM=pysupport
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
@@ -13,7 +14,7 @@
 
 DEB_PYTHON_COMPILE_VERSION := $(shell pyversions -r)
 DEB_PYTHON_INSTALL_ARGS_ALL += --no-compile \
-	--install-lib=usr/share/python-support/eficas
+	--install-lib=/usr/share/pyshared
 
 # --install-lib  usr/lib/$(DEB_PYTHON_COMPILE_VERSION)/site-packages/eficas
 #usr/share/python/site-package/eficas
@@ -31,10 +32,10 @@
 	(cd debian/eficas/usr/share/pyshared/Aster && ln -sf /etc/eficas/editeur_salome.ini .)
 	
 # Permissions
-	#chmod +x debian/eficas/usr/share/pyshared/eficas/Aster/eficas_aster.py
-	#chmod +x debian/eficas/usr/share/pyshared/eficas/Aster/qtEficas_aster.py
-	#chmod +x debian/eficas/usr/share/pyshared/eficas/Traducteur/traduitV7V8.py
-	#chmod +x debian/eficas/usr/share/pyshared/eficas/Traducteur/traduitV8V9.py
+	#chmod +x debian/eficas/usr/share/pyshared/Aster/eficas_aster.py
+	#chmod +x debian/eficas/usr/share/pyshared/Aster/qtEficas_aster.py
+	#chmod +x debian/eficas/usr/share/pyshared/Traducteur/traduitV7V8.py
+	#chmod +x debian/eficas/usr/share/pyshared/Traducteur/traduitV8V9.py
 
 # Remove
 	rm -rf debian/eficas/usr/lib/python*




More information about the debian-science-commits mailing list