[med-svn] [gfapy] 02/02: initial packaging

Sascha Steinbiss satta at debian.org
Wed Jul 19 11:49:11 UTC 2017


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

satta pushed a commit to branch master
in repository gfapy.

commit a1ca2f7dd1265c57d73c37abda92a13bcfd8ae27
Author: Sascha Steinbiss <satta at debian.org>
Date:   Wed Jul 19 13:47:33 2017 +0200

    initial packaging
---
 debian/changelog          |  5 +++++
 debian/compat             |  1 +
 debian/control            | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/copyright          | 28 ++++++++++++++++++++++++++++
 debian/rules              | 19 +++++++++++++++++++
 debian/source/format      |  1 +
 debian/tests/control      |  3 +++
 debian/tests/test-example | 13 +++++++++++++
 debian/watch              |  4 ++++
 9 files changed, 117 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..59c31b1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gfapy (1.0.0+dfsg-1) unstable; urgency=low
+
+  * Initial packaging (Closes: #XXXXX)
+
+ -- Sascha Steinbiss <satta at debian.org>  Wed, 19 Jul 2017 13:28:10 +0200
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..15e232f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,43 @@
+Source: gfapy
+Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Sascha Steinbiss <satta at debian.org>
+Section: science
+Testsuite: autopkgtest
+Priority: optional
+Build-Depends: debhelper (>= 9),
+               python3,
+               python3-dev,
+               python3-setuptools,
+               python3-nose,
+               help2man,
+               asciidoctor
+Standards-Version: 4.0.0
+Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/gfapy.git
+Vcs-Git: https://anonscm.debian.org/git/debian-med/gfapy.git
+Homepage: https://github.com/ggonnella/gfapy
+
+Package: python3-gfapy
+Architecture: any
+Depends: ${misc:Depends},
+         ${python3:Depends},
+         ${shlibs:Depends}
+Description: flexible and extensible software library for handling sequence graphs
+ The Graphical Fragment Assembly (GFA) are formats for the representation of
+ sequence graphs, including assembly, variation and splicing graphs. Two
+ versions of GFA have been defined (GFA1 and GFA2) and several sequence
+ analysis programs have been adopting the formats as an interchange format,
+ which allow to easily combine different sequence analysis tools.
+ .
+ This library implements the GFA1 and GFA2 specifications. It allows to create
+ a Gfa object from a file in the GFA format or from scratch, to enumerate the
+ graph elements (segments, links, containments, paths and header lines), to
+ traverse the graph (by traversing all links outgoing from or incoming to a
+ segment), to search for elements (e.g. which links connect two segments) and
+ to manipulate the graph (e.g. to eliminate a link or a segment or to
+ duplicate a segment distributing the read counts evenly on the copies).
+ .
+ The GFA format can be easily extended by users by defining own custom tags
+ and record types. In Gfapy, it is easy to write extensions modules, which
+ allow to define custom record types and datatypes for the parsing and
+ validation of custom fields. The custom lines can be connected, using
+ references, to each other and to lines of the standard record types.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..770b8e3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: gfapy
+Upstream-Contact: Giorgio Gonnella <gonnella at zbh.uni-hamburg.de>
+Source: https://github.com/ggonnella/gfapy
+Files-Excluded: manual
+
+Files: *
+Copyright: 2017 Giorgio Gonnella and CONTRIBUTORS
+           2017 Center for Bioinformatics, University of Hamburg
+License: ISC
+Comment: Please see the CONTRIBUTORS file for more names.
+
+Files: debian/*
+Copyright: © 2017 Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+License: ISC
+
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..33b398c
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+export PYBUILD_NAME=gfapy
+
+mandir := $(CURDIR)/debian/man
+debfolder := $(CURDIR)/debian
+
+%:
+	dh $@ --with python3 --buildsystem=pybuild
+
+override_dh_auto_clean:
+	rm -rf $(mandir)
+	dh_auto_clean --
+
+override_dh_installman:
+	mkdir -p $(mandir)
+	#asciidoctor -a docdate='' -b manpage -o $(mandir)/ariba.1 $(debfolder)/ariba.1.adoc
+	dh_installman --
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..49d3f07
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,3 @@
+Tests: test-example
+Depends: @
+Restrictions: allow-stderr
diff --git a/debian/tests/test-example b/debian/tests/test-example
new file mode 100755
index 0000000..2a5832c
--- /dev/null
+++ b/debian/tests/test-example
@@ -0,0 +1,13 @@
+#!/bin/sh
+# autopkgtest check: Run test for gfapy.
+# Author: Sascha Steinbiss <satta at debian.org>
+set -e
+
+ORIGDIR=$(pwd)
+DATADIR=$ORIGDIR/debian/tests/
+WORKDIR=$(mktemp -d)
+
+trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM
+cd $WORKDIR
+
+# ./foo
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..52ac4bf
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=repacksuffix=+dfsg,dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,repack,compression=xz \
+https://github.com/ggonnella/gfapy/releases .*/archive/(\d[\d.-]+)\.zip
+

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



More information about the debian-med-commit mailing list