[Python-modules-commits] r31651 - in packages/greekocr4gamera/trunk/debian (5 files)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Jan 5 15:02:34 UTC 2015


    Date: Monday, January 5, 2015 @ 15:02:33
  Author: danstender-guest
Revision: 31651

* deb/control:
  + added dh-python to build-deps.
  + bumped standards to 3.9.6 (no changes needed).
* deb/rules: removed Vim setup line.
* Added fix-help.diff (Closes: #722468).

Added:
  packages/greekocr4gamera/trunk/debian/patches/fix-help.diff
Modified:
  packages/greekocr4gamera/trunk/debian/changelog
  packages/greekocr4gamera/trunk/debian/control
  packages/greekocr4gamera/trunk/debian/patches/series
  packages/greekocr4gamera/trunk/debian/rules

Modified: packages/greekocr4gamera/trunk/debian/changelog
===================================================================
--- packages/greekocr4gamera/trunk/debian/changelog	2015-01-05 12:12:39 UTC (rev 31650)
+++ packages/greekocr4gamera/trunk/debian/changelog	2015-01-05 15:02:33 UTC (rev 31651)
@@ -1,12 +1,16 @@
 greekocr4gamera (1.0.1-6) UNRELEASED; urgency=medium
 
-  * Bumped standards to 3.9.6 (no changes needed).
+  * deb/control:
+    + added dh-python to build-deps.
+    + bumped standards to 3.9.6 (no changes needed).
   * deb/copyright:
     * expanded copyrights to 2015.
     * aligned, removed trailing commas.
+  * deb/rules: removed Vim setup line.
   * fsf_address.diff: changed Forwarded line.
+  * Added fix-help.diff (Closes: #722468).
 
- -- Daniel Stender <debian at danielstender.com>  Sun, 04 Jan 2015 16:37:03 +0100
+ -- Daniel Stender <debian at danielstender.com>  Mon, 05 Jan 2015 15:51:04 +0100
 
 greekocr4gamera (1.0.1-5) unstable; urgency=low
 

Modified: packages/greekocr4gamera/trunk/debian/control
===================================================================
--- packages/greekocr4gamera/trunk/debian/control	2015-01-05 12:12:39 UTC (rev 31650)
+++ packages/greekocr4gamera/trunk/debian/control	2015-01-05 15:02:33 UTC (rev 31651)
@@ -6,6 +6,7 @@
  Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Build-Depends:
  debhelper (>= 9),
+ dh-python,
  python-all (>= 2.6.6-3~),
  python-docutils (>= 0.6),
  python-gamera,

Added: packages/greekocr4gamera/trunk/debian/patches/fix-help.diff
===================================================================
--- packages/greekocr4gamera/trunk/debian/patches/fix-help.diff	                        (rev 0)
+++ packages/greekocr4gamera/trunk/debian/patches/fix-help.diff	2015-01-05 15:02:33 UTC (rev 31651)
@@ -0,0 +1,16 @@
+Description: add sys.exit() to break at help invocation
+Author: Daniel Stender <debian at danielstender.com>
+Bug: https://bugs.debian.org/722468
+Forwarded: no
+Last-Update: 2015-01-05
+
+--- a/scripts/greekocr4gamera.py
++++ b/scripts/greekocr4gamera.py
+@@ -59,6 +59,7 @@
+       options["trainingdata"] = args[i]
+    elif args[i] in ("--help", "-h"):
+       usage()
++      sys.exit(0)
+    elif args[i] in ("--wholistic", "-w"):
+       options["mode"] = "wholistic"
+    elif args[i] in ("--separatistic", "-s"):

Modified: packages/greekocr4gamera/trunk/debian/patches/series
===================================================================
--- packages/greekocr4gamera/trunk/debian/patches/series	2015-01-05 12:12:39 UTC (rev 31650)
+++ packages/greekocr4gamera/trunk/debian/patches/series	2015-01-05 15:02:33 UTC (rev 31651)
@@ -1,2 +1,3 @@
 doc-build-local.diff
 fsf_address.diff
+fix-help.diff

Modified: packages/greekocr4gamera/trunk/debian/rules
===================================================================
--- packages/greekocr4gamera/trunk/debian/rules	2015-01-05 12:12:39 UTC (rev 31650)
+++ packages/greekocr4gamera/trunk/debian/rules	2015-01-05 15:02:33 UTC (rev 31651)
@@ -22,4 +22,3 @@
 	rst2man debian/greekocr4gamera.rst > debian/greekocr4gamera.1
 	dh_installman debian/*.[1-9]
 
-# vim:ts=4 sw=4 noet




More information about the Python-modules-commits mailing list