[med-svn] [pbtestdata] 02/02: Initial packaging
Afif Elghraoui
afif at moszumanska.debian.org
Sun Jul 24 03:33:15 UTC 2016
This is an automated email from the git hooks/post-receive script.
afif pushed a commit to branch master
in repository pbtestdata.
commit ec9de0764d184223dc1542a7b783f50ddade3bf4
Author: Afif Elghraoui <afif at ghraoui.name>
Date: Sat Jul 23 20:02:55 2016 -0700
Initial packaging
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 24 ++++++++++++++++++++++++
debian/copyright | 37 +++++++++++++++++++++++++++++++++++++
debian/manpages | 1 +
debian/pbdata.1 | 14 ++++++++++++++
debian/rules | 11 +++++++++++
debian/source/format | 1 +
debian/tests/control | 2 ++
debian/tests/rules | 20 ++++++++++++++++++++
debian/watch | 3 +++
11 files changed, 119 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ae380cc
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+pbtestdata (0.0.13-1) unstable; urgency=medium
+
+ * Initial release (Closes: #832311)
+
+ -- Afif Elghraoui <afif at debian.org> Sat, 23 Jul 2016 16:01:00 -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..3745798
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,24 @@
+Source: pbtestdata
+Section: science
+Priority: optional
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Afif Elghraoui <afif at debian.org>
+Build-Depends:
+ debhelper (>=9),
+ dh-python,
+ python-all,
+ python-setuptools,
+Standards-Version: 3.9.8
+Homepage: https://github.com/PacificBiosciences/PacBioTestData
+Vcs-Git: https://anonscm.debian.org/git/debian-med/pbtestdata.git
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/pbtestdata.git
+
+Package: pbtestdata
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${python:Depends},
+ python-pkg-resources,
+Description: small Pacific Biosciences datasets for testing
+ Utility and Python API for accessing representative Pacific Bioscience
+ sequencing data files for testing.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..28c0b1e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,37 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: pbtestdata
+Upstream-Contact: Pacific Biosciences <devnet at pacb.com>
+Source: https://github.com/PacificBiosciences/PacBioTestData
+
+Files: *
+Copyright: 2016 Nat Echols (for Pacific Biosciences)
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2016 Afif Elghraoui <afif at debian.org>
+License: BSD-3-Clause
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. Neither the name of the University 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 HOLDERS 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/manpages b/debian/manpages
new file mode 100644
index 0000000..d26d9d8
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/pbdata.1
diff --git a/debian/pbdata.1 b/debian/pbdata.1
new file mode 100644
index 0000000..7ba50f5
--- /dev/null
+++ b/debian/pbdata.1
@@ -0,0 +1,14 @@
+.TH PBDATA 1 "July 2016"
+.SH NAME
+pbdata \- utility for accessing PacBio sequencing data files for testing
+.SH SYNOPSIS
+.B pbdata
+.RI [ options ] " files" ...
+.SH OPTIONS
+For a complete description of options, see the help menu.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..70228ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+#export DH_VERBOSE = 1
+export LC_ALL=C.UTF-8
+
+%:
+ dh $@ --with python2 --buildsystem=pybuild --sourcedirectory=src/python
+
+override_dh_auto_clean:
+ dh_auto_clean
+ $(MAKE) clean
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/tests/control b/debian/tests/control
new file mode 100644
index 0000000..383a0a3
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,2 @@
+Tests: rules
+Depends: @, make
diff --git a/debian/tests/rules b/debian/tests/rules
new file mode 100755
index 0000000..8be5129
--- /dev/null
+++ b/debian/tests/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+.ONESHELL:
+
+MAKEFLAGS += --keep-going
+
+file=subreads-bam
+
+.PHONY: all
+all: cli pylib
+
+.PHONY: cli
+cli:
+ pbdata get $(file)
+
+.PHONY: pylib
+pylib: SHELL=python
+pylib:
+ import pbtestdata
+ pbtestdata.get_file("$(file)")
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ac17f63
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=4
+
+# Upstream does not tag releases
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/pbtestdata.git
More information about the debian-med-commit
mailing list