[pywps] 08/10: Add patch to fix sphinx-build failure due to syntax errors.

Bas Couwenberg sebastic at debian.org
Sat Dec 3 13:39:10 UTC 2016


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

sebastic pushed a commit to branch experimental
in repository pywps.

commit 43de3dd97fa4b8e570f0a69d4fa58b1bb3848293
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Dec 3 14:05:30 2016 +0100

    Add patch to fix sphinx-build failure due to syntax errors.
---
 debian/changelog                        |  1 +
 debian/patches/fix-sphinx-failure.patch | 27 +++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index bcdc1b5..7cfa4c2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ pywps (4.0.0~rc3-1) UNRELEASED; urgency=medium
     - Add OSGeo Foundation to copyright holders
     - Reorder standalone license paragraphs
   * Refresh patches.
+  * Add patch to fix sphinx-build failure due to syntax errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 03 Dec 2016 10:33:27 +0100
 
diff --git a/debian/patches/fix-sphinx-failure.patch b/debian/patches/fix-sphinx-failure.patch
new file mode 100644
index 0000000..38a34c2
--- /dev/null
+++ b/debian/patches/fix-sphinx-failure.patch
@@ -0,0 +1,27 @@
+Description: Fix syntax errors causing sphinx-build to fail.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/geopython/pywps/issues/213
+Forwarded: https://github.com/geopython/pywps/pull/214
+
+--- a/tests/process.py
++++ b/tests/process.py
+@@ -38,7 +38,7 @@ class ProcessTestCase(unittest.TestCase)
+                               ComplexInput("vector", title="Vector")
+                           ],
+                           outputs=[],
+-                          metadata=[Metadata('process metadata 1', 'http://example.org/1'), Metadata('process metadata 2', 'http://example.org/2')]) 
++                          metadata=[Metadata('process metadata 1', 'http://example.org/1'), Metadata('process metadata 2', 'http://example.org/2')]
+         )
+         inputs = {
+             input.identifier: input.title
+--- a/docs/demobuffer.py
++++ b/docs/demobuffer.py
+@@ -57,7 +57,7 @@ class DemoBuffer(Process):
+             version='1.0.0',
+             title='Buffer',
+             abstract='This process demonstrates, how to create any process in PyWPS environment',
+-            metadata=[Metadata('process metadata 1', 'http://example.org/1'), Metadata('process metadata 2', 'http://example.org/2')])
++            metadata=[Metadata('process metadata 1', 'http://example.org/1'), Metadata('process metadata 2', 'http://example.org/2')]
+             inputs=inputs,
+             outputs=outputs,
+             store_supported=True,
diff --git a/debian/patches/series b/debian/patches/series
index 7463c47..596dab7 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 offline-tests.patch
 use-mathjax-package.patch
+fix-sphinx-failure.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pywps.git



More information about the Pkg-grass-devel mailing list