[Python-modules-commits] r17010 - in packages/pyke/trunk/debian (4 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun May 15 23:31:33 UTC 2011


    Date: Sunday, May 15, 2011 @ 23:31:32
  Author: eriol-guest
Revision: 17010

Changed a hardcoded path in a doctest to a path that is guaranteed
to exist on a POSIX system

Added:
  packages/pyke/trunk/debian/patches/01_fix-hardcoded-path-in-doctest.patch
    (from rev 17005, packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch)
Modified:
  packages/pyke/trunk/debian/changelog
  packages/pyke/trunk/debian/patches/series
Deleted:
  packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch

Modified: packages/pyke/trunk/debian/changelog
===================================================================
--- packages/pyke/trunk/debian/changelog	2011-05-15 21:03:18 UTC (rev 17009)
+++ packages/pyke/trunk/debian/changelog	2011-05-15 23:31:32 UTC (rev 17010)
@@ -21,12 +21,13 @@
       python-nose
   * debian/copyright
     - Made DEP5 compliant
-  * debian/patches/01-disable-hardcoded-path-in-doctest.patch
-    - Disabled a hardcoded path in a doctest
+  * debian/patches/01-fixed-hardcoded-path-in-doctest.patch
+    - Changed a hardcoded path in a doctest to a path that is guaranteed
+      to exist on a POSIX system
   * debian/patches/02_fix-insecure-temporary-file-use.patch
     - Use mktemp to create temporary file
 
- -- Daniele Tricoli <eriol at mornie.org>  Wed, 11 May 2011 04:35:31 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Mon, 16 May 2011 01:18:31 +0200
 
 pyke (1.1.1-1) unstable; urgency=low
 

Deleted: packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch
===================================================================
--- packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch	2011-05-15 21:03:18 UTC (rev 17009)
+++ packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch	2011-05-15 23:31:32 UTC (rev 17010)
@@ -1,12 +0,0 @@
-Disabled a hardcoded path in a doctest
---- a/pyke/special.py
-+++ b/pyke/special.py
-@@ -100,7 +100,7 @@
-         >>> cwd = os.getcwd() + '\n'
-         >>> out == cwd
-         True
--        >>> run_cmd(None, pattern.pattern_literal(('pwd',)),
-+        >>> run_cmd(None, pattern.pattern_literal(('pwd',)), # doctest: +SKIP
-         ...         pattern.pattern_literal('/home/bruce'))
-         (0, '/home/bruce\n', '')
-     '''

Copied: packages/pyke/trunk/debian/patches/01_fix-hardcoded-path-in-doctest.patch (from rev 17005, packages/pyke/trunk/debian/patches/01_disable-hardcoded-path-in-doctest.patch)
===================================================================
--- packages/pyke/trunk/debian/patches/01_fix-hardcoded-path-in-doctest.patch	                        (rev 0)
+++ packages/pyke/trunk/debian/patches/01_fix-hardcoded-path-in-doctest.patch	2011-05-15 23:31:32 UTC (rev 17010)
@@ -0,0 +1,14 @@
+Changed a hardcoded path in a doctest to a path that is guaranteed to exist on a POSIX system
+--- a/pyke/special.py
++++ b/pyke/special.py
+@@ -101,8 +101,8 @@
+         >>> out == cwd
+         True
+         >>> run_cmd(None, pattern.pattern_literal(('pwd',)),
+-        ...         pattern.pattern_literal('/home/bruce'))
+-        (0, '/home/bruce\n', '')
++        ...         pattern.pattern_literal('/lib'))
++        (0, '/lib\n', '')
+     '''
+     stdin = None if stdin_pat is None \
+                  else stdin_pat.as_data(pat_context)

Modified: packages/pyke/trunk/debian/patches/series
===================================================================
--- packages/pyke/trunk/debian/patches/series	2011-05-15 21:03:18 UTC (rev 17009)
+++ packages/pyke/trunk/debian/patches/series	2011-05-15 23:31:32 UTC (rev 17010)
@@ -1,2 +1,2 @@
-01_disable-hardcoded-path-in-doctest.patch
+01_fix-hardcoded-path-in-doctest.patch
 02_fix-insecure-temporary-file-use.patch




More information about the Python-modules-commits mailing list