Skip to content
Commits on Source (2)
mipp (1.1.0-2) UNRELEASED; urgency=medium
* debian/rules
- use the Python 2 version of sphinx-build (fix build warnings).
* debian/patches
- new 0005-no-mock.patch: avoid warnings during sphinx build.
-- Antonio Valentino <antonio.valentino@tiscali.it> Sat, 21 Jul 2018 07:27:18 +0000
mipp (1.1.0-1) unstable; urgency=medium
[ Antonio Valentino ]
......
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 21 Jul 2018 08:00:06 +0000
Subject: no mock
---
doc/source/conf.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/source/conf.py b/doc/source/conf.py
index ecbae68..cd3c3b1 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -46,8 +46,8 @@ class Mock(object):
MOCK_MODULES = ['numpy', 'numpy.core', 'numpy.core.multiarray',
'pyresample', 'pyresample.utils','pyresample.geometry',
'osgeo', 'osgeo.gdal', 'osgeo.osr', 'logging']
-for mod_name in MOCK_MODULES:
- sys.modules[mod_name] = Mock()
+#for mod_name in MOCK_MODULES:
+# sys.modules[mod_name] = Mock()
# -- General configuration -----------------------------------------------------
......@@ -2,3 +2,4 @@
0002-Fix-configuration-loading.patch
0003-fix-None-checking.patch
0004-Relax-tests-on-metadata.patch
0005-no-mock.patch
......@@ -7,17 +7,13 @@
export PYBUILD_NAME=mipp
export PYBUILD_TEST_ARGS=tests
export PYBUILD_AFTER_BUILD_python2=env PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' $(MAKE) SPHINXBUILD=/usr/share/sphinx/scripts/python2/sphinx-build -C doc html
%:
dh $@ --with python2,sphinxdoc --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
$(MAKE) -C doc html
override_dh_auto_clean:
dh_auto_clean
$(RM) -r mipp.egg-info
......