[SCM] efficient 2D data-plotting library branch, master, updated. debian/2.0.8.1-5-7-g30d70a7

Picca Frédéric-Emmanuel picca at synchrotron-soleil.fr
Fri Apr 8 06:12:12 UTC 2011


The following commit has been merged in the master branch:
commit 179cf1a42f58cb85883931171c2ec09644a4c3c5
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Thu Apr 7 22:29:08 2011 +0200

    debian/patch/debian/patches/0001-feature-fix-the-documentation-build.patch
    
    fix the documentation build process.

diff --git a/debian/patches/0001-feature-fix-the-documentation-build.patch b/debian/patches/0001-feature-fix-the-documentation-build.patch
new file mode 100644
index 0000000..f674d6c
--- /dev/null
+++ b/debian/patches/0001-feature-fix-the-documentation-build.patch
@@ -0,0 +1,24 @@
+From: =?UTF-8?q?Picca=20Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca at synchrotron-soleil.fr>
+Date: Thu, 7 Apr 2011 22:27:09 +0200
+Subject: feature fix the documentation build
+
+this patch was provided by the upstream and force python
+to reload the guiqwt module when generating the documentation
+that way there is no more fail to import _ext module.
+---
+ setup.py |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 3e6e681..f8d52b3 100644
+--- a/setup.py
++++ b/setup.py
+@@ -43,6 +43,7 @@ def get_package_data(name, extlist):
+ 
+ LIBNAME = 'guiqwt'
+ from guiqwt import __version__ as version
++del sys.modules[LIBNAME] # forcing Python to reload module (see build_doc.run)
+ 
+ DESCRIPTION = 'guiqwt is a set of tools for curve and image plotting (extension to PyQwt 5.2)'
+ LONG_DESCRIPTION = ''
+-- 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..dcafb28
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-feature-fix-the-documentation-build.patch

-- 
efficient 2D data-plotting library



More information about the debian-science-commits mailing list