[med-svn] [Git][med-team/clonalframe][master] 3 commits: Provide autopkgtest

Andreas Tille gitlab at salsa.debian.org
Sun Oct 6 08:04:24 BST 2019



Andreas Tille pushed to branch master at Debian Med / clonalframe


Commits:
a4df7638 by Andreas Tille at 2019-10-06T06:59:31Z
Provide autopkgtest

- - - - -
c96d784a by Andreas Tille at 2019-10-06T06:59:56Z
debhelper-compat 12

- - - - -
a69d568b by Andreas Tille at 2019-10-06T07:02:00Z
Upload to unstable

- - - - -


9 changed files:

- + debian/README.test
- debian/changelog
- − debian/compat
- debian/control
- + debian/docs
- + debian/examples
- + debian/tests/control
- + debian/tests/example.fasta
- + debian/tests/run-unit-test


Changes:

=====================================
debian/README.test
=====================================
@@ -0,0 +1,8 @@
+Notes on how this package can be tested.
+────────────────────────────────────────
+
+This package can be tested by running the provided test:
+
+    sh run-unit-test
+
+in order to confirm its integrity.


=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+clonalframe (1.2-10) unstable; urgency=medium
+
+  * Provide autopkgtest
+    Closes: #891730
+  * debhelper-compat 12
+
+ -- Andreas Tille <tille at debian.org>  Sun, 06 Oct 2019 09:00:01 +0200
+
 clonalframe (1.2-9) unstable; urgency=medium
 
   * More easy way to propagate Debian build flags (thanks to Jonas Smedegaard


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


=====================================
debian/control
=====================================
@@ -3,10 +3,10 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                qt5-qmake,
                libgsl-dev
-Standards-Version: 4.2.1
+Standards-Version: 4.4.1
 Vcs-Browser: https://salsa.debian.org/med-team/clonalframe
 Vcs-Git: https://salsa.debian.org/med-team/clonalframe.git
 Homepage: http://www.xavierdidelot.xtreemhost.com/clonalframe.htm


=====================================
debian/docs
=====================================
@@ -0,0 +1,2 @@
+debian/README.test
+debian/tests/run-unit-test


=====================================
debian/examples
=====================================
@@ -0,0 +1 @@
+debian/tests/example.fasta


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


=====================================
debian/tests/example.fasta
=====================================
@@ -0,0 +1,24 @@
+# First gene: actA
+> ST12
+CGAGGAGTCCAGAAGCCTTAGCAA
+> ST25
+CGAGGAGTCCAGTAGCCTTAGCAA
+> ST53
+CGAGGAGTCCAGAAGCCTT-GCAA
+=
+# Second gene: recB
+> ST25
+CGCAGGAGTCCCAAAGAAGCCACTTAGAAACAA
+> ST12
+CGCAGGAGTCCCATAGAAGCCACTTAGAAACAA
+> ST53
+CGCAGGAGTCCC---GAAGCCACTTAGAAACAA
+=
+# Third gene fragment: mutX
+> ST53
+TGCATGCATGTGCATGCCCGAGAGCGCGATC
+> ST25
+-------------------------------
+> ST12
+TGCATGCATGTGAATGCCCGAGAGCGCGATC
+=


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,16 @@
+#!/bin/bash
+set -e
+
+pkg=clonalframe
+
+export LC_ALL=C.UTF-8
+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 -a /usr/share/doc/${pkg}/examples/* "${AUTOPKGTEST_TMP}"
+
+cd "${AUTOPKGTEST_TMP}"
+
+ClonalFrame example.fasta example.xmfa



View it on GitLab: https://salsa.debian.org/med-team/clonalframe/compare/d50a2cd27699b43045afc512a088383a40273418...a69d568b596d23987eed1ab276c614bb651e1aad

-- 
View it on GitLab: https://salsa.debian.org/med-team/clonalframe/compare/d50a2cd27699b43045afc512a088383a40273418...a69d568b596d23987eed1ab276c614bb651e1aad
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/20191006/4545caf4/attachment-0001.html>


More information about the debian-med-commit mailing list