[Python-apps-commits] r7850 - in packages/veusz/trunk/debian/patches (4 files)

jeremysanders-guest at users.alioth.debian.org jeremysanders-guest at users.alioth.debian.org
Fri Nov 25 20:08:17 UTC 2011


    Date: Friday, November 25, 2011 @ 20:08:16
  Author: jeremysanders-guest
Revision: 7850

Update last-updated dates on patches, and include forgotten examples patch

Added:
  packages/veusz/trunk/debian/patches/examples-location.patch
Modified:
  packages/veusz/trunk/debian/patches/datafiles-usr-share.patch
  packages/veusz/trunk/debian/patches/license-file-location.patch
  packages/veusz/trunk/debian/patches/self-test-data-location.patch

Modified: packages/veusz/trunk/debian/patches/datafiles-usr-share.patch
===================================================================
--- packages/veusz/trunk/debian/patches/datafiles-usr-share.patch	2011-11-25 20:03:59 UTC (rev 7849)
+++ packages/veusz/trunk/debian/patches/datafiles-usr-share.patch	2011-11-25 20:08:16 UTC (rev 7850)
@@ -6,7 +6,7 @@
  distutils and compatibility with other operating systems.
 Author: Jeremy Sanders <jeremy at jeremysanders.net>
 Forwarded: not-needed
-Last-Update: 2011-03-24
+Last-Update: 2011-11-25
 --- veusz-1.14.orig/setup.py
 +++ veusz-1.14/setup.py
 @@ -50,7 +50,7 @@

Added: packages/veusz/trunk/debian/patches/examples-location.patch
===================================================================
--- packages/veusz/trunk/debian/patches/examples-location.patch	                        (rev 0)
+++ packages/veusz/trunk/debian/patches/examples-location.patch	2011-11-25 20:08:16 UTC (rev 7850)
@@ -0,0 +1,28 @@
+Description: Do not install examples in /usr/share/veusz/examples
+ We install the examples to /usr/share/doc/veusz/examples, so do not install
+ into /usr/share/veusz. Update the location of the examples in the Veusz
+ code so that Veusz could find it to show in the menus.
+Author: Jeremy Sanders <jeremy at jeremysanders.net>
+Forwarded: not-needed
+Last-Update: 2011-11-25
+--- veusz-1.14.orig/setup.py
++++ veusz-1.14/setup.py
+@@ -128,7 +128,6 @@
+       data_files = [ ('veusz', ['VERSION']),
+                      findData('dialogs', ('ui',)),
+                      findData('windows/icons', ('png', 'svg')),
+-                     findData('examples', ('vsz', 'py', 'csv', 'dat')),
+                      ],
+       packages = [ 'veusz',
+                    'veusz.dialogs',
+--- veusz-1.14.orig/utils/utilfuncs.py
++++ veusz-1.14/utils/utilfuncs.py
+@@ -51,7 +51,7 @@
+         return os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+ 
+ veuszDirectory = '/usr/share/veusz'
+-exampleDirectory = os.path.join(veuszDirectory, 'examples')
++exampleDirectory = '/usr/share/doc/veusz/examples'
+ 
+ id_re = re.compile('^[A-Za-z_][A-Za-z0-9_]*$')
+ def validPythonIdentifier(name):

Modified: packages/veusz/trunk/debian/patches/license-file-location.patch
===================================================================
--- packages/veusz/trunk/debian/patches/license-file-location.patch	2011-11-25 20:03:59 UTC (rev 7849)
+++ packages/veusz/trunk/debian/patches/license-file-location.patch	2011-11-25 20:08:16 UTC (rev 7850)
@@ -3,7 +3,7 @@
  Debian does not want extra license files installed.
 Author: Jeremy Sanders <jeremy at jeremysanders.net>
 Forwarded: not-needed
-Last-Update: 2011-03-24
+Last-Update: 2011-11-25
 --- veusz-1.14.orig/dialogs/aboutdialog.py
 +++ veusz-1.14/dialogs/aboutdialog.py
 @@ -57,7 +57,7 @@

Modified: packages/veusz/trunk/debian/patches/self-test-data-location.patch
===================================================================
--- packages/veusz/trunk/debian/patches/self-test-data-location.patch	2011-11-25 20:03:59 UTC (rev 7849)
+++ packages/veusz/trunk/debian/patches/self-test-data-location.patch	2011-11-25 20:08:16 UTC (rev 7850)
@@ -4,6 +4,7 @@
  datafiles-usr-share.patch to be in /usr/share.
 Author: Jeremy Sanders <jeremy at jeremysanders.net>
 Forwarded: not-needed
+Last-Update: 2011-11-25
 --- veusz-1.14.orig/tests/runselftest.py
 +++ veusz-1.14/tests/runselftest.py
 @@ -41,6 +41,11 @@




More information about the Python-apps-commits mailing list