[Python-modules-commits] [greekocr4gamera] 01/10: removed quilt patches

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Oct 17 18:10:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

danstender-guest pushed a commit to branch master
in repository greekocr4gamera.

commit 38499cdfd86686ee56e2f6f2a40f38d3d68808ef
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Oct 17 19:56:05 2015 +0200

    removed quilt patches
---
 debian/patches/doc-build-local.diff | 48 -------------------------------------
 debian/patches/fix-help.diff        | 16 -------------
 debian/patches/fsf_address.diff     | 17 -------------
 debian/patches/series               |  3 ---
 4 files changed, 84 deletions(-)

diff --git a/debian/patches/doc-build-local.diff b/debian/patches/doc-build-local.diff
deleted file mode 100644
index 40779d7..0000000
--- a/debian/patches/doc-build-local.diff
+++ /dev/null
@@ -1,48 +0,0 @@
-Description: Allow to build documentation from local source.
- Normally it's only possible to build documentation is the toolkit is
- installed system-wide. This patch allows the documentation to be built from
- local source.
- .
- Also, remove spurious warning.
-Author: Jakub Wilk <jwilk at debian.org>
-Forwarded: not-needed
-Last-Update: 2012-02-14
-
---- a/doc/gendoc.py
-+++ b/doc/gendoc.py
-@@ -1,24 +1,20 @@
- #!/usr/bin/env python
- 
-+import os
-+import sys
-+
- from gamera import gendoc
- 
- if __name__ == '__main__':
--   # Step 1:
--   # Import all of the plugins to document.
--   # Be careful not to load the core plugins, or they
--   # will be documented here, too.
--   # If the plugins are not already installed, we'll just ignore
--   # them and generate the narrative documentation.
--   try:
--      from gamera.toolkits.greekocr.plugins import clear
--   except ImportError:
--      print "WARNING:"
--      print "This `greekocr` toolkit must be installed before generating"
--      print "the documentation.  For now, the system will skip generating"
--      print "documentation for the plugins."
--      print
- 
--   # Step 2:
-+   import gamera.toolkits
-+   gamera.toolkits.__path__[:0] = [os.path.join(
-+      sys.path[0],
-+      os.pardir,
-+      'gamera',
-+      'toolkits'
-+   )]
-+
-    # Generate documentation for this toolkit
-    # This will handle any commandline arguments if necessary
-    gendoc.gendoc(classes=[("gamera.toolkits.greekocr.greekocr",
diff --git a/debian/patches/fix-help.diff b/debian/patches/fix-help.diff
deleted file mode 100644
index e01fac5..0000000
--- a/debian/patches/fix-help.diff
+++ /dev/null
@@ -1,16 +0,0 @@
-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"):
diff --git a/debian/patches/fsf_address.diff b/debian/patches/fsf_address.diff
deleted file mode 100644
index ce8ea3d..0000000
--- a/debian/patches/fsf_address.diff
+++ /dev/null
@@ -1,17 +0,0 @@
-Description: Updates copyright information
-Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722470
-Forwarded: no
-Author: Daniel Stender <debian at danielstender.com>
-Last-Update: 2014-06-05
-
---- a/scripts/greekocr4gamera.py
-+++ b/scripts/greekocr4gamera.py
-@@ -16,7 +16,7 @@
- # 
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
--# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-+# Foundation, Inc., 51 Franklin St., Fifth floor, Boston, MA 02110-1301, USA.
- 
- 
- # This just simply runs the greekocr toolkits main function
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index e928faa..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1,3 +0,0 @@
-doc-build-local.diff
-fsf_address.diff
-fix-help.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/greekocr4gamera.git



More information about the Python-modules-commits mailing list