[med-svn] [python-pbconsensuscore] 02/02: Initial packaging

Afif Elghraoui afif-guest at moszumanska.debian.org
Wed Sep 2 05:51:59 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-pbconsensuscore.

commit 08e816ae0655f09744960c3d406c21bf0d492bb7
Author: Afif Elghraoui <afif at ghraoui.name>
Date:   Tue Sep 1 22:51:35 2015 -0700

    Initial packaging
---
 debian/TODO                   |  5 +++++
 debian/changelog              |  5 +++++
 debian/compat                 |  1 +
 debian/control                | 25 ++++++++++++++++++++++++
 debian/copyright              | 44 +++++++++++++++++++++++++++++++++++++++++++
 debian/docs                   |  3 +++
 debian/patches/series         |  1 +
 debian/patches/spelling.patch | 17 +++++++++++++++++
 debian/rules                  | 11 +++++++++++
 debian/source/format          |  1 +
 debian/watch                  |  4 ++++
 11 files changed, 117 insertions(+)

diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..8e98f85
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,5 @@
+* Make sure CFLAGS/CPPFLAGS are exported properly
+
+* Fix dependency on python-numpy
+   - use dh_numpy
+   - See lintian and /usr/share/doc/python-numpy/README.DebianMaints
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..756fc6d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+python-pbconsensuscore (1.0.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #794450)
+
+ -- Afif Elghraoui <afif at ghraoui.name>  Tue, 23 Jun 2015 19:42:14 -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..94ddd0b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: python-pbconsensuscore
+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-setuptools,
+	       python-dev,
+	       python-numpy,
+	       libboost-dev,
+	       swig
+Standards-Version: 3.9.6
+Homepage: https://github.com/PacificBiosciences/ConsensusCore
+Vcs-Git: git://anonscm.debian.org/debian-med/python-pbconsensuscore.git
+Vcs-Browser: http://anonscm.debian.org/cgit/debian-med/python-pbconsensuscore.git
+
+Package: python-pbconsensuscore
+Architecture: any
+Depends: ${shlibs:Depends},
+	 ${misc:Depends},
+	 ${python:Depends}
+Description: algorithms for Pacific Biosciences multiple sequence consensus
+ ConsensusCore is a library of C++ algorithms for PacBio multiple sequence
+ consensus that powers Quiver (Python) and ConsensusTools (.NET).
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..8199024
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,44 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: ConsensusCore
+Upstream-Contact: Pacific Biosciences <devnet at pacificbiosciences.com>
+Source: https://github.com/PacificBiosciences/ConsensusCore
+
+Files: *
+Copyright: 2011-2015 Pacific Biosciences
+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 (subject to the limitations in the
+ disclaimer below) 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..bc2d824
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,3 @@
+README.md
+CHANGELOG.md
+LICENSES
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..6d97590
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,17 @@
+Description: Fix spelling
+Author: Afif Elghraoui <afif at ghraoui.name>
+Forwarded: no
+Last-Update: 2015-06-23
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- pb-consensus-core.orig/src/SWIG/numpy.i
++++ pb-consensus-core/src/SWIG/numpy.i
+@@ -89,7 +89,7 @@
+     if (PyInstance_Check(py_obj)) return "instance"    ;
+ %#endif
+ 
+-    return "unkown type";
++    return "unknown type";
+   }
+ 
+   /* Given a NumPy typecode, return a string describing the type.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..5b3a9fa
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+#DH_VERBOSE = 1
+
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/default.mk
+
+export PYBUILD_NAME=ConsensusCore
+
+%:
+	LC_ALL=C.UTF-8 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..1e47115
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/python-pbconsensuscore-$1.tar.gz/" \
+         https://github.com/PacificBiosciences/ConsensusCore/releases (?:.*/)?v?(\d[\d\.]*)\.tar\.gz

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



More information about the debian-med-commit mailing list