diff --git a/debian/control b/debian/control index 7b6c2d6..8a5142c 100644 --- a/debian/control +++ b/debian/control @@ -1,22 +1,22 @@ Source: swh-loader-core Maintainer: Software Heritage developers Section: python Priority: optional Build-Depends: debhelper (>= 9), - dh-python, + dh-python (>= 2), python3-all, python3-nose, python3-setuptools, python3-swh.core, python3-swh.storage (>= 0.0.83~), python3-swh.model (>= 0.0.18~), python3-retrying, python3-vcversioner Standards-Version: 3.9.6 Homepage: https://forge.softwareheritage.org/diffusion/60/ Package: python3-swh.loader.core Architecture: all Depends: python3-swh.core, python3-swh.storage (>= 0.0.83~), python3-swh.model (>= 0.0.18~), ${misc:Depends}, ${python3:Depends} Description: Software Heritage Loader Core diff --git a/debian/rules b/debian/rules index 4fb1550..8268ffa 100755 --- a/debian/rules +++ b/debian/rules @@ -1,12 +1,7 @@ #!/usr/bin/make -f export PYBUILD_NAME=swh-loader-core +export PYBUILD_TEST_ARGS=--with-doctest -sv -a !db,!fs swh/loader/core/tests %: dh $@ --with python3 --buildsystem=pybuild - - -override_dh_auto_test: - PYBUILD_SYSTEM=custom \ - PYBUILD_TEST_ARGS="python{version} -m nose swh -sva '!db,!fs'" \ - dh_auto_test