[med-svn] [python-burrito] 01/15: Inject python-burrito as provided by BioLinux

Andreas Tille tille at debian.org
Wed Nov 29 09:43:14 UTC 2017


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

tille pushed a commit to branch master
in repository python-burrito.

commit 3e9d36581da28a643b9a9368bb70e175174135fa
Author: Andreas Tille <tille at debian.org>
Date:   Wed Jul 29 12:36:30 2015 +0000

    Inject python-burrito as provided by BioLinux
---
 debian/changelog                      | 12 ++++++++++++
 debian/compat                         |  1 +
 debian/control                        | 30 ++++++++++++++++++++++++++++++
 debian/copyright                      | 35 +++++++++++++++++++++++++++++++++++
 debian/patches/better_error_reporting | 20 ++++++++++++++++++++
 debian/patches/series                 |  1 +
 debian/rules                          | 13 +++++++++++++
 debian/source/format                  |  1 +
 debian/watch                          |  2 ++
 9 files changed, 115 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..548e87c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,12 @@
+python-burrito (0.9.0-0biolinux3) trusty; urgency=medium
+
+  * Add missing build deps on dh_python, setuptools, nose
+
+ -- Tim Booth <tbooth at ceh.ac.uk>  Mon, 02 Mar 2015 19:08:33 +0000
+
+python-burrito (0.9.0-0biolinux1) trusty; urgency=medium
+
+  * Initial release for QIIME 1.9
+  * Build for Python2 only just now.
+
+ -- Tim Booth <tbooth at ceh.ac.uk>  Fri, 20 Feb 2015 18:10:56 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..402779e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,30 @@
+Source: python-burrito
+Section: python
+Priority: extra
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Tim Booth <tbooth at ceh.ac.uk>
+Build-Depends: debhelper (>= 9), python-all (>= 2.7), python-support, dh-python,
+               python-future,
+               python-setuptools,
+               python-nose
+Standards-Version: 3.9.6
+Homepage: https://github.com/biocore/burrito
+Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/python-burrito/trunk/
+Vcs-Svn: svn://svn.debian.org/debian-med/trunk/packages/python-burrito/trunk/
+
+Package: python-burrito
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Description: framework for wrapping and controlling command-line applications
+ burrito, canonically pronounced boar-eee-toe, is a Python framework for
+ wrapping and controlling command-line applications.
+ .
+ This tool allows developers to wrap command-line applications, just as burritos
+ wrap delicious foods. Both hide the potentially unsightly details.
+ .
+ burrito is derived from the application controller framework code, which was
+ originally added to PyCogent and later moved to scikit-bio. The contributors
+ and/or copyright holders have agreed to make the code they wrote for PyCogent
+ available under the BSD license. The original authors of the application
+ controller framework code in PyCogent are Greg Caporaso (@gregcaporaso),
+ Sandra Smit, Micah Hamady, and Rob Knight (@rob-knight).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2712721
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: burrito
+Upstream-Contact: gregcaporaso at gmail.com
+Source: https://github.com/biocore/burrito/
+
+Files: *
+Copyright: © burrito development team <gregcaporaso at gmail.com>
+License:
+ Copyright (c) 2014, burrito development team.
+ All rights reserved.
+ 
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ 
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ 
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ 
+ * Neither the names burrito or biocore nor the names of its
+   contributors may be used to endorse or promote products derived from
+   this software without specific prior written permission.
+ 
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/patches/better_error_reporting b/debian/patches/better_error_reporting
new file mode 100644
index 0000000..3587bed
--- /dev/null
+++ b/debian/patches/better_error_reporting
@@ -0,0 +1,20 @@
+--- a/burrito/util.py
++++ b/burrito/util.py
+@@ -296,10 +296,15 @@
+             result = \
+                 CommandLineAppResult(out, err, exit_status,
+                                      result_paths=result_paths)
+-        except ApplicationError:
+-            result = \
++        except ApplicationError as e1:
++            try:
++              result = \
+                 self._handle_app_result_build_failure(out, err, exit_status,
+                                                       result_paths)
++            except ApplicationError:
++                #If the handler just throws an error then report the first error,
++                #not the new error.
++                raise e1
+ 
+         # Clean up the input file if one was created
+         if remove_tmp:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..886711b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+better_error_reporting
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..795fca6
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PKG := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+
+# At the moment only build for Py2 because QIIME only works with Py2
+
+%:
+	dh $@ --with python2 --buildsystem=pybuild
+
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ac55a54
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/pypi/burrito .*/burrito-([0-9.]+).tar.[xgb]z2?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-burrito.git



More information about the debian-med-commit mailing list