[med-svn] [python-qcli] 01/06: Add qiime dependency python-qcli
Andreas Tille
tille at debian.org
Wed Oct 18 13:36:32 UTC 2017
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository python-qcli.
commit b2bdecf57c2fd178ab5071b990eab9895fd66c7d
Author: Andreas Tille <tille at debian.org>
Date: Thu Dec 26 07:31:41 2013 +0000
Add qiime dependency python-qcli
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 23 +++++++++++++++++++++++
debian/copyright | 35 +++++++++++++++++++++++++++++++++++
debian/rules | 30 ++++++++++++++++++++++++++++++
debian/source/format | 1 +
debian/watch | 2 ++
7 files changed, 97 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..46fcd0c
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-qcli (0.1.0-1) UNRELEASED; urgency=low
+
+ * Initial release (Closes: #???)
+
+ -- Andreas Tille <tille at debian.org> Thu, 26 Dec 2013 07:55:53 +0100
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..bae4546
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,23 @@
+Source: python-qcli
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Section: python
+Priority: optional
+Build-Depends: debhelper (>= 9),
+ python-all-dev,
+ python-nose
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/viewvc/debian-med/trunk/packages/python-qcli/trunk/
+Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/python-qcli/trunk/
+Homepage: https://pypi.python.org/pypi/qcli/0.1.0
+X-Python-Version: >= 2.6
+
+Package: python-qcli
+Architecture: any
+Depends: ${shlibs:Depends},
+ ${python:Depends},
+ ${misc:Depends}
+Description: This is an old version of dev-python/pyqi needed for QIIME
+ The qiime package needs this as new dependency which is not part of the
+ main pyqi package.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c9ec181
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Contact: Greg Caporaso <gregcaporaso at gmail.com>
+Source: https://pypi.python.org/pypi/qcli
+
+Files: *
+Copyright: © 2013 Greg Caporaso <gregcaporaso at gmail.com>
+License: BSDlike
+
+Files: debian/*
+Copyright: © 2013 Andreas Tille <tille at debian.org>
+License: BSDlike
+
+License: BSDlike
+ 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 name BiPy 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 BIPY DEVELOPMENT TEAM 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/rules b/debian/rules
new file mode 100755
index 0000000..f99af53
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,30 @@
+#!/usr/bin/make -f
+
+DH_VERBOSE := 1
+
+pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
+bindir := $(CURDIR)/debian/$(pkg)/usr/bin
+examples := $(CURDIR)/debian/$(pkg)/usr/share/doc/$(pkg)/examples
+
+pybuilddir := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)-$(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)
+
+%:
+ dh $@ --with python2
+
+# we only need this package as qiime dependency - there is no point in bloating /usr/bin with these scripts
+override_dh_installexamples:
+ mv $(bindir) $(examples)
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+ set -e -x;\
+ for pyv in `pyversions -dv` ; do \
+ cd build/; \
+ ln -s ../python-code/tests; \
+ env PYTHONPATH=lib.$(pybuilddir)-$${pyv} nosetests ; \
+ done
+endif
+
+get-orig-source:
+ mkdir -p ../tarballs
+ uscan --verbose --force-download --destdir=../tarballs
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..018ee82
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+https://pypi.python.org/pypi/qcli .*/qcli/qcli-([.\d]+)\.tar\.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/python-qcli.git
More information about the debian-med-commit
mailing list