[med-svn] [Git][med-team/freecontact][master] 7 commits: Add autopkgtests

Nilesh Patra gitlab at salsa.debian.org
Thu May 14 12:51:54 BST 2020



Nilesh Patra pushed to branch master at Debian Med / freecontact


Commits:
2471317e by Nilesh Patra at 2020-05-14T16:41:59+05:30
Add autopkgtests

- - - - -
5a489285 by Nilesh Patra at 2020-05-14T16:43:39+05:30
Drop un-necessary uupdate

- - - - -
264f9d70 by Nilesh Patra at 2020-05-14T11:17:04+00:00
routine-update: Standards-Version: 4.5.0

- - - - -
b40c08fa by Nilesh Patra at 2020-05-14T11:17:04+00:00
routine-update: debhelper-compat 12

- - - - -
56cc6b09 by Nilesh Patra at 2020-05-14T11:17:16+00:00
R-U: Trailing whitespace in debian/copyright

- - - - -
74828e5e by Nilesh Patra at 2020-05-14T11:18:24+00:00
routine-update: Add salsa-ci file

- - - - -
46d2dad0 by Nilesh Patra at 2020-05-14T17:11:55+05:30
Add "Rules-Requires-Root:no"

- - - - -


8 changed files:

- debian/changelog
- − debian/compat
- debian/control
- debian/copyright
- + debian/salsa-ci.yml
- + debian/tests/control
- + debian/tests/run-unit-test
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+freecontact (1.0.21-8) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Standards-Version: 4.5.0 (routine-update)
+  * debhelper-compat 12 (routine-update)
+  * Remove trailing whitespace in debian/copyright (routine-update)
+  * Add salsa-ci file (routine-update)
+
+ -- Nilesh Patra <npatra974 at gmail.com>  Thu, 14 May 2020 11:17:04 +0000
+
 freecontact (1.0.21-7) unstable; urgency=medium
 
   * Fix d-shlibmove override to fit gcc-8


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


=====================================
debian/control
=====================================
@@ -4,7 +4,7 @@ Uploaders: Laszlo Kajan <lkajan at debian.org>,
            Andreas Tille <tille at debian.org>
 Section: science
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 12),
                bash-completion,
                d-shlibs,
                gfortran,
@@ -17,10 +17,11 @@ Build-Depends: debhelper (>= 11~),
                perl,
                xsdcxx
 Build-Depends-Indep: doxygen
-Standards-Version: 4.1.5
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/freecontact
 Vcs-Git: https://salsa.debian.org/med-team/freecontact.git
 Homepage: http://rostlab.org/
+Rules-Requires-Root: no
 
 Package: freecontact
 Architecture: any


=====================================
debian/copyright
=====================================
@@ -23,12 +23,12 @@ License: GPL-3+
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
- . 
+ .
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
- . 
+ .
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  .


=====================================
debian/salsa-ci.yml
=====================================
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,24 @@
+#!/bin/bash
+set -e
+
+pkg=freecontact
+
+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'
+freecontact --mincontsep 2 --parprof evfold --pep -f demo_1000.aln
+echo 'PASS'
+echo
+
+echo 'Test 2'
+/usr/share/freecontact/a2m2aln --query '^RASH_HUMAN/(\d+)' < PF00071_v25_999.fa | freecontact --rho 0.5 -p 2  
+echo 'PASS'
+echo


=====================================
debian/watch
=====================================
@@ -1,4 +1,4 @@
 version=3
 
 opts=passive \
-ftp://rostlab.org/free/freecontact-([0-9.]+)\.tar\..z debian uupdate
+ftp://rostlab.org/free/freecontact-([0-9.]+)\.tar\..z debian



View it on GitLab: https://salsa.debian.org/med-team/freecontact/-/compare/9aa5a41d7f1c5e0aa6a621ab66ab3f3b37cf323d...46d2dad0094e90bf1d725f62499be2083a716efa

-- 
View it on GitLab: https://salsa.debian.org/med-team/freecontact/-/compare/9aa5a41d7f1c5e0aa6a621ab66ab3f3b37cf323d...46d2dad0094e90bf1d725f62499be2083a716efa
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/20200514/7dd8921d/attachment-0001.html>


More information about the debian-med-commit mailing list