[Python-modules-commits] r16511 - in packages/python-contract/trunk/debian (3 files)
jwilk at users.alioth.debian.org
jwilk at users.alioth.debian.org
Thu Apr 14 13:11:48 UTC 2011
Date: Thursday, April 14, 2011 @ 13:11:33
Author: jwilk
Revision: 16511
Add patch descriptions.
Modified:
packages/python-contract/trunk/debian/changelog
packages/python-contract/trunk/debian/patches/remove-shebang
packages/python-contract/trunk/debian/patches/tests-exit-with-failure
Modified: packages/python-contract/trunk/debian/changelog
===================================================================
--- packages/python-contract/trunk/debian/changelog 2011-04-14 13:07:10 UTC (rev 16510)
+++ packages/python-contract/trunk/debian/changelog 2011-04-14 13:11:33 UTC (rev 16511)
@@ -28,8 +28,9 @@
+ Remove explicit patching from debian/rules.
* Set section to ‘python’.
* Remove XB-Python-Version.
+ * Add patch descriptions.
- -- Jakub Wilk <jwilk at debian.org> Thu, 14 Apr 2011 15:06:46 +0200
+ -- Jakub Wilk <jwilk at debian.org> Thu, 14 Apr 2011 15:10:39 +0200
python-contract (1.4-2) unstable; urgency=low
Modified: packages/python-contract/trunk/debian/patches/remove-shebang
===================================================================
--- packages/python-contract/trunk/debian/patches/remove-shebang 2011-04-14 13:07:10 UTC (rev 16510)
+++ packages/python-contract/trunk/debian/patches/remove-shebang 2011-04-14 13:11:33 UTC (rev 16511)
@@ -1,5 +1,9 @@
---- python-contract-1.4.orig/contract.py
-+++ python-contract-1.4/contract.py
+Description: Remove #!/usr/bin/env python shebang.
+Author: Mike O'Connor <stew at debian.org>
+Last-Update: 2011-04-14
+
+--- a/contract.py
++++ b/contract.py
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""Programming-by-contract for Python, based on Eiffel's DBC.
Modified: packages/python-contract/trunk/debian/patches/tests-exit-with-failure
===================================================================
--- packages/python-contract/trunk/debian/patches/tests-exit-with-failure 2011-04-14 13:07:10 UTC (rev 16510)
+++ packages/python-contract/trunk/debian/patches/tests-exit-with-failure 2011-04-14 13:11:33 UTC (rev 16511)
@@ -1,5 +1,9 @@
---- python-contract-1.4.orig/test/testdbc1.py
-+++ python-contract-1.4/test/testdbc1.py
+Description: Return with exit code 1 if a test fails.
+Author: Mike O'Connor <stew at debian.org>
+Last-Update: 2011-04-14
+
+--- a/test/testdbc1.py
++++ b/test/testdbc1.py
@@ -189,5 +189,7 @@
t = _test()
if t[0]:
@@ -8,56 +12,56 @@
+ sys.exit( 1 )
else:
print "test: %d successes" % t[1]
---- python-contract-1.4.orig/test/testdbc2.py
-+++ python-contract-1.4/test/testdbc2.py
+--- a/test/testdbc2.py
++++ b/test/testdbc2.py
@@ -42,3 +42,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc3.py
-+++ python-contract-1.4/test/testdbc3.py
+--- a/test/testdbc3.py
++++ b/test/testdbc3.py
@@ -527,3 +527,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc4.py
-+++ python-contract-1.4/test/testdbc4.py
+--- a/test/testdbc4.py
++++ b/test/testdbc4.py
@@ -504,3 +504,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc5.py
-+++ python-contract-1.4/test/testdbc5.py
+--- a/test/testdbc5.py
++++ b/test/testdbc5.py
@@ -94,3 +94,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc6.py
-+++ python-contract-1.4/test/testdbc6.py
+--- a/test/testdbc6.py
++++ b/test/testdbc6.py
@@ -28,3 +28,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc7.py
-+++ python-contract-1.4/test/testdbc7.py
+--- a/test/testdbc7.py
++++ b/test/testdbc7.py
@@ -43,3 +43,5 @@
print "test: %d tests succeeded" % t[1]
else:
print "test: %d/%d tests failed" % t
+ import sys
+ sys.exit( 1 )
---- python-contract-1.4.orig/test/testdbc8.py
-+++ python-contract-1.4/test/testdbc8.py
+--- a/test/testdbc8.py
++++ b/test/testdbc8.py
@@ -23,5 +23,7 @@
t = _test()
if t[0]:
@@ -66,8 +70,8 @@
+ sys.exit( 1 )
else:
print "test: %d successes" % t[1]
---- python-contract-1.4.orig/test/testdbca.py
-+++ python-contract-1.4/test/testdbca.py
+--- a/test/testdbca.py
++++ b/test/testdbca.py
@@ -67,4 +67,5 @@
print "test: %d tests succeeded" % t[1]
else:
More information about the Python-modules-commits
mailing list