Bug#802155: versiontools: diff for NMU version 1.9.1-1.1

2015-10-26 Thread Benjamin Drung
Am Sonntag, den 25.10.2015, 12:04 + schrieb Neil Williams:
> Control: tags 802155 + patch
> Control: tags 802155 + pending
> 
> Dear maintainer,
> 
> I've prepared an NMU for versiontools (versioned as 1.9.1-1.1) and
> uploaded it to DELAYED/2. Please feel free to tell me if Ishould
> delay it longer.

Can you forward your patch to the linked upstream bug and delay the
upload two more days?

--
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin

Email: benjamin.dr...@profitbricks.com
URL:  http://www.profitbricks.com

Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506B.
Geschäftsführer: Andreas Gauger, Achim Weiss.



Bug#802155: versiontools: diff for NMU version 1.9.1-1.1

2015-10-25 Thread Neil Williams
Control: tags 802155 + patch
Control: tags 802155 + pending

Dear maintainer,

I've prepared an NMU for versiontools (versioned as 1.9.1-1.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru versiontools-1.9.1/debian/changelog versiontools-1.9.1/debian/changelog
--- versiontools-1.9.1/debian/changelog	2014-04-08 12:28:53.0 +0100
+++ versiontools-1.9.1/debian/changelog	2015-10-25 11:58:55.0 +
@@ -1,3 +1,12 @@
+versiontools (1.9.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Update not_found test to check for critical elements
+within the exception string instead of the entire string.
+(Closes: #802155)
+
+ -- Neil Williams   Sun, 25 Oct 2015 11:58:53 +
+
 versiontools (1.9.1-1) unstable; urgency=medium
 
   * Initial version. (Closes: #743921)
diff -Nru versiontools-1.9.1/debian/patches/check_contents.diff versiontools-1.9.1/debian/patches/check_contents.diff
--- versiontools-1.9.1/debian/patches/check_contents.diff	1970-01-01 01:00:00.0 +0100
+++ versiontools-1.9.1/debian/patches/check_contents.diff	2015-10-25 11:57:00.0 +
@@ -0,0 +1,23 @@
+Description: Check contents of message, not entire string
+ .
+ versiontools (1.9.1-1.1) UNRELEASED; urgency=medium
+ .
+   * Non-maintainer upload.
+   * Update not_found test to check for critical elements
+ within the exception string instead of the entire string.
+ (Closes: #802155)
+Author: Neil Williams 
+Bug-Debian: https://bugs.debian.org/802155
+
+---
+
+--- versiontools-1.9.1.orig/versiontools/tests.py
 versiontools-1.9.1/versiontools/tests.py
+@@ -148,6 +148,4 @@ class HandleVersionTests(TestCase):
+ except Exception:
+ e = sys.exc_info()[1]
+ self.assertTrue(isinstance(e, DistutilsSetupError))
+-self.assertEqual(str(e), "Unable to access '__nonexisting__' in "
+-  "'versiontools': 'module' object has "
+-  "no attribute '__nonexisting__'")
++self.assertIn("Unable to access '__nonexisting__'", str(e))
diff -Nru versiontools-1.9.1/debian/patches/series versiontools-1.9.1/debian/patches/series
--- versiontools-1.9.1/debian/patches/series	2014-04-08 12:15:45.0 +0100
+++ versiontools-1.9.1/debian/patches/series	2015-10-25 11:56:37.0 +
@@ -1 +1,2 @@
 fix-python-3.3-test.patch
+check_contents.diff