Source: libserial Version: 1.0.0-5 Severity: wishlist Tags: patch Thank you for applying my previous Build-Depends-reduction patch. I looked into libserial again and found another reduction (even though it does not help cross building): If you pass --disable-tests, you can skip another two dependencies. I'm attaching a patch for your convenience.
For cross building libserial, likely python3-sip has to change $somehow. Helmut
diff --minimal -Nru libserial-1.0.0/debian/changelog libserial-1.0.0/debian/changelog --- libserial-1.0.0/debian/changelog 2021-02-08 21:30:32.000000000 +0100 +++ libserial-1.0.0/debian/changelog 2021-03-05 12:31:27.000000000 +0100 @@ -1,3 +1,10 @@ +libserial (1.0.0-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Further reduce Build-Depends via <!nocheck> + --disable-tests. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Fri, 05 Mar 2021 12:31:27 +0100 + libserial (1.0.0-5) unstable; urgency=medium [ Helmut Grohne ] diff --minimal -Nru libserial-1.0.0/debian/control libserial-1.0.0/debian/control --- libserial-1.0.0/debian/control 2021-02-08 21:30:00.000000000 +0100 +++ libserial-1.0.0/debian/control 2021-03-05 12:31:27.000000000 +0100 @@ -5,8 +5,8 @@ Maintainer: Gianfranco Costamagna <locutusofb...@debian.org> Uploaders: David Morris <d...@code-fish.co.uk> Build-Depends: debhelper-compat (= 12), - libgtest-dev, - libboost-test-dev, + libgtest-dev <!nocheck>, + libboost-test-dev <!nocheck>, python3-sip-dev, Build-Depends-Indep: python3-sphinx, python3-sphinx-rtd-theme, diff --minimal -Nru libserial-1.0.0/debian/rules libserial-1.0.0/debian/rules --- libserial-1.0.0/debian/rules 2020-03-11 10:19:15.000000000 +0100 +++ libserial-1.0.0/debian/rules 2021-03-05 12:31:19.000000000 +0100 @@ -3,6 +3,9 @@ %: dh $@ +override_dh_auto_configure: + dh_auto_configure -- --$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),dis,en)able-tests + override_dh_auto_clean: dh_auto_clean rm -rf debian/doctrees