[Python-modules-commits] [python-bioblend] 01/01: Preparing for upload

Steffen Möller moeller at moszumanska.debian.org
Fri Jul 1 21:09:46 UTC 2016


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

moeller pushed a commit to branch master
in repository python-bioblend.

commit 82d69328f742ca141f61a547c950750ab87bd712
Author: Steffen Moeller <moeller at debian.org>
Date:   Fri Jul 1 23:10:08 2016 +0200

    Preparing for upload
---
 debian/README.Debian                |  7 ++++-
 debian/README.source                | 10 -------
 debian/bioblend-docs.docs           |  2 --
 debian/bioblend.doc-base.EX         | 20 -------------
 debian/changelog                    |  2 +-
 debian/control                      | 60 +++++++++++++++++++++++++++++++------
 debian/copyright                    | 12 ++------
 debian/python-bioblend-doc.doc-base | 10 +++++++
 debian/python-bioblend-doc.docs     |  1 +
 debian/python-bioblend-doc.links    |  2 ++
 debian/python-bioblend.docs         |  1 +
 debian/python-bioblend.manpages     |  1 +
 debian/python3-bioblend.docs        |  1 +
 debian/python3-bioblend.manpages    |  1 +
 debian/rules                        | 12 +++++++-
 15 files changed, 89 insertions(+), 53 deletions(-)

diff --git a/debian/README.Debian b/debian/README.Debian
index 303d06f..d6f5ac0 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -1,6 +1,11 @@
 bioblend for Debian
 ------------------
 
-<possible notes regarding this package - if none, delete this file>
+This is a first shot at the packaging to address the dependencies of the
+Galaxy suite for biological workflows. We have to think more about how to
+fully support CloudMan.
+
+The python packages for Python 2.7 and 3 conflict over the same path of 
+the (identical) man page. Not ideal admittedly.
 
  -- Steffen Moeller <moeller at debian.org>  Tue, 28 Jun 2016 15:26:35 +0200
diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 21253af..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,10 +0,0 @@
-bioblend for Debian
-------------------
-
-<this file describes information about the source package, see Debian policy
-manual section 4.14. You WILL either need to modify or delete this file>
-
-
-
- -- Steffen Moeller <moeller at debian.org>  Tue, 28 Jun 2016 15:26:35 +0200
-
diff --git a/debian/bioblend-docs.docs b/debian/bioblend-docs.docs
deleted file mode 100644
index efea0a6..0000000
--- a/debian/bioblend-docs.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-README.Debian
-README.source
diff --git a/debian/bioblend.doc-base.EX b/debian/bioblend.doc-base.EX
deleted file mode 100644
index e6d04a3..0000000
--- a/debian/bioblend.doc-base.EX
+++ /dev/null
@@ -1,20 +0,0 @@
-Document: bioblend
-Title: Debian bioblend Manual
-Author: <insert document author here>
-Abstract: This manual describes what bioblend is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/bioblend/bioblend.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/bioblend/bioblend.ps.gz
-
-Format: text
-Files: /usr/share/doc/bioblend/bioblend.text.gz
-
-Format: HTML
-Index: /usr/share/doc/bioblend/html/index.html
-Files: /usr/share/doc/bioblend/html/*.html
diff --git a/debian/changelog b/debian/changelog
index 9488910..2530f23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-bioblend (0.7.0-1) UNRELEASED; urgency=medium
+python-bioblend (0.7.0-1) unstable; urgency=medium
 
   * Initial release (Closes: #829017)
 
diff --git a/debian/control b/debian/control
index 7930d37..4cc4fc6 100644
--- a/debian/control
+++ b/debian/control
@@ -1,39 +1,81 @@
 Source: python-bioblend
 Section: python
 Priority: optional
-Maintainer: Steffen Moeller <moeller at debian.org>
-Build-Depends: debhelper (>=9),dh-python,python-all (>= 2.6.6-3~),python-setuptools,python3-all,python3-setuptools,
- python-boto, python3-boto, python-requests-toolbelt, python3-requests-toolbelt, python-requests-toolbelt,python3-requests-toolbelt
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Steffen Moeller <moeller at debian.org>
+Build-Depends: debhelper (>=9),
+               dh-python,
+               python-all (>= 2.6.6-3~), python3-all,
+               python-setuptools, python3-setuptools,
+               python-boto, python3-boto,
+               python-requests-toolbelt, python3-requests-toolbelt
 Standards-Version: 3.9.8
 Homepage: https://github.com/galaxyproject/bioblend
+Vcs-Git: git://anonscm.debian.org/git/python-modules/python-bioblend.git
+Vcs-Browser: https://anonscm.debian.org/cgit/git/python-modules/python-bioblend.git
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
-#Vcs-Git: git://anonscm.debian.org/collab-maint/bioblend.git
-#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/bioblend.git
 
 Package: python-bioblend
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
+Conflicts: python3-bioblend
 Suggests: python-bioblend-doc
 Description: CloudMan and Galaxy API library (Python 2)
- <insert long description, indented with spaces>
+ BioBlend is a Python library for interacting with CloudMan and Galaxy's API.
+ BioBlend is supported and tested on:
+  · Python 2.6, 2.7, 3.3 and 3.4
+  · Galaxy release_14.02 and later.
+ Conceptually, it makes it possible to script and automate  the  process
+ of cloud infrastructure provisioning and scaling via CloudMan, and run‐
+ ning of analyses via Galaxy. In reality, it makes  it  possible  to  do
+ things like this:
+  · Create  a CloudMan compute cluster, via an API and directly from your
+    local machine:
+  · Reconnect to an existing CloudMan instance and manipulate it
+  · Interact with Galaxy via a straightforward API
+ .
+ Although this library allows you to blend these two services into  a
+ cohesive  unit,  the  library itself can be used with either service
+ irrespective of the other. For example,  you  can  use  it  to  just
+ manipulate  CloudMan  clusters or to script the interactions with an
+ instance of Galaxy running on your laptop.
  .
  This package installs the library for Python 2.
 
 Package: python3-bioblend
 Architecture: all
 Depends: ${python3:Depends}, ${misc:Depends}
+Conflicts: python-bioblend
 Suggests: python-bioblend-doc
 Description: CloudMan and Galaxy API library (Python 3)
- <insert long description, indented with spaces>
+ BioBlend is a Python library for interacting with CloudMan and Galaxy's API.
+ BioBlend is supported and tested on:
+  · Python 2.6, 2.7, 3.3 and 3.4
+  · Galaxy release_14.02 and later.
+ Conceptually, it makes it possible to script and automate  the  process
+ of cloud infrastructure provisioning and scaling via CloudMan, and run‐
+ ning of analyses via Galaxy. In reality, it makes  it  possible  to  do
+ things like this:
+  · Create  a CloudMan compute cluster, via an API and directly from your
+    local machine:
+  · Reconnect to an existing CloudMan instance and manipulate it
+  · Interact with Galaxy via a straightforward API
+ .
+ Although this library allows you to blend these two services into  a
+ cohesive  unit,  the  library itself can be used with either service
+ irrespective of the other. For example,  you  can  use  it  to  just
+ manipulate  CloudMan  clusters or to script the interactions with an
+ instance of Galaxy running on your laptop.
  .
  This package installs the library for Python 3.
 
 Package: python-bioblend-doc
 Architecture: all
 Section: doc
-Depends: ${sphinxdoc:Depends}, ${misc:Depends}
+Depends: ${sphinxdoc:Depends}, ${misc:Depends}, libjs-underscore, libjs-query
 Description: CloudMan and Galaxy API library (common documentation)
- <insert long description, indented with spaces>
+ BioBlend is a Python library for interacting with CloudMan and Galaxy's
+ API.
  .
  This is the common documentation package.
diff --git a/debian/copyright b/debian/copyright
index 1b754e2..4ac5a12 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,9 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: bioblend
-Source: <url://example.com>
+Upstream-Name: BioBlend
+Source: https://github.com/galaxyproject/bioblend
 
 Files: *
-Copyright: <years> <put author's name and email here>
-           <years> <likewise for another author>
+Copyright: 2010-2016 Enis Afgan <afgane at gmail.com>
 License: MIT
 
 Files: debian/*
@@ -29,8 +28,3 @@ License: MIT
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
-# Please avoid picking licenses with terms that are more restrictive than the
-# packaged work, as it may make Debian's contributions unacceptable upstream.
diff --git a/debian/python-bioblend-doc.doc-base b/debian/python-bioblend-doc.doc-base
new file mode 100644
index 0000000..0a9aa7f
--- /dev/null
+++ b/debian/python-bioblend-doc.doc-base
@@ -0,0 +1,10 @@
+Document: bioblend
+Title: bioblend Manual
+Author: Enis Afgan
+Abstract: Single HTML page describing the interaction of the BioBlend Python module with Galaxy and Python
+Section: Science/Biology
+
+Format: HTML
+Index: /usr/share/doc/python-bioblend-doc/singlehtml/index.html
+Files: /usr/share/doc/python-bioblend-doc/singlehtml/*.inv /usr/share/doc/python-bioblend-doc/singlehtml/*.html /usr/share/doc/python-bioblend-doc/singlehtml/_static/*.css /usr/share/doc/python-bioblend-doc/singlehtml/_static/*.js /usr/share/doc/python-bioblend-doc/singlehtml/_static/*.png /usr/share/doc/python-bioblend-doc/singlehtml/_static/*.gif
+
diff --git a/debian/python-bioblend-doc.docs b/debian/python-bioblend-doc.docs
new file mode 100644
index 0000000..6dbbdf0
--- /dev/null
+++ b/debian/python-bioblend-doc.docs
@@ -0,0 +1 @@
+docs/_build/singlehtml
diff --git a/debian/python-bioblend-doc.links b/debian/python-bioblend-doc.links
new file mode 100644
index 0000000..c0fcacf
--- /dev/null
+++ b/debian/python-bioblend-doc.links
@@ -0,0 +1,2 @@
+usr/share/javascript/underscore/underscore.js usr/share/doc/python-bioblend-doc/singlehtml/underscore.js
+usr/share/javascript/underscore/query.js usr/share/doc/python-bioblend-doc/singlehtml/query.js
diff --git a/debian/python-bioblend.docs b/debian/python-bioblend.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/python-bioblend.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/python-bioblend.manpages b/debian/python-bioblend.manpages
new file mode 100644
index 0000000..76c06b4
--- /dev/null
+++ b/debian/python-bioblend.manpages
@@ -0,0 +1 @@
+docs/_build/man/bioblend.1
diff --git a/debian/python3-bioblend.docs b/debian/python3-bioblend.docs
new file mode 100644
index 0000000..e174728
--- /dev/null
+++ b/debian/python3-bioblend.docs
@@ -0,0 +1 @@
+debian/README.Debian
diff --git a/debian/python3-bioblend.manpages b/debian/python3-bioblend.manpages
new file mode 100644
index 0000000..76c06b4
--- /dev/null
+++ b/debian/python3-bioblend.manpages
@@ -0,0 +1 @@
+docs/_build/man/bioblend.1
diff --git a/debian/rules b/debian/rules
index 43761ad..e88d107 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,12 @@ export PYBUILD_NAME=bioblend
 %:
 	dh $@  --with python2,python3 --buildsystem=pybuild
 
+
+override_dh_auto_install:
+	cd docs && make man
+	cd docs && make singlehtml
+	dh_auto_install
+
 override_dh_auto_test:
 	echo "No auto tests without CloudMan"
 
@@ -20,4 +26,8 @@ override_dh_auto_test:
 
 override_dh_auto_clean:
 	dh_clean
-	rm -rf bioblend.egg-info .eggs .pybuild
+	rm -rf bioblend.egg-info .eggs .pybuild _build docs/_build
+	find . -name "*.pyc" -delete
+
+override_dh_installdocs:
+	dh_installdocs -Xjquery.js -Xunderscore.js

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-bioblend.git



More information about the Python-modules-commits mailing list