[med-svn] [Git][med-team/mptp][master] 7 commits: Install relevant examples

Nilesh Patra gitlab at salsa.debian.org
Mon Jul 6 12:01:43 BST 2020



Nilesh Patra pushed to branch master at Debian Med / mptp


Commits:
79c14271 by Nilesh Patra at 2020-07-06T16:14:12+05:30
Install relevant examples

- - - - -
ded00052 by Nilesh Patra at 2020-07-06T16:14:22+05:30
Add autopkgtest

- - - - -
a4eeced7 by Nilesh Patra at 2020-07-06T16:15:37+05:30
Drop compat, switch to debhelper-compat 13

- - - - -
404a5c49 by Nilesh Patra at 2020-07-06T16:17:47+05:30
Update upstream/metadata

- - - - -
ad9dd11b by Nilesh Patra at 2020-07-06T16:18:31+05:30
Add "Rules-Requires-Root:no"

- - - - -
de0119e9 by Nilesh Patra at 2020-07-06T16:29:01+05:30
Fix spellings

- - - - -
305cf09a by Nilesh Patra at 2020-07-06T11:00:28+00:00
Add myself to uploaders

- - - - -


9 changed files:

- − debian/compat
- debian/control
- + debian/examples
- debian/rules
- + debian/tests/README
- + debian/tests/control
- + debian/tests/data/RAxML_bestTree.Clubiona
- + debian/tests/run-unit-test
- debian/upstream/metadata


Changes:

=====================================
debian/compat deleted
=====================================
@@ -1 +0,0 @@
-11


=====================================
debian/control
=====================================
@@ -1,18 +1,20 @@
 Source: mptp
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Andreas Tille <tille at debian.org>
+Uploaders: Andreas Tille <tille at debian.org>,
+           Nilesh Patra <npatra974 at gmail.com>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 13),
                bison,
                flex,
                libgsl-dev,
                pkg-config,
                bash-completion
-Standards-Version: 4.1.4
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/mptp
 Vcs-Git: https://salsa.debian.org/med-team/mptp.git
 Homepage: https://github.com/Pas-Kapli/mptp
+Rules-Requires-Root: no
 
 Package: mptp
 Architecture: any


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+debian/tests/data/*


=====================================
debian/rules
=====================================
@@ -13,3 +13,8 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build $@ --no-parallel
+
+override_dh_auto_install:
+	sed -i 's/Supress/Suppress/' man/mptp.1
+	sed -i 's/conjuction/conjunction/' man/mptp.1
+	dh_auto_install


=====================================
debian/tests/README
=====================================
@@ -0,0 +1,5 @@
+Tests for SWeeD
+=================
+
+The data for tests has been referenced from:
+	https://cme.h-its.org/exelixis/resource/download/software/sweed3.0_manual.pdf


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,4 @@
+Tests: run-unit-test
+Depends: @
+Restrictions: allow-stderr
+


=====================================
debian/tests/data/RAxML_bestTree.Clubiona
=====================================
The diff for this file was not included because it is too large.

=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,23 @@
+#!/bin/bash
+set -e
+
+pkg=mptp
+
+if [ "${AUTOPKGTEST_TMP}" = "" ] ; then
+  AUTOPKGTEST_TMP=$(mktemp -d /tmp/${pkg}-test.XXXXXX)
+  trap "rm -rf ${AUTOPKGTEST_TMP}" 0 INT QUIT ABRT PIPE TERM
+fi
+
+cp /usr/share/doc/${pkg}/examples/* -a "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+gunzip -r *
+
+echo 'Test 1'
+mptp --ml --multi --tree_file RAxML_bestTree.Clubiona --minbr 0.0009330519 --output_file out --outgroup A,C --tree_show
+echo 'PASS'
+
+echo 'Test 2'
+mptp --mcmc 50000000 --multi --mcmc_sample 1000000 --mcmc_burnin 1000000 --tree_file RAxML_bestTree.Clubiona --output_file out
+echo 'PASS'
+


=====================================
debian/upstream/metadata
=====================================
@@ -19,3 +19,10 @@ Registry:
    Entry: NA
  - Name: bio.tools
    Entry: NA
+---
+Archive: GitHub
+Bug-Database: https://github.com/Pas-Kapli/mptp/issues
+Bug-Submit: https://github.com/Pas-Kapli/mptp/issues/new
+Changelog: https://github.com/Pas-Kapli/mptp/tags
+Repository: https://github.com/Pas-Kapli/mptp.git
+Repository-Browse: https://github.com/Pas-Kapli/mptp



View it on GitLab: https://salsa.debian.org/med-team/mptp/-/compare/6c226284e03976b55ef8068c876db2b460886f9d...305cf09a1522eb2fffcbdbb9568e4844c1537a1d

-- 
View it on GitLab: https://salsa.debian.org/med-team/mptp/-/compare/6c226284e03976b55ef8068c876db2b460886f9d...305cf09a1522eb2fffcbdbb9568e4844c1537a1d
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200706/981bef5b/attachment-0001.html>


More information about the debian-med-commit mailing list