[spyder] 09/09: add the python-spyderlib-doc package

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Thu Dec 26 21:16:02 UTC 2013


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

picca pushed a commit to branch experimental
in repository spyder.

commit 7cb77fe5bdff2d52ab6e3dcfec1f065754978a1b
Author: Picca Frédéric-Emmanuel <picca at debian.org>
Date:   Thu Dec 26 21:30:35 2013 +0100

    add the python-spyderlib-doc package
---
 debian/changelog                                   |  4 ++-
 debian/compat                                      |  2 +-
 debian/control                                     | 32 ++++++++++++++++------
 .../0001-fix-documentation-installation.patch      |  2 +-
 ...rlib.doc-base => python-spyderlib-doc.doc-base} |  4 +--
 ...on-spyderlib.docs => python-spyderlib-doc.docs} |  0
 debian/spyder.links                                |  2 +-
 debian/spyder3.links                               |  1 +
 8 files changed, 33 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0668907..dff5772 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,9 @@
 spyder (2.3.0~beta2+dfsg-1) experimental; urgency=low
 
   * Imported Upstream version 2.3.0~beta2+dfsg
-  * Add the python3 version of spyder
+  * Add python-spyderlib-doc, spyder3 and python3-spyderlib binary packages
+  * Bump Standards-Version to 3.9.5 (no changes required)
+  * Use compat level 9
 
  -- Picca Frédéric-Emmanuel <picca at debian.org>  Thu, 26 Dec 2013 09:05:26 +0200
 
diff --git a/debian/compat b/debian/compat
index 45a4fb7..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-8
+9
diff --git a/debian/control b/debian/control
index 2b215ee..84ac6f4 100644
--- a/debian/control
+++ b/debian/control
@@ -5,16 +5,16 @@ Uploaders: Ludovic Aubry <laubrycomm at free.fr>,
            Picca Frédéric-Emmanuel <picca at debian.org>
 Section: science
 Priority: extra
-Build-Depends: debhelper (>= 8),
+Build-Depends: debhelper (>= 9),
                python-all,
                python3-all
 Build-Depends-Indep: python-sphinx,
                      xsltproc
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/spyder.git
 Vcs-Git: git://anonscm.debian.org/debian-science/packages/spyder.git
 Homepage: http://code.google.com/p/spyderlib/
-X-Python-Version: >= 2.3
+X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.3
 
 Package: spyder
@@ -35,7 +35,6 @@ Architecture: all
 Section: python
 Depends: ${misc:Depends},
          ${python:Depends},
-         ${sphinxdoc:Depends},
          libjs-jquery,
          libjs-mathjax,
          python-qt4
@@ -48,7 +47,8 @@ Recommends: ipython-qtconsole,
             python-psutil (>= 0.3.0),
             python-rope,
             python-scipy,
-            python-sphinx
+            python-sphinx,
+            python-spyderlib-doc (= ${binary:Version})
 Suggests: tortoisehg,
           gitk
 Breaks: ${python:Breaks},
@@ -66,6 +66,22 @@ Description: python IDE for scientists (Python 2)
  .
  This is the Python 2 version of the package.
 
+Package: python-spyderlib-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends},
+         ${sphinxdoc:Depends},
+Description: python IDE for scientists (Documentation)
+ Originally written to design Spyder (the Scientific PYthon
+ Development EnviRonment), the spyderlib Python library provides
+ ready-to-use pure-Python widgets: source code editor with syntax
+ highlighting and code introspection/analysis features, NumPy array
+ editor, dictionary editor, Python console, etc. It's based on the Qt
+ Python binding module PyQt4 (and is compatible with PySide since
+ v2.2).
+ .
+ This is the documentation of the package.
+
 Package: spyder3
 Architecture: all
 Section: devel
@@ -84,7 +100,6 @@ Architecture: all
 Section: python
 Depends: ${misc:Depends},
          ${python3:Depends},
-         ${sphinxdoc:Depends},
          libjs-jquery,
          libjs-mathjax,
          python3-pyqt4
@@ -97,10 +112,11 @@ Recommends: ipython-qtconsole,
             python3-psutil (>= 0.3.0),
             python3-rope,
             python3-scipy,
-            python3-sphinx
+            python3-sphinx,
+            python-spyderlib-doc (= ${binary:Version})
 Suggests: tortoisehg,
           gitk
-Provides: ${python:Provides}
+Provides: ${python3:Provides}
 Description: python IDE for scientists (Python 3)
  Originally written to design Spyder (the Scientific PYthon
  Development EnviRonment), the spyderlib Python library provides
diff --git a/debian/patches/0001-fix-documentation-installation.patch b/debian/patches/0001-fix-documentation-installation.patch
index a534149..286db72 100644
--- a/debian/patches/0001-fix-documentation-installation.patch
+++ b/debian/patches/0001-fix-documentation-installation.patch
@@ -30,7 +30,7 @@ index ffa8d53..2018c42 100644
  # Dear (Debian, RPM, ...) package makers, please feel free to customize the
  # following path to module's data (images) and translations:
  DATAPATH = LOCALEPATH = DOCPATH = MATHJAXPATH = JQUERYPATH = ''
-+DOCPATH = '/usr/share/doc/python-spyderlib/html'
++DOCPATH = '/usr/share/doc/python-spyderlib-doc/html'
 +MATHJAXPATH = '/usr/share/javascript/mathjax'
 +JQUERYPATH = '/usr/share/javascript/jquery'
  
diff --git a/debian/python-spyderlib.doc-base b/debian/python-spyderlib-doc.doc-base
similarity index 75%
rename from debian/python-spyderlib.doc-base
rename to debian/python-spyderlib-doc.doc-base
index dad9a74..f1df6f2 100644
--- a/debian/python-spyderlib.doc-base
+++ b/debian/python-spyderlib-doc.doc-base
@@ -8,5 +8,5 @@ Abstract: python-spyderlib_
 Section: Programming/Python
 
 Format: HTML
-Index: /usr/share/doc/python-spyderlib/html/index.html
-Files: /usr/share/doc/python-spyderlib/html/*
+Index: /usr/share/doc/python-spyderlib-doc/html/index.html
+Files: /usr/share/doc/python-spyderlib-doc/html/*
diff --git a/debian/python-spyderlib.docs b/debian/python-spyderlib-doc.docs
similarity index 100%
rename from debian/python-spyderlib.docs
rename to debian/python-spyderlib-doc.docs
diff --git a/debian/spyder.links b/debian/spyder.links
index ab642da..2528e67 100644
--- a/debian/spyder.links
+++ b/debian/spyder.links
@@ -1 +1 @@
-/usr/share/doc/python-spyderlib/html /usr/share/doc/spyder/html
+/usr/share/doc/python-spyderlib-doc/html /usr/share/doc/spyder/html
diff --git a/debian/spyder3.links b/debian/spyder3.links
new file mode 100644
index 0000000..b76e604
--- /dev/null
+++ b/debian/spyder3.links
@@ -0,0 +1 @@
+/usr/share/doc/python-spyderlib-doc/html /usr/share/doc/spyder3/html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/spyder.git



More information about the debian-science-commits mailing list