[med-svn] [Git][med-team/biomaj3-core][master] 3 commits: Add and Fix autopkgtests

Nilesh Patra gitlab at salsa.debian.org
Mon Jun 1 17:41:49 BST 2020



Nilesh Patra pushed to branch master at Debian Med / biomaj3-core


Commits:
6c84dc80 by Nilesh Patra at 2020-06-01T21:56:16+05:30
Add and Fix autopkgtests

- - - - -
3f0a6029 by Nilesh Patra at 2020-06-01T16:32:26+00:00
Add upstream/metadata

- - - - -
e308fe77 by Nilesh Patra at 2020-06-01T16:33:06+00:00
Fix with cme

- - - - -


6 changed files:

- − debian/compat
- debian/control
- + debian/tests/control
- + debian/tests/pkg-python/import-name
- + debian/tests/run-unit-test
- + debian/upstream/metadata


Changes:

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


=====================================
debian/control
=====================================
@@ -2,9 +2,8 @@ Source: biomaj3-core
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders: Olivier Sallou <osallou at debian.org>
 Section: python
-Testsuite: autopkgtest-pkg-python
 Priority: optional
-Build-Depends: debhelper (>= 11~),
+Build-Depends: debhelper-compat (= 13),
                dh-python,
                python3-all,
                python3-elasticsearch,
@@ -13,10 +12,11 @@ Build-Depends: debhelper (>= 11~),
                python3-nose,
                python3-requests,
                python3-setuptools
-Standards-Version: 4.2.1
+Standards-Version: 4.5.0
 Vcs-Browser: https://salsa.debian.org/med-team/biomaj3-core
 Vcs-Git: https://salsa.debian.org/med-team/biomaj3-core.git
 Homepage: https://github.com/genouest/biomaj-core
+Rules-Requires-Root: no
 
 Package: python3-biomaj3-core
 Architecture: all


=====================================
debian/tests/control
=====================================
@@ -0,0 +1,8 @@
+Test-Command: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import biomaj_core; print(biomaj_core)" ; done
+Depends: @, python3-all
+Restrictions: allow-stderr
+
+Tests: run-unit-test
+Depends: @, python3-nose, python3-all
+Restrictions: allow-stderr
+


=====================================
debian/tests/pkg-python/import-name
=====================================
@@ -0,0 +1 @@
+biomaj_core


=====================================
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 tests
+done
+


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,7 @@
+---
+Archive: GitHub
+Bug-Database: https://github.com/genouest/biomaj-core/issues
+Bug-Submit: https://github.com/genouest/biomaj-core/issues/new
+Changelog: https://github.com/genouest/biomaj-core/tags
+Repository: https://github.com/genouest/biomaj-core.git
+Repository-Browse: https://github.com/genouest/biomaj-core



View it on GitLab: https://salsa.debian.org/med-team/biomaj3-core/-/compare/26ec69612f70ea8eee1fa9ed84f32740206ac03c...e308fe77e84e083da66d7230439a8e5b18ac3244

-- 
View it on GitLab: https://salsa.debian.org/med-team/biomaj3-core/-/compare/26ec69612f70ea8eee1fa9ed84f32740206ac03c...e308fe77e84e083da66d7230439a8e5b18ac3244
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/20200601/f8de00d4/attachment-0001.html>


More information about the debian-med-commit mailing list