[Python-modules-commits] [ocr4gamera] 01/06: removed patches for git-dpm conversion

Daniel Stender danstender-guest at moszumanska.debian.org
Sat Oct 17 20:12:01 UTC 2015


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

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

commit 5eab31a522a77c04c4a50640c6c4c17fb376287f
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Oct 17 22:07:02 2015 +0200

    removed patches for git-dpm conversion
---
 debian/patches/doc-build-local.diff | 41 -------------------------------------
 debian/patches/series               |  1 -
 2 files changed, 42 deletions(-)

diff --git a/debian/patches/doc-build-local.diff b/debian/patches/doc-build-local.diff
deleted file mode 100644
index 5d1486d..0000000
--- a/debian/patches/doc-build-local.diff
+++ /dev/null
@@ -1,41 +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, abort if importing the toolkit didn't succeed.
-Author: Jakub Wilk <jwilk at debian.org>
-Forwarded: not-needed
-Last-Update: 2012-02-13
-
---- a/doc/gendoc.py
-+++ b/doc/gendoc.py
-@@ -1,8 +1,20 @@
- #!/usr/bin/env python
- 
-+import os
-+import sys
-+
- from gamera import gendoc
- 
- if __name__ == '__main__':
-+
-+   import gamera.toolkits
-+   gamera.toolkits.__path__[:0] = [os.path.join(
-+      sys.path[0],
-+      os.pardir,
-+      'gamera',
-+      'toolkits'
-+   )]
-+
-    # Step 1:
-    # Import all of the plugins to document.
-    # Be careful not to load the core plugins, or they
-@@ -12,6 +24,7 @@
-    try:
-       from gamera.toolkits.ocr.plugins import bbox_merging_mcmillan
-    except ImportError:
-+      raise
-       print "WARNING:"
-       print "This `ocr` toolkit must be installed before generating"
-       print "the documentation.  For now, the system will skip generating"
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index f73a40b..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-doc-build-local.diff

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



More information about the Python-modules-commits mailing list