[med-svn] [Git][med-team/fast5-research][master] 3 commits: Add autopkgtests

Nilesh Patra gitlab at salsa.debian.org
Tue Aug 4 21:53:53 BST 2020



Nilesh Patra pushed to branch master at Debian Med / fast5-research


Commits:
2de3f41f by Nilesh Patra at 2020-08-05T02:14:12+05:30
Add autopkgtests

- - - - -
d801c273 by Nilesh Patra at 2020-08-05T02:19:53+05:30
Change arch to all

- - - - -
25c78e4f by Nilesh Patra at 2020-08-04T20:51:31+00:00
Run wrap-and-sort

- - - - -


3 changed files:

- debian/control
- + debian/tests/control
- + debian/tests/run-unit-test


Changes:

=====================================
debian/control
=====================================
@@ -3,15 +3,16 @@ Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.
 Uploaders: Shayan Doust <hello at shayandoust.me>
 Section: science
 Priority: optional
+Testsuite: autopkgtest-pkg-python
 Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all,
-               python3-setuptools,
                python3-h5py,
+               python3-nose,
                python3-numpy,
                python3-progressbar,
                python3-pysam,
-               python3-nose,
+               python3-setuptools,
                python3-sphinx,
                python3-sphinx-rtd-theme
 Standards-Version: 4.5.0
@@ -21,10 +22,8 @@ Homepage: https://github.com/nanoporetech/fast5_research
 Rules-Requires-Root: no
 
 Package: fast5-research
-Architecture: any
-Depends: ${python3:Depends},
-         ${misc:Depends},
-         python3-fast5-research
+Architecture: all
+Depends: python3-fast5-research, ${misc:Depends}, ${python3:Depends}
 Description: command line executable tools for python3-fast5-research
  Python fast5 reading and writing functionality provided by ONT Research.
  This package comprises an API to HDF containers used by the research
@@ -37,14 +36,14 @@ Description: command line executable tools for python3-fast5-research
  python3-fast5-research.
 
 Package: python3-fast5-research
-Architecture: any
+Architecture: all
 Section: python
-Depends: ${python3:Depends},
-         ${misc:Depends},
-         python3-h5py,
+Depends: python3-h5py,
          python3-numpy,
          python3-progressbar,
-         python3-pysam
+         python3-pysam,
+         ${misc:Depends},
+         ${python3:Depends}
 Description: Python fast5 reading and writing functionality provided by ONT Research
  This package comprises an API to HDF containers used by the research
  groups within Oxford Nanopore Technologies. It complements the official
@@ -57,8 +56,7 @@ Description: Python fast5 reading and writing functionality provided by ONT Rese
 Package: fast5-research-doc
 Architecture: all
 Section: doc
-Depends: ${sphinxdoc:Depends},
-         ${misc:Depends}
+Depends: ${misc:Depends}, ${sphinxdoc:Depends}
 Recommends: fast5-research
 Description: documentation for fast5-research and the python3-fast5-research
  Python fast5 reading and writing functionality provided by ONT Research.


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


=====================================
debian/tests/run-unit-test
=====================================
@@ -0,0 +1,8 @@
+#!/bin/bash
+set -e
+
+for py in $(py3versions -r 2> /dev/null)
+do
+	$py -m nose -v --exclude=test_fast5_basecalling_and_mapping.py
+done
+



View it on GitLab: https://salsa.debian.org/med-team/fast5-research/-/compare/d514d956031f678e5ad1d92240873ef4e47c8de0...25c78e4fa99630f7ec12fc66a90d8838a4990915

-- 
View it on GitLab: https://salsa.debian.org/med-team/fast5-research/-/compare/d514d956031f678e5ad1d92240873ef4e47c8de0...25c78e4fa99630f7ec12fc66a90d8838a4990915
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/20200804/fcd11b8d/attachment-0001.html>


More information about the debian-med-commit mailing list