This is an automated email from the git hooks/post-receive script. milt0n-guest pushed a commit to branch master in repository bandage.
commit 75371a668dfd941c5f76645a3e46830513e44d0f Author: Cedric L <[email protected]> Date: Tue Aug 15 09:59:32 2017 +0200 control file updated --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 19 +++++++++++++++++ debian/copyright | 16 ++++++++++++++ debian/doc-base | 20 ++++++++++++++++++ debian/get-orig-source | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 22 +++++++++++++++++++ debian/source/format | 1 + debian/upstream/metadata | 12 +++++++++++ debian/watch | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 206 insertions(+) diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..414e6d9 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +<pkg> (<version>-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #<bug>) + + -- DMPT <[email protected]> `date -R` diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..f599e28 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +10 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..ef374ba --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: bandage +Maintainer: Debian Med Packaging Team <[email protected]> +Uploaders: Cédric Lood <[email protected]> +Section: science +Priority: optional +Build-Depends: debhelper (>= 10) +Standards-Version: 3.9.8 +Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/bandage.git +Vcs-Git: https://anonscm.debian.org/git/debian-med/bandage.git +Homepage: https://rrwick.github.io/Bandage + +Package: bandage +Architecture: any +Depends: ${shlibs:Depends}, + ${misc:Depends} +Description: Bioinformatics Application for Navigating De novo Assembly Graphs Easily + Bandage is a program for visualising de novo assembly graphs. By + displaying connections which are not present in the contigs file, + Bandage opens up new possibilities for analysing de novo assemblies. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0ca1092 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: <pkg> +Source: <path_to_download> +Comment: **** Before manually editing this file you should give **** + scan-copyrights + **** available in cme + lib-config-model-dpkg-perl **** + **** package a try. For existing copyright files try **** + cme update dpkg-copyright + +Files: * +Copyright: © 20xx-20yy <upstream> +License: <license> + +Files: debian/* +Copyright: © 2017 maintainername <[email protected]> +License: <license> diff --git a/debian/doc-base b/debian/doc-base new file mode 100644 index 0000000..5e7e1d4 --- /dev/null +++ b/debian/doc-base @@ -0,0 +1,20 @@ +Document: <pkg> +Title: <title for this doc> +Author: <author of this doc> +Abstract: <if you have no better clue the short and + long description from debian/control might fit here as well> +Section: Science/{Biology,Medicine} # see /usr/share/doc/doc-base/doc-base.txt.gz "2.3.3. The `section' field" + +# pick one of the below options +Format: Text +Files: /usr/share/doc/<pkg>/<pkg>.txt.gz + +Format: html +Index: /usr/share/doc/<pkg>/html/index.html +Files: /usr/share/doc/<pkg>/html/* + +Format: pdf +Files: /usr/share/doc/<pkg>/<pkg>.pdf.gz + +Format: postscript +Files: /usr/share/doc/<pkg>/<pkg>.ps.gz diff --git a/debian/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000..2aa782f --- /dev/null +++ b/debian/get-orig-source @@ -0,0 +1,55 @@ +#!/bin/sh +# if you need to repack for whatever reason you can +# use this script via uscan or directly +# +# FIXME: currently the code is not conform to Debian Policy +# http://www.debian.org/doc/debian-policy/ch-source.html +# "get-orig-source (optional)" +# This target may be invoked in any directory, ... +# --> currently it is assumed the script is called in the +# source directory featuring the debian/ dir + +# Excluding files and repacking archives +# -------------------------------------- +# See also mk-origtargz(1) and the --repack option to uscan(1), which +# honor the Files-Excluded list in debian/copyright. +# That may be all you need, especially since the repack option can be set +# in debian/watch. + +# For an example how to fetch source from sourceforge SVN see +# https://anonscm.debian.org/git/debian-med/kmer-tools.git + +COMPRESS=xz + +set -e +NAME=`dpkg-parsechangelog | awk '/^Source/ { print $2 }'` + +if ! echo $@ | grep -q upstream-version ; then + VERSION=`dpkg-parsechangelog | awk '/^Version:/ { print $2 }' | sed 's/\([0-9\.]\+\)-[0-9]\+$/\1/'` + uscan --force-download +else + VERSION=`echo $@ | sed "s?^.*--upstream-version \([0-9.]\+\) .*${NAME}.*?\1?"` + if echo "$VERSION" | grep -q "upstream-version" ; then + echo "Unable to parse version number" + exit + fi +fi + +TARDIR=${NAME}-${VERSION} +mkdir -p ../tarballs +cd ../tarballs +# need to clean up the tarballs dir first because upstream tarball might +# contain a directory with unpredictable name +rm -rf * +tar -xaf ../${TARDIR}.tar.gz + +UPSTREAMTARDIR=`find . -mindepth 1 -maxdepth 1 -type d` +if [ "${UPSTREAMTARDIR}" != "${TARDIR}" ] ; then + mv "${UPSTREAMTARDIR}" "${TARDIR}" +fi + +# Remove useless binaries +# ... do something which needs to be done ... + +GZIP="--best --no-name" tar --owner=root --group=root --mode=a+rX -caf "$NAME"_"$VERSION".orig.tar.${COMPRESS} "${TARDIR}" +rm -rf ${TARDIR} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..62983db --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f + +# DH_VERBOSE := 1 +export LC_ALL=C.UTF-8 + +include /usr/share/dpkg/default.mk +# this provides: +# DEB_SOURCE: the source package name +# DEB_VERSION: the full version of the package (epoch + upstream vers. + revision) +# DEB_VERSION_EPOCH_UPSTREAM: the package's version without the Debian revision +# DEB_VERSION_UPSTREAM_REVISION: the package's version without the Debian epoch +# DEB_VERSION_UPSTREAM: the package's upstream version +# DEB_DISTRIBUTION: the distribution(s) listed in the current entry of debian/changelog + +# for hardening you might like to uncomment this: +# export DEB_BUILD_MAINT_OPTIONS=hardening=+all + +%: + dh $@ + +#get-orig-source: +# . debian/get-orig-source 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..d8b5812 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,12 @@ +Reference: + Author: + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..9e06566 --- /dev/null +++ b/debian/watch @@ -0,0 +1,55 @@ +version=4 + +# Uncomment to examine a Webpage +# <Webpage URL> <string match> +#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge +# http://sf.net/#PACKAGE#/#PACKAGE#-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))) + +# Uncomment to find new files on Github +# - when using releases: +# https://github.com/#GITHUBUSER#/#PACKAGE#/releases .*/archive/#PREFIX#(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz) +# - when using tags +# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) +# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible + +# PyPi repository of Python modules +# see https://lists.debian.org/debian-python/2015/02/msg00027.html +# http://pypi.debian.net/#module#/#module#-(.+)\.(?:tar(?:\.gz|\.bz2)?|tgz) + +# Bitbucket +# https://bitbucket.org/<user>/<project>/downloads .*/(\d\S*)\.tar\.gz + +# Gitlab +# opts=filenamemangle=s/.*\.tar\.gz\?ref=v?(\d\S*)/<project>-$1\.tar\.gz/g \ +# https://gitlab.com/<user>/<project>/tags .*archive\.tar\.gz\?ref=v?(\d\S*) + +# if tweaking of source is needed +# \ +# debian debian/get-orig-source + +# if you need to repack and choose +dfsg prefix +# opts="repacksuffix=+dfsg,dversionmangle=s/\+dfsg//g,compress=xz" \ + +# If there is no chance to create a sensible watch file please read here: +# +# https://people.debian.org/~eriberto/#fake-packages +# +#version=4 +#opts=dversionmangle=s/.*/0.No-Site/ \ +#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamSiteForThisPackage-(\d\S+)\.gz +# +#version=4 +#opts=dversionmangle=s/.*/0.No-Release/ \ +#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamReleaseForThisPackage-(\d\S+)\.gz +# +#version=4 +#opts=dversionmangle=s/.*/0.No-Track/ \ +#https://people.debian.org/~eriberto/ FakeWatchNoUpstreamTrackingForThisPackage-(\d\S+)\.gz -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bandage.git _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
