[med-svn] [python-pbcommand] 02/06: Initial Packaging

Afif Elghraoui afif-guest at moszumanska.debian.org
Mon Oct 26 07:50:07 UTC 2015


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

afif-guest pushed a commit to branch master
in repository python-pbcommand.

commit 35f871199a6be3b857a848a413f4e7481132df22
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Sun Oct 25 23:57:20 2015 -0700

    Initial Packaging
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 37 +++++++++++++++++++++++++++++++++++++
 debian/copyright     | 41 +++++++++++++++++++++++++++++++++++++++++
 debian/docs          |  1 +
 debian/examples      |  1 +
 debian/rules         | 15 +++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 9 files changed, 106 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ab5468b
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pbcommand (0.2.16-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #798872)
+
+ -- Afif Elghraoui <afif at ghraoui.name>  Fri, 09 Oct 2015 01:15:25 -0700
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..66e26c2
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,37 @@
+Source: python-pbcommand
+Section: python
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Afif Elghraoui <afif at ghraoui.name>
+Build-Depends:
+	debhelper (>= 9),
+	dh-python,
+	python-all,
+	python-setuptools,
+	python-xmlbuilder,
+	python-jsonschema,
+	python-avro,
+	python-numpy,
+# For tests
+	python-nose,
+	python-pbcore
+Standards-Version: 3.9.6
+Homepage: https://github.com/PacificBiosciences/pbcommand
+Vcs-Git: git://anonscm.debian.org/debian-med/python-pbcommand.git
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/python-pbcommand.git
+
+Package: python-pbcommand
+Architecture: all
+Depends: ${misc:Depends},
+	 ${python:Depends},
+	 python-numpy
+Recommends: python-pbcore
+Description: common command-line interface for Pacific Biosciences analysis modules
+ To integrate with the pbsmrtpipe workflow engine, one must to be able to
+ generate a Tool Contract and to be able to run from a Resolved Tool Contract.
+ A Tool Contract contains the metadata of the exe, such as the file types of
+ inputs, outputs and options.
+ There are two principal use cases, first wrapping/calling python functions that
+ have been defined in external Python packages, or scripts. Second, creating a
+ CLI tool that supports emitting tool contracts, running resolved tool contracts
+ and complete argparse-style CLI.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..0c9a54f
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,41 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pbcommand
+Upstream-Contact: Michael Kocher <mkocher at pacificbiosciences.com>
+Source: https://github.com/PacificBiosciences/pbcommand
+
+Files: *
+Copyright: 2011-2015 Pacific Biosciences of California, Inc. <devnet at pacificbiosciences.com>
+           2015 Michael Kocher <mkocher at pacificbiosciences.com>
+License: PacBio-BSD-3-Clause
+
+Files: debian/*
+Copyright: 2015 Afif Elghraoui <afif at ghraoui.name>
+License: PacBio-BSD-3-Clause
+
+License: PacBio-BSD-3-Clause
+ 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 of Pacific Biosciences nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
+ GRANTED BY THIS LICENSE.  THIS SOFTWARE IS PROVIDED BY PACIFIC
+ BIOSCIENCES AND ITS 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 PACIFIC BIOSCIENCES OR ITS 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/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/examples b/debian/examples
new file mode 100644
index 0000000..47bc499
--- /dev/null
+++ b/debian/examples
@@ -0,0 +1 @@
+docs/example_01.py
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5ceedab
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+#DH_VERBOSE = 1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+export PYBUILD_NAME=pbcommand
+
+%:
+	LC_ALL=C.UTF-8 dh $@ --with python2 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYTHONPATH=$(CURDIR) \
+	nosetests -s --verbose --logging-config log_nose.cfg --where=tests
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..657cdd8
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="filenamemangle=s/(?:.*?)?v?(\d[\d.]*)\.tar\.gz/python-pbcommand-$1.tar.gz/" \
+         https://github.com/PacificBiosciences/pbcommand/releases (?:.*?/)?v?(\d[\d.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list