Bug#941811: please convert package to use dh-elpa for perlcritic.el

Nicholas D Steeves nsteeves at gmail.com
Sun Oct 6 01:55:15 BST 2019


Hi Salvatore,

Salvatore Bonaccorso <carnil at debian.org> writes:

> hi Nicholas,
>
> On Sat, Oct 05, 2019 at 05:42:36PM -0400, Nicholas D Steeves wrote:
>> Package: libperl-critic-perl
>> Version: 1.132-1
>> Severity: normal
>> 
>> Dear maintainer,
>> 
>> I've confirmed this affects 1.134-1.  Please convert
>> libperl-critic-perl to use dh-elpa for perlcritic.el.  It handles byte
>> compilation which the package in buster lacks.
>> 
>> It looks like emacsen-startup is Debian-specific customisation.
>> That
>> will go in the debian-autoloads.el file.  See ยง "Debian-specific
>> Lisp customizations" (man dh_elpa).
>
> it looks we did that back in
>
> libperl-critic-perl (1.092-1) unstable; urgency=low
> [...]
>   * install perlcritic.el into site-lisp, add debian/emacsen-startup
>     adds perlcritic mode to Emacs. Thanks to Kevin Ryde for the suggestion and
>     the patch. Closes: #483288
>
> Would you be open to help providing this conversion?

Yes, absolutely; however, I expect to be swamped with work for the next
week or two.  Here's an example of a moderately complex case of similar
file-mode.el bundled in upstream src:package, with atomic commits for
each operation:

  https://salsa.debian.org/sten-guest/tuareg-mode/commits/master

The biggest changes are perlcritic.el is added to
"debian/elpa-perlcritic.elpa", with some definitions in d/control, plus
the Debian-specific customisation I noted previously.  Breaks & replaces
are essential, but please omit provides in this case.  The
elpa-perlcritic.pkg file might need a hint for successful generation.
#debian-emacs is a friendly team too, so feel free to drop by even if
I'm not there :-)


Happy hacking,
Nicholas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20191005/2a47cf75/attachment.sig>


More information about the pkg-perl-maintainers mailing list