[scoop] 01/04: build docs package

Daniel Stender danstender-guest at moszumanska.debian.org
Wed Sep 3 09:10:15 UTC 2014


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

danstender-guest pushed a commit to branch master
in repository scoop.

commit c09581c7e73ee364a3d93c0dbd02d0ddd38ea859
Author: Daniel Stender <daniel at danielstender.com>
Date:   Wed Sep 3 08:27:02 2014 +0200

    build docs package
---
 debian/changelog                                     |  2 +-
 debian/control                                       | 20 ++++++++++++++++++--
 debian/rules                                         |  2 +-
 debian/{python-scoop.doc-base => scoop-doc.doc-base} |  4 ++--
 debian/{examples => scoop-doc.examples}              |  0
 5 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2bcf250..2908a88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,4 +3,4 @@ scoop (0.7.1-1) unstable; urgency=medium
   * Reintroduce scoop to Debian (Closes: #760188, LP: #1283817):
     + provides Python2 package (python3-greenlet not yet available).
 
- -- Daniel Stender <debian at danielstender.com>  Tue, 02 Sep 2014 12:00:49 +0200
+ -- Daniel Stender <debian at danielstender.com>  Wed, 03 Sep 2014 08:28:16 +0200
diff --git a/debian/control b/debian/control
index 416a962..f431e48 100644
--- a/debian/control
+++ b/debian/control
@@ -25,11 +25,27 @@ Depends:
  python-greenlet (>= 0.3.4~),
  python-zmq (>= 13.1.0~),
  ${misc:Depends},
- ${python:Depends},
- ${sphinxdoc:Depends}
+ ${python:Depends}
 Recommends:
  openssh-client
 Description: Python library for concurrent parallel programming
  SCOOP (Scalable COncurrent Operations in Python) is a distributed task
  module allowing concurrent parallel programming on various environments,
  from heterogeneous grids to supercomputers.
+ .
+ This package provides the Python modules.
+
+Package: scoop-doc
+Section: doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${sphinxdoc:Depends}
+Suggests:
+ python-scoop
+Description: Python library for concurrent parallel programming (docs)
+ SCOOP (Scalable COncurrent Operations in Python) is a distributed task
+ module allowing concurrent parallel programming on various environments,
+ from heterogeneous grids to supercomputers.
+ .
+ This package contains the documentation.
diff --git a/debian/rules b/debian/rules
index d7bccf4..b928241 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,7 +15,7 @@ override_dh_auto_test:
 override_dh_auto_install:
 	dh_auto_install
 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
-	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N doc/ debian/python-scoop/usr/share/doc/python-scoop/html
+	PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N doc/ debian/scoop-doc/usr/share/doc/scoop-doc/html
 endif
 
 override_dh_compress:
diff --git a/debian/python-scoop.doc-base b/debian/scoop-doc.doc-base
similarity index 52%
rename from debian/python-scoop.doc-base
rename to debian/scoop-doc.doc-base
index d1775fb..9de7a4e 100644
--- a/debian/python-scoop.doc-base
+++ b/debian/scoop-doc.doc-base
@@ -3,5 +3,5 @@ Title: Documentation of python-scoop
 Section: Programming/Python
 
 Format: HTML
-Index: /usr/share/doc/python-scoop/html/index.html
-Files: /usr/share/doc/python-scoop/html/*.html
\ No newline at end of file
+Index: /usr/share/doc/scoop-doc/html/index.html
+Files: /usr/share/doc/scoop-doc/html/*.html
\ No newline at end of file
diff --git a/debian/examples b/debian/scoop-doc.examples
similarity index 100%
rename from debian/examples
rename to debian/scoop-doc.examples

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



More information about the debian-science-commits mailing list