Bug#1001164: HTML::TokeParser::Simple: Should perhaps depend on libwww-perl?

Felix Lechner felix.lechner at lease-up.com
Sun Dec 5 16:10:39 GMT 2021


Package: libhtml-tokeparser-simple-perl

Hi,

The documentation indicates that the convenience constructor for a
'url' relies on LWP::Simple [1] but the installable package does not
declare libwww-perl as a prerequisite. [2] Should it?

The prerequisite HTML::Parser does not declare libwww-perl in
'Depends' either, although it 'Enhances' it. [3]

The Lintian maintainers use the described functionality to update data
files prior to release [4] but the feature is not tested in
autopkgtest. For now, we simply declared libwww-perl as a prerequisite
for Lintian. Thanks!

Kind regards
Felix Lechner

[1] https://metacpan.org/pod/HTML::TokeParser::Simple#new($source_type,-$source)
[2] https://packages.debian.org/unstable/libhtml-tokeparser-simple-perl
[3] https://packages.debian.org/sid/libhtml-parser-perl
[4] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885438#20



More information about the pkg-perl-maintainers mailing list