[pyresample] 13/16: Fix doc build

Antonio Valentino a_valentino-guest at moszumanska.debian.org
Sat Jul 11 19:52:38 UTC 2015


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

a_valentino-guest pushed a commit to branch master
in repository pyresample.

commit 5614f230975cdc285d81cadf6a848cd893c52495
Author: Antonio Valentino <antonio.valentino at tiscali.it>
Date:   Sat Jul 11 19:13:24 2015 +0000

    Fix doc build
---
 debian/changelog                        |  2 ++
 debian/patches/0002-fix-doc-build.patch | 58 +++++++++++++++++++++++++++++++++
 debian/patches/series                   |  1 +
 debian/rules                            |  4 ++-
 4 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index f12307c..ea6a995 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,7 @@ pyresample (1.1.3-1) UNRELEASED; urgency=medium
     - drop longer necessary patches
     - new patch for skipping tests that require basemap when it is
       not abailable
+    - new patch for fixing sphinx doc building
   * debian/control
     - removed Provides field from the binary package section in the
       control file. It is not necessary
@@ -20,6 +21,7 @@ pyresample (1.1.3-1) UNRELEASED; urgency=medium
     - fix test invocation
   * New package for Python 3
   * Switch to pybuild build system
+  * Fix doc build
 
  -- Antonio Valentino <antonio.valentino at tiscali.it>  Sun, 03 Aug 2014 07:21:08 +0000
 
diff --git a/debian/patches/0002-fix-doc-build.patch b/debian/patches/0002-fix-doc-build.patch
new file mode 100644
index 0000000..329b5f9
--- /dev/null
+++ b/debian/patches/0002-fix-doc-build.patch
@@ -0,0 +1,58 @@
+From: Antonio Valentino <antonio.valentino at tiscali.it>
+Date: Sat, 11 Jul 2015 19:39:20 +0000
+Subject: fix doc build
+
+---
+ docs/source/API.rst | 15 +++++++--------
+ 1 file changed, 7 insertions(+), 8 deletions(-)
+
+diff --git a/docs/source/API.rst b/docs/source/API.rst
+index c9dc533..90e7561 100644
+--- a/docs/source/API.rst
++++ b/docs/source/API.rst
+@@ -3,32 +3,32 @@ pyresample API
+ 
+ pyresample.geometry
+ ---------------------------------
+-.. automodule:: geometry
++.. automodule:: pyresample.geometry
+ 	:members:
+ 
+ pyresample.image
+ ---------------------------------
+-.. automodule:: image
++.. automodule:: pyresample.image
+ 	:members:
+ 
+ pyresample.grid
+ ---------------------------------
+-.. automodule:: grid
++.. automodule:: pyresample.grid
+ 	:members:
+ 
+ pyresample.kd_tree
+ ---------------------------------
+-.. automodule:: kd_tree
++.. automodule:: pyresample.kd_tree
+ 	:members:
+-	
++
+ pyresample.utils
+ ---------------------------------
+-.. automodule:: utils
++.. automodule:: pyresample.utils
+ 	:members:
+ 
+ pyresample.data_reduce
+ ---------------------------------
+-.. automodule:: data_reduce
++.. automodule:: pyresample.data_reduce
+ 	:members:
+ 
+ pyresample.plot
+@@ -36,4 +36,3 @@ pyresample.plot
+ .. automodule:: plot
+ 	:members:
+ 
+-	
+\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 1ab3d55..1dfa346 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-skip-basemap-tests.patch
+0002-fix-doc-build.patch
diff --git a/debian/rules b/debian/rules
index d3c2091..4d98a33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,9 @@ export PYBUILD_NAME=pyresample
 
 override_dh_auto_build:
 	dh_auto_build --buildsystem=pybuild
-	$(MAKE) -C docs html
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	env PYTHONPATH=$(CURDIR) $(MAKE) -C docs html
+endif
 
 
 override_dh_auto_clean:

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



More information about the Pkg-grass-devel mailing list