Bug#641208: dh-make-perl: enhance copyright file handling by integrating an enhanced Debian::Copyright

Nicholas Bamber periapt at debian.org
Sun Sep 11 16:00:17 UTC 2011


Package: dh-make-perl
Version: 0.73-1
Severity: wishlist


The idea is to protect dh-make-perl from DEP-5 changes
and to also make 'dh-make-perl refresh' respect more existing
content of a debian/copyright file. Specifically the new steps would be:

1.) Attempt to read the existing debian/copyright file into a
Debian::Copyright object.
2.) If 1. failed gather the data as one would at the moment and
create a Debian::Copyright object from that.
3.) Update the 'debian/*' stanza in the Debian::Copyright object.
4.) Refresh the common licenses in the Debian::Copyright object
5.) Rename any fields that have been changed according to the current
DEP-5 standard.
6.) Write out the new debian/copyright file.

Other comments:
a.) The main affect of the proposal would be that the manual bits of
a debian/copyright file would not get overwritten. Are there any downsides 
to this?
b.) Debian::Copyright was modelled explicitly on Debian::Control. It would
need more work for all this to be doable however.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dh-make-perl depends on:
ii  debhelper                     8.9.6      helper programs for debian/rules
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  fakeroot                      1.18-1     tool for simulating superuser priv
ii  libapt-pkg-perl               0.1.24+b2  Perl interface to libapt-pkg
ii  libarray-unique-perl          0.08-1     Tie-able array that allows only un
ii  libclass-accessor-perl        0.34-1     Perl module that automatically gen
ii  libcpan-meta-perl             2.112150-1 Perl module to access distribution
ii  libdpkg-perl                  1.16.0.3   Dpkg perl modules
ii  libemail-address-perl         1.892-1    Perl module for RFC 2822 address p
ii  libemail-date-format-perl     1.002-1    Module to generate RFC-2822-valid 
ii  liblist-moreutils-perl        0.33-1     Perl module with additional list f
ii  libmodule-corelist-perl       2.55-1     module to determine modules shippe
ii  libmodule-depends-perl        0.15-2     Perl module to identify the depend
ii  libparse-debcontrol-perl      2.005-2    Easy OO parsing of Debian control-
ii  libparse-debianchangelog-perl 1.2.0-1    parse Debian changelogs and output
ii  libsoftware-license-perl      0.103002-1 module providing templated softwar
ii  libtie-ixhash-perl            1.21-2     ordered associative arrays for Per
ii  libwww-mechanize-perl         1.70-1     module to automate interaction wit
ii  libyaml-perl                  0.73-1     YAML Ain't Markup Language
ii  make                          3.81-8.1   An utility for Directing compilati
ii  perl                          5.12.4-4   Larry Wall's Practical Extraction 
ii  perl-modules [libmodule-corel 5.12.4-4   Core Perl modules

Versions of packages dh-make-perl recommends:
ii  apt-file                   2.5.0         search for files within Debian pac
ii  git                        1:1.7.2.3-2.2 fast, scalable, distributed revisi

dh-make-perl suggests no packages.

-- no debconf information





More information about the pkg-perl-maintainers mailing list