Andreas Tille pushed to branch master at Debian Med / pangolin
Commits: 65914a43 by Andreas Tille at 2021-04-17T23:11:55+02:00 We need more preconditions - - - - - 3 changed files: - debian/changelog - debian/control - + debian/createmanpages Changes: ===================================== debian/changelog ===================================== @@ -1,6 +1,9 @@ pangolin (2.0.8-1) UNRELEASED; urgency=medium * Initial release (Closes: #975920) + Packaged in Salsa: https://salsa.debian.org/med-team/python-lineages + TODO: pkg_resources.DistributionNotFound: The 'sklearn' distribution was not found and is required by pangolin + TODO: python3-lineages (https://github.com/cov-lineages/lineages) -> just try running `pangolin --help` to see the problem Also ===================================== debian/control ===================================== @@ -6,7 +6,9 @@ Priority: optional Build-Depends: debhelper-compat (= 13), dh-python, python3-all, - python3-setuptools + python3-setuptools, + python3-lineages, + python3-pangolearn Standards-Version: 4.5.1 Vcs-Browser: https://salsa.debian.org/med-team/pangolin Vcs-Git: https://salsa.debian.org/med-team/pangolin.git @@ -18,7 +20,9 @@ Architecture: all Depends: ${python3:Depends}, ${misc:Depends}, snakemake, - python3-sklearn + python3-sklearn, + python3-lineages, + python3-pangolearn Description: Phylogenetic Assignment of Named Global Outbreak LINeages Pangolin runs a multinomial logistic regression model trained against lineage assignments based on GISAID data. ===================================== debian/createmanpages ===================================== @@ -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=${PROGNAME} +help2man --no-info --no-discard-stderr --help-option=" " \ + --name="$NAME" \ + --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1 +echo $AUTHOR >> $MANDIR/${progname}.1 + +echo "$MANDIR/*.1" > debian/manpages + +cat <<EOT +Please enhance the help2man output. +The following web page might be helpful in doing so: + http://liw.fi/manpages/ +EOT View it on GitLab: https://salsa.debian.org/med-team/pangolin/-/commit/65914a4374a2c64f28783d07c7b551199dccf9d2 -- View it on GitLab: https://salsa.debian.org/med-team/pangolin/-/commit/65914a4374a2c64f28783d07c7b551199dccf9d2 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
