diff -Nru libbio-db-embl-perl-1.7.4/debian/changelog libbio-db-embl-perl-1.7.4/debian/changelog --- libbio-db-embl-perl-1.7.4/debian/changelog 2021-01-04 08:59:23.000000000 +0000 +++ libbio-db-embl-perl-1.7.4/debian/changelog 2021-02-23 17:22:06.000000000 +0000 @@ -1,3 +1,14 @@ +libbio-db-embl-perl (1.7.4-4) unstable; urgency=medium + + * Team upload. + * d/rules: make sure tests remain offline + Closes: #978316 + * explicit offline autodep8 perl autopkgtest; this is required to mark the + smoke test as "superficial", since there are no offline tests done by this + autopkgtest. + + -- Étienne Mollier Tue, 23 Feb 2021 18:22:06 +0100 + libbio-db-embl-perl (1.7.4-3) unstable; urgency=medium * Team upload. diff -Nru libbio-db-embl-perl-1.7.4/debian/control libbio-db-embl-perl-1.7.4/debian/control --- libbio-db-embl-perl-1.7.4/debian/control 2021-01-04 08:59:23.000000000 +0000 +++ libbio-db-embl-perl-1.7.4/debian/control 2021-02-22 22:44:21.000000000 +0000 @@ -2,7 +2,6 @@ Maintainer: Debian Med Packaging Team Uploaders: Michael R. Crusoe Section: perl -Testsuite: autopkgtest-pkg-perl Priority: optional Build-Depends: debhelper-compat (= 13), libbio-perl-perl, diff -Nru libbio-db-embl-perl-1.7.4/debian/rules libbio-db-embl-perl-1.7.4/debian/rules --- libbio-db-embl-perl-1.7.4/debian/rules 2021-01-04 08:59:23.000000000 +0000 +++ libbio-db-embl-perl-1.7.4/debian/rules 2021-02-22 22:37:41.000000000 +0000 @@ -1,4 +1,7 @@ #!/usr/bin/make -f +# do not run Test::RequiresInternet on buildd +export NO_NETWORK_TESTING=1 + %: dh $@ diff -Nru libbio-db-embl-perl-1.7.4/debian/tests/control libbio-db-embl-perl-1.7.4/debian/tests/control --- libbio-db-embl-perl-1.7.4/debian/tests/control 1970-01-01 00:00:00.000000000 +0000 +++ libbio-db-embl-perl-1.7.4/debian/tests/control 2021-02-22 22:38:02.000000000 +0000 @@ -0,0 +1,19 @@ +# Pulled from /usr/share/doc/pkg-perl-autopkgtest/examples/default-tests-control +# This local copy is needed as there is no real point in running the smoke test +# without Internet connexion, otherwise all tests are skipped, and the test ends +# up passing while being more than superficial. + +Test-Command: /usr/share/pkg-perl-autopkgtest/runner build-deps +Depends: @, @builddeps@, pkg-perl-autopkgtest +Restrictions: skippable, superficial +Features: test-name=autodep8-perl-build-deps + +Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps +Depends: @, pkg-perl-autopkgtest +Restrictions: skippable, superficial +Features: test-name=autodep8-perl + +Test-Command: /usr/share/pkg-perl-autopkgtest/runner runtime-deps-and-recommends +Depends: @, pkg-perl-autopkgtest +Restrictions: needs-recommends, skippable, superficial +Features: test-name=autodep8-perl-recommends diff -Nru libbio-db-embl-perl-1.7.4/debian/tests/pkg-perl/smoke-env libbio-db-embl-perl-1.7.4/debian/tests/pkg-perl/smoke-env --- libbio-db-embl-perl-1.7.4/debian/tests/pkg-perl/smoke-env 1970-01-01 00:00:00.000000000 +0000 +++ libbio-db-embl-perl-1.7.4/debian/tests/pkg-perl/smoke-env 2021-02-22 22:38:25.000000000 +0000 @@ -0,0 +1 @@ +NO_NETWORK_TESTING=1