Bug#823067: dh-make-perl: please split Debian::Control into a separate binary package

Damyan Ivanov dmn at debian.org
Sun May 1 13:37:25 UTC 2016


-=| gregor herrmann, 01.05.2016 11:43:09 +0200 |=-
> On Sat, 30 Apr 2016 06:54:00 -0700, Sean Whitton wrote:
> 
> > Debian::Control is independently useful.  Please consider splitting it
> > into its own binary package, e.g. libdebian-control-perl.
> 
> This sounds like a reasonable idea, thanks for the proposal. - The
> question is what exactly we split out into which new package(s);
> currently the package contains the following modules (slightly
> reordered):
> 
> -rw-r--r-- root/root      9026 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Config.pm
> -rw-r--r-- root/root      7381 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Utils.pm
> -rw-r--r-- root/root      1247 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/refresh_cache.pm
> -rw-r--r-- root/root      6695 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/refresh.pm
> -rw-r--r-- root/root      1119 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/dump_config.pm
> -rw-r--r-- root/root     49429 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/Packaging.pm
> -rw-r--r-- root/root     27340 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/make.pm
> -rw-r--r-- root/root      2159 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/locate.pm
> -rw-r--r-- root/root      1312 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/Command/help.pm
> -rw-r--r-- root/root      4508 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl/PodParser.pm
> -rw-r--r-- root/root      2737 2016-04-11 23:04 ./usr/share/perl5/DhMakePerl.pm
> 
> -rw-r--r-- root/root     11784 2016-04-11 23:04 ./usr/share/perl5/Debian/AptContents.pm
> -rw-r--r-- root/root     10725 2016-04-11 23:04 ./usr/share/perl5/Debian/Rules.pm
> -rw-r--r-- root/root      2899 2016-04-11 23:04 ./usr/share/perl5/Debian/WNPP/Bug.pm
> -rw-r--r-- root/root      5123 2016-04-11 23:04 ./usr/share/perl5/Debian/WNPP/Query.pm
> -rw-r--r-- root/root     12697 2016-04-11 23:04 ./usr/share/perl5/Debian/Dependency.pm
> -rw-r--r-- root/root      7084 2016-04-11 23:04 ./usr/share/perl5/Debian/Dependencies.pm
> -rw-r--r-- root/root      4523 2016-04-11 23:04 ./usr/share/perl5/Debian/DpkgLists.pm
> 
> -rw-r--r-- root/root      5199 2016-04-11 23:04 ./usr/share/perl5/Debian/Control.pm
> -rw-r--r-- root/root      2209 2016-04-11 23:04 ./usr/share/perl5/Debian/Control/Stanza/CommaSeparated.pm
> -rw-r--r-- root/root      2592 2016-04-11 23:04 ./usr/share/perl5/Debian/Control/Stanza/Source.pm
> -rw-r--r-- root/root      4551 2016-04-11 23:04 ./usr/share/perl5/Debian/Control/Stanza/Binary.pm
> -rw-r--r-- root/root     19102 2016-04-11 23:04 ./usr/share/perl5/Debian/Control/FromCPAN.pm
> -rw-r--r-- root/root      7328 2016-04-11 23:04 ./usr/share/perl5/Debian/Control/Stanza.pm
> 
> The DhMakeperl::* namespace seems clear; and then we have Debian::Control* but also
> other Debian::* modules, where we'd need to check high tightly they
> are tied into dh-make-perl or how generic and usuable they are. (And
> if we split out more, we need to think about a different name than
> libdebian-control-perl).

Debian::Control::FromCPAN uses DhMakePerl::Utils and sometimes 
Debian::DpkgLists, so perhaps this belongs to dh-make-perl.

Debian::Control::Stanza uses Debian::Dependencies, I guess the later 
shall go in the separate package.

> Sean, do you need only Debian::Control::* o more?
> 
> Dam and others, what are your thoughts from the dh-make-perl
> knowledge side?

No objections from me. As suggested by the names, the modules were 
intended to be usable outside of dh-make-perl. 
Debian::Control::FromCPAN is the only exception that I see.


-- dam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20160501/0db98632/attachment.sig>


More information about the pkg-perl-maintainers mailing list