[med-svn] [Git][med-team/gubbins][master] 2 commits: Build-Depends: tox and do not override dh_auto_test

Andreas Tille (@tille) gitlab at salsa.debian.org
Wed Jul 12 20:30:31 BST 2023



Andreas Tille pushed to branch master at Debian Med / gubbins


Commits:
9b9badd2 by Andreas Tille at 2023-07-12T21:21:08+02:00
Build-Depends: tox and do not override dh_auto_test

- - - - -
c6b8c30c by Andreas Tille at 2023-07-12T21:23:49+02:00
Test-Depends / Recommends: python3-numba

- - - - -


4 changed files:

- debian/changelog
- debian/control
- debian/rules
- debian/tests/control


Changes:

=====================================
debian/changelog
=====================================
@@ -5,6 +5,8 @@ gubbins (3.3-1) UNRELEASED; urgency=medium
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
   * Build-Depends: autoconf-archive
   * autoupdate to avoid warnings from configure.ac
+  * Build-Depends: tox and do not override dh_auto_test
+  * Test-Depends / Recommends: python3-numba
 
  -- Andreas Tille <tille at debian.org>  Tue, 07 Feb 2023 10:04:38 +0100
 


=====================================
debian/control
=====================================
@@ -18,7 +18,7 @@ Build-Depends: debhelper-compat (= 13),
                python3-biopython,
                python3-dendropy,
                python3-reportlab,
-               python3-pytest,
+               tox <!nocheck>,
                python3-scipy <!nocheck>,
                python3-multiprocess <!nocheck>,
                python3-wheel <!nocheck>
@@ -36,7 +36,8 @@ Depends: ${shlibs:Depends},
          python3,
          raxml
 Recommends: iqtree,
-         fasttree
+            fasttree,
+            python3-numba
 Description: phylogenetic analysis of genome sequences
  Gubbins supports rapid phylogenetic analysis of large samples of
  recombinant bacterial whole genome sequences.


=====================================
debian/rules
=====================================
@@ -19,13 +19,6 @@ override_dh_auto_install:
 	cd python && \
 	python3 setup.py install --root=../debian/gubbins --install-layout=deb --install-lib=/usr/share/gubbins --install-scripts=/usr/share/gubbins
 
-override_dh_auto_test:
-ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
-	dh_auto_test
-	cd python && \
-	PATH="$$PATH:../src" python3 setup.py test
-endif
-
 override_dh_install:
 	dh_install
 	find debian -name "*.la" -delete


=====================================
debian/tests/control
=====================================
@@ -1,3 +1,4 @@
 Tests: run-example
-Depends: @
+Depends: @,
+         python3-numba
 Restrictions: allow-stderr



View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/compare/a579c2b65dd84fef037f699ddf70b1b6dee32607...c6b8c30ca01f72a149a8f694d4fb6fcca486318a

-- 
View it on GitLab: https://salsa.debian.org/med-team/gubbins/-/compare/a579c2b65dd84fef037f699ddf70b1b6dee32607...c6b8c30ca01f72a149a8f694d4fb6fcca486318a
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/20230712/ee34521d/attachment-0001.htm>


More information about the debian-med-commit mailing list