[Python-modules-commits] r23679 - in packages/pyxdg/trunk/debian (2 files)

mitya57-guest at users.alioth.debian.org mitya57-guest at users.alioth.debian.org
Fri Mar 8 16:58:42 UTC 2013


    Date: Friday, March 8, 2013 @ 16:58:40
  Author: mitya57-guest
Revision: 23679

debian/patches/gettext-support.patch: also disable the test that could
fail when gedit is installed.

Modified:
  packages/pyxdg/trunk/debian/changelog
  packages/pyxdg/trunk/debian/patches/gettext-support.patch

Modified: packages/pyxdg/trunk/debian/changelog
===================================================================
--- packages/pyxdg/trunk/debian/changelog	2013-03-08 16:42:43 UTC (rev 23678)
+++ packages/pyxdg/trunk/debian/changelog	2013-03-08 16:58:40 UTC (rev 23679)
@@ -16,6 +16,8 @@
       have been the first. [Thanks to Thomas Kluyver and Iain Lane]
   * Refresh debian/patches/set-default-menu.patch.
   * Bump Standards-Version to 3.9.4, no changes needed.
+  * debian/patches/gettext-support.patch: also disable the test that could
+    fail when gedit is installed.
 
  -- Dmitry Shachnev <mitya57 at gmail.com>  Thu, 07 Mar 2013 19:17:04 +0400
 

Modified: packages/pyxdg/trunk/debian/patches/gettext-support.patch
===================================================================
--- packages/pyxdg/trunk/debian/patches/gettext-support.patch	2013-03-08 16:42:43 UTC (rev 23678)
+++ packages/pyxdg/trunk/debian/patches/gettext-support.patch	2013-03-08 16:58:40 UTC (rev 23679)
@@ -6,7 +6,7 @@
  Currently it's Ubuntu-specific, but it may be implemented in GNOME
  later, see https://bugzilla.gnome.org/569829.
 Forwarded: not-needed
-Last-Update: 2013-03-07
+Last-Update: 2013-03-08
 
 --- a/xdg/IniFile.py
 +++ b/xdg/IniFile.py
@@ -52,3 +52,17 @@
              else:
                  value = self.content[group][key]
          else:
+--- a/test/test-desktop.py
++++ b/test/test-desktop.py
+@@ -51,9 +51,9 @@
+     def test_values(self):
+         entry = DesktopEntry(self.test_file)
+         self.assertEqual(entry.getName(), 'gedit')
+-        self.assertEqual(entry.getGenericName(), 'Text Editor')
++        #self.assertEqual(entry.getGenericName(), 'Text Editor')
+         self.assertEqual(entry.getNoDisplay(), False)
+-        self.assertEqual(entry.getComment(), 'Edit text files')
++        #self.assertEqual(entry.getComment(), 'Edit text files')
+         self.assertEqual(entry.getIcon(), 'accessories-text-editor')
+         self.assertEqual(entry.getHidden(), False)
+         self.assertEqual(entry.getOnlyShowIn(), [])




More information about the Python-modules-commits mailing list