Package: autopkgtest Version: 3.17.3 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Dear Maintainer, With python-pex, an extra dependency is required on Ubuntu that isn't required on Debian. Originally I was keeping an Ubuntu delta that only differed by including the extra dependency in d/tests/control. After some discussion on IRC, it was suggested that the test could do this instead: dpkg-vendor --is ubuntu && apt-get install -y ubuntu-drivers-common || true That worked, but has the disadvantage that the test has to also add the allow-root restriction. I'm wondering if there isn't a way do add a syntax for conditional additional dependencies. We talked about a couple of options on IRC. My thinking now is that perhaps something like Depends-<vendor>: foo e.g. Depends-Ubuntu: foo could work. Maybe you want to generalize that into any conditional, so for example: Depends: @, (dpkg-vendor --is ubuntu) foo, blah - -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages autopkgtest depends on: ii apt-utils 1.0.10.2 ii libdpkg-perl 1.18.3 ii procps 2:3.3.10-4 ii python3 3.4.3-7 ii python3-debian 0.1.27 Versions of packages autopkgtest recommends: ii autodep8 0.2 Versions of packages autopkgtest suggests: pn lxc <none> pn qemu-system <none> pn qemu-utils <none> ii schroot 1.6.10-2 - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJWH+bfAAoJEBJutWOnSwa/3N8P/i4u4NwVXCIV1d+To8i53vho SSKadShV6VN/+5O0Px3gRthDz3jDFvZ+w1V69lL9VGLIbpIlfNLwWVvCahy3yBQh Wh92DPHmpilz/adooCwOSMj3uVTzhBCRkXDXgaqMFMZoK3qy0qN0G4HK6dEyXnG4 WhdomdUKrHwB0sc+I+Zwig/hCHxO53GLir0vbMoI4aC5rzhXD9iLOstuqc3wOLIi 7D11VtQ8AKgS1tV34JFTmPsjZtYfeWDUomLj3e4oEpPEC6H5azKRNqZm7wdt5+3z b4NeQHRtU4N4IPETX3HdzSwC2ri3xcDDhx3Ed76altbqCuE5BAMN707J08xBVicY 3e6aDCgCoJT2raVkuUlDG5lKLnz8QwCQuzwGv2b7vGg0pU0USnFPvtzSDIRhTaKq WZxl5/juiFaqvmEbuQGIrNktGgX0+xiJfGR1qwxy/hgsDoJ+ILkdCiBv2LceLUzT OYj9LA/lwbsJKl2I+Q15IF+BoBcm4eiGDC5yVMSq5V0vXGEBBtL8mRnEPR/GQOq2 GEo3xecnHAA1BA/Ainfu13aI7PO6DbfOWd/xLTzPUpIswwlQf29xjmAmkP+TAnV3 Cru0ewqZK2k9ZWokG6dZnt68x3yCR10la7dRKPbnv5Kd47wr8SwhsRR4K6nYy/HG JDjStbZZiO11vgsS4eX0 =BlBe -----END PGP SIGNATURE-----

