[Python-apps-commits] r2904 - in packages/vitables/trunk/debian (7 files)

xnox-guest at users.alioth.debian.org xnox-guest at users.alioth.debian.org
Sat May 9 18:13:59 UTC 2009


    Date: Saturday, May 9, 2009 @ 18:13:58
  Author: xnox-guest
Revision: 2904

* Patches:
  + remove_buildtime_dependency: removes checks for PyQt and pytables at
  build time
  + fix_scripts: updates setup.py to use *.py name for the script
  because a directory and a file cannot have same name "vitables".
  + desktop-file: adds main category, removes encoding.
* Stopped compressing example files and pdf documentation.

Added:
  packages/vitables/trunk/debian/patches/fix_scripts.patch
    (from rev 2902, packages/vitables/trunk/debian/patches/fix_scripts)
  packages/vitables/trunk/debian/patches/remove_buildtime_dependency.patch
Modified:
  packages/vitables/trunk/debian/changelog
  packages/vitables/trunk/debian/control
  packages/vitables/trunk/debian/patches/series
  packages/vitables/trunk/debian/rules
Deleted:
  packages/vitables/trunk/debian/patches/fix_scripts

Modified: packages/vitables/trunk/debian/changelog
===================================================================
--- packages/vitables/trunk/debian/changelog	2009-05-09 17:31:32 UTC (rev 2903)
+++ packages/vitables/trunk/debian/changelog	2009-05-09 18:13:58 UTC (rev 2904)
@@ -7,5 +7,12 @@
   * Moved examples and doc to /usr/share/doc/vitables/
   * Added python-numpy dependency
   * Switched to debhelper7
+  * Patches:
+    + remove_buildtime_dependency: removes checks for PyQt and pytables at
+    build time
+    + fix_scripts: updates setup.py to use *.py name for the script
+    because a directory and a file cannot have same name "vitables".
+    + desktop-file: adds main category, removes encoding.
+  * Stopped compressing example files and pdf documentation.
 
- -- Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>  Sat, 09 May 2009 17:30:52 +0000
+ -- Dmitrijs Ledkovs <dmitrij.ledkov at gmail.com>  Sat, 09 May 2009 18:12:53 +0000

Modified: packages/vitables/trunk/debian/control
===================================================================
--- packages/vitables/trunk/debian/control	2009-05-09 17:31:32 UTC (rev 2903)
+++ packages/vitables/trunk/debian/control	2009-05-09 18:13:58 UTC (rev 2904)
@@ -7,8 +7,6 @@
                debhelper (>= 7),
                python,
                python-support
-Build-Depends-Indep: python-qt4 (>= 4.4),
-                     python-tables (>= 2.0)
 Standards-Version: 3.8.1
 Homepage: http://vitables.berlios.de
 

Deleted: packages/vitables/trunk/debian/patches/fix_scripts
===================================================================
--- packages/vitables/trunk/debian/patches/fix_scripts	2009-05-09 17:31:32 UTC (rev 2903)
+++ packages/vitables/trunk/debian/patches/fix_scripts	2009-05-09 18:13:58 UTC (rev 2904)
@@ -1,14 +0,0 @@
-Renaming executable script, because a file and a folder cannot have the same name.
-Index: bvitables/setup.py
-===================================================================
---- bvitables.orig/setup.py	2009-05-09 17:33:14.000000000 +0100
-+++ bvitables/setup.py	2009-05-09 17:33:21.000000000 +0100
-@@ -276,7 +276,7 @@
-     'vitables.h5db', 'vitables.nodeProperties', 'vitables.nodes',
-     'vitables.preferences', 
-     'vitables.vtTables', 'vitables.vtWidgets'],
--    scripts = ['scripts/vitables'],
-+    scripts = ['scripts/vitables.py'],
-     cmdclass = {"install_data":smart_install_data},
-     data_files = [
-     ('examples', glob.glob('examples/*.h5')),

Copied: packages/vitables/trunk/debian/patches/fix_scripts.patch (from rev 2902, packages/vitables/trunk/debian/patches/fix_scripts)
===================================================================
--- packages/vitables/trunk/debian/patches/fix_scripts.patch	                        (rev 0)
+++ packages/vitables/trunk/debian/patches/fix_scripts.patch	2009-05-09 18:13:58 UTC (rev 2904)
@@ -0,0 +1,14 @@
+Renaming executable script, because a file and a folder cannot have the same name.
+Index: bvitables/setup.py
+===================================================================
+--- bvitables.orig/setup.py	2009-05-09 17:33:14.000000000 +0100
++++ bvitables/setup.py	2009-05-09 17:33:21.000000000 +0100
+@@ -276,7 +276,7 @@
+     'vitables.h5db', 'vitables.nodeProperties', 'vitables.nodes',
+     'vitables.preferences', 
+     'vitables.vtTables', 'vitables.vtWidgets'],
+-    scripts = ['scripts/vitables'],
++    scripts = ['scripts/vitables.py'],
+     cmdclass = {"install_data":smart_install_data},
+     data_files = [
+     ('examples', glob.glob('examples/*.h5')),

Added: packages/vitables/trunk/debian/patches/remove_buildtime_dependency.patch
===================================================================
--- packages/vitables/trunk/debian/patches/remove_buildtime_dependency.patch	                        (rev 0)
+++ packages/vitables/trunk/debian/patches/remove_buildtime_dependency.patch	2009-05-09 18:13:58 UTC (rev 2904)
@@ -0,0 +1,16 @@
+Don't check run-time required libraries at buildtime.
+Index: bvitables/setup.py
+===================================================================
+--- bvitables.orig/setup.py	2009-05-09 18:32:20.000000000 +0100
++++ bvitables/setup.py	2009-05-09 18:34:12.000000000 +0100
+@@ -209,8 +209,8 @@
+         helpAsked = True
+         break
+ 
+-if not helpAsked:
+-    checkVersions()
++#if not helpAsked:
++#    checkVersions()
+ 
+ # Proceed if required libraries are OK
+ 

Modified: packages/vitables/trunk/debian/patches/series
===================================================================
--- packages/vitables/trunk/debian/patches/series	2009-05-09 17:31:32 UTC (rev 2903)
+++ packages/vitables/trunk/debian/patches/series	2009-05-09 18:13:58 UTC (rev 2904)
@@ -1,2 +1,4 @@
-fix_scripts
 desktop-file.patch
+fix_scripts.patch
+remove_buildtime_dependency.patch
+

Modified: packages/vitables/trunk/debian/rules
===================================================================
--- packages/vitables/trunk/debian/rules	2009-05-09 17:31:32 UTC (rev 2903)
+++ packages/vitables/trunk/debian/rules	2009-05-09 18:13:58 UTC (rev 2904)
@@ -6,7 +6,6 @@
 	dh $@
 
 build: 	patch
-	ls
 	mv scripts/vitables scripts/vitables.py
 	dh build
 	cp unixapp/vitables.svgz vitables.svg.gz
@@ -25,4 +24,7 @@
 	dh binary-indep --remaining
 	mv -f scripts/vitables.py scripts/vitables
 
+override_dh_compress:
+	dh_compress -X.h5 -X.pdf
+
 binary: binary-indep




More information about the Python-apps-commits mailing list