[DRE-maint] Bug#934164: ruby/generate: Should create test dependencies from Depends instead of Build-Depends

Daniel Leidert dleidert at debian.org
Wed Aug 7 17:10:59 BST 2019


Package: autodep8
Version: 0.18
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

The automatically created autopkgtest reads in the Build-Depends field and
adds the contents to the Depends field of the test file. But to build the
package you usually don't need all the runtime dependencies listed in the
.gemspec file. Also you usually add the requirements found in .gemspec to
the Depends field in debian/control.

IMO the test should therefor read in the Depends field. This would improve
the test significantly.

(a) We would not have to maintain the same list of dependencies both in
Build-Depends and in Depends.

(b) The test would really check, that the Depends field lists at least all
runtime requirements the .gemspec file contains.

Regards, Daniel


- -- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autodep8 depends on:
ii  dctrl-tools  2.24-3+b1
ii  python3      3.7.3-1

autodep8 recommends no packages.

autodep8 suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAl1K+BMACgkQS80FZ8KW
0F392hAAyStu0RJ64u1XqoTUYXHBqSw/o+HIDFbQdhS5aezVgwwx5miZDelF/dYj
EhVgUrzU5ItpS8IG8RKz7FBpk7AK0Gi9Jp2S/UHzhcgCFGpjHRvH2xYcPYXmLHCY
U05P42bX6CFYJI/t5KZ3LUlZe1DiNjSTbFay/ooHgks40IUbvb8Bh9qgCWnMeV46
soTwk44uWjTrmDG6q/h9UAQzcDJqutWjpf9CP24a8AQwYKpW+rf6ShUVGMpfADbB
MQav8WVjmWLv1ZLR2ZyIyxu57Wl78xBzdQe0Zh8O8u6A9y6Gl/q1Mot55P5LZftN
p9gFuotFOGmQDMFrcyDjQGUZFzBdm7YZNI0b3Ck89bWGuOJn0b+YS4pQd4IPlGGI
2eMMm5LUWv8AlXZxsQ1KJFkg8+J1gFkVfZMb2sf1IHRSyvlsBEzD3qyZnpsjvbUP
vPtW3uIBa5aVGeVB3baZi5qhzgdrQ5bL6AJ3YqRjykC+KWvR1sJ+6FMq3XJmU09B
z6Lk/ZXhmtWs89hVpM541/BtTsDhoD06dys4/bIhUfZwwmFtqJZooRW83GW3DSnX
yUEYdf7yKC/F+QahXvLFBX188zZ2bxhAUknlOAlqYR61Ypfc3XyPP8dcM+uKs19s
8nXUw9EExJQ52FGB9RPdM4cKT/Rj0AtdeO4F6LO6n6vcVgnOgfk=
=BNl/
-----END PGP SIGNATURE-----



More information about the Pkg-ruby-extras-maintainers mailing list