[code-saturne] 27/70: Clean up some python stuff

Gilles Filippini pini at debian.org
Sun Jan 18 22:33:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to branch master
in repository code-saturne.

commit 590b6104f03d4f1e1ebc986816baf8dc4d9998cd
Author: Sylvestre Ledru <sylvestre at debian.org>
Date:   Mon Aug 1 13:52:31 2011 +0000

    Clean up some python stuff
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 4 +---
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 874cca9..8eca4b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ code-saturne (2.0.2-1) unstable; urgency=low
 
   * New upstream release
   * Standards-Version updated to version 3.9.2
+  * Python byte-compile files are now compiled (Closes: #566040)
 
  -- Sylvestre Ledru <sylvestre at debian.org>  Tue, 26 Jul 2011 22:50:52 +0200
 
diff --git a/debian/control b/debian/control
index e9341ec..06390bb 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 7), autotools-dev, cdbs, libbft-dev (>= 1.1.4),
 # To help the configure detection on cs lib
   zlib1g-dev, libhdf5-mpi-dev, libcgns-dev, mpi-default-dev, libmedc-dev,
   libxml2-dev, libblas-dev | libatlas-dev, libopenmpi-dev,
-  chrpath
+  chrpath, python
 Standards-Version: 3.9.2
 Homepage: http://www.code-saturne.org/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/code-saturne/code-saturne/
diff --git a/debian/rules b/debian/rules
index d397672..07314c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,8 +14,6 @@ binary-install/code-saturne-bin::
 	chrpath -d debian/code-saturne-bin/usr/bin/cs_solver
 
 binary-install/code-saturne-data::
-	find debian/code-saturne-data/ -name '*.pyc' -exec rm '{}' ';'
-	find debian/code-saturne-data/ -name '*.pyo' -exec rm '{}' ';'
-	dh_python2 -pguake
 	chmod +x debian/code-saturne-data/usr/share/ncs/SaturneGUI \
 		debian/code-saturne-data/usr/share/ncs/runcase
+	dh_python2 -pcode-saturne-data

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/code-saturne.git



More information about the debian-science-commits mailing list