diff -Nru minimap2-2.17+dfsg/debian/changelog minimap2-2.17+dfsg/debian/changelog --- minimap2-2.17+dfsg/debian/changelog 2020-06-23 19:40:16.000000000 +0000 +++ minimap2-2.17+dfsg/debian/changelog 2020-07-07 09:32:26.000000000 +0000 @@ -1,3 +1,10 @@ +minimap2 (2.17+dfsg-11) unstable; urgency=medium + + * Add lintian-override + * Manpage for minimap2.py + + -- Andreas Tille Tue, 07 Jul 2020 11:32:26 +0200 + minimap2 (2.17+dfsg-10) unstable; urgency=medium * Provide Python3 interface diff -Nru minimap2-2.17+dfsg/debian/createmanpages minimap2-2.17+dfsg/debian/createmanpages --- minimap2-2.17+dfsg/debian/createmanpages 1970-01-01 00:00:00.000000000 +0000 +++ minimap2-2.17+dfsg/debian/createmanpages 2020-07-07 09:32:26.000000000 +0000 @@ -0,0 +1,28 @@ +#!/bin/sh +MANDIR=debian +mkdir -p $MANDIR + +VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'` +NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1` +PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1` + +AUTHOR=".SH AUTHOR\n \ +This manpage was written by $DEBFULLNAME for the Debian distribution and\n \ +can be used for any other usage of the program.\ +" + +# If program name is different from package name or title should be +# different from package short description change this here +progname=minimap2.py +help2man --no-info --no-discard-stderr --help-option=" " \ + --name="minimap2 Python3 interface" \ + --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1 +echo $AUTHOR >> $MANDIR/${progname}.1 + +echo "$MANDIR/*.1" > debian/python3-mappy.manpages + +cat <| \/\fR +.SH OPTIONS +.TP +\fB\-x\fR STR +preset: sr, map\-pb, map\-ont, asm5, asm10 or splice +.TP +\fB\-n\fR INT +mininum number of minimizers +.TP +\fB\-m\fR INT +mininum chaining score +.TP +\fB\-k\fR INT +k\-mer length +.TP +\fB\-w\fR INT +minimizer window length +.TP +\fB\-r\fR INT +band width +.TP +\fB\-c\fR +output the cs tag +.SH AUTHOR + This manpage was written by Andreas Tille for the Debian distribution and + can be used for any other usage of the program. diff -Nru minimap2-2.17+dfsg/debian/python3-mappy.lintian-overrides minimap2-2.17+dfsg/debian/python3-mappy.lintian-overrides --- minimap2-2.17+dfsg/debian/python3-mappy.lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ minimap2-2.17+dfsg/debian/python3-mappy.lintian-overrides 2020-07-07 09:32:26.000000000 +0000 @@ -0,0 +1,2 @@ +# see https://lists.debian.org/debian-med/2018/06/msg00043.html +python3-mappy: script-with-language-extension usr/bin/*.* diff -Nru minimap2-2.17+dfsg/debian/python3-mappy.manpages minimap2-2.17+dfsg/debian/python3-mappy.manpages --- minimap2-2.17+dfsg/debian/python3-mappy.manpages 1970-01-01 00:00:00.000000000 +0000 +++ minimap2-2.17+dfsg/debian/python3-mappy.manpages 2020-07-07 09:32:26.000000000 +0000 @@ -0,0 +1 @@ +debian/*.1 diff -Nru minimap2-2.17+dfsg/debian/rules minimap2-2.17+dfsg/debian/rules --- minimap2-2.17+dfsg/debian/rules 2020-06-23 19:40:16.000000000 +0000 +++ minimap2-2.17+dfsg/debian/rules 2020-07-07 09:32:26.000000000 +0000 @@ -52,3 +52,6 @@ rm -f MT-human.mmi rm -f tex/minimap2.aux tex/minimap2.bbl tex/minimap2.blg tex/minimap2.log tex/minimap2.out tex/minimap2.pdf rm -f libminimap2.a + +override_dh_installman: + dh_installman --language=C