- Package:
- src:dh-elpa
- Source:
- src:dh-elpa
- Submitter:
- Sergio Durigan Junior
- Date:
- 2026-07-09 12:33:02 UTC
- Severity:
- normal
Hi, I would like to propose the inlined patch to implement a new buttercup_eval directive on dh-elpa. Aside from the fact that this is a good-to-have feature, there is a bigger problem at play here: it's currently not possible to eval elisp code when buttercup is invoked during autopkgtest, which makes workarounds like the one uploaded for flycheck (at bug #1028725) incomplete. It'd be great if we could have this in bookworm, but due to the freeze I'd understand if it's not possible. I'd like to have this in unstable ASAP, though, if that's OK with you. Thank you,
Hello, If it is only for autopkgtests or similar, I don't think it's appropriate for this stage of the freeze -- we can just disable the relevant tests. Thanks for the patch -- please ping once the next release cycle opens up.
Thanks for the reply. I will try to remember to ping.
Hello Sean, ping :) Btw how do you feel about also this: diff -pruN 2.1.9/dh-elpa.el 2.1.9ubuntu2/dh-elpa.el --- 2.1.9/dh-elpa.el 2025-03-14 06:53:25.000000000 +0000 +++ 2.1.9ubuntu2/dh-elpa.el 2025-03-14 10:40:55.000000000 +0000 @@ -157,6 +157,8 @@ upstream source to include a proper Pack etsuch a case." (when version (let* ((version (replace-regexp-in-string "~bpo.*$" "" version)) + (version (replace-regexp-in-string "ubuntu.*$" "" version)) + (version (replace-regexp-in-string "build.*$" "" version)) (version (replace-regexp-in-string "~" "-" version))) version))) +dh-elpa (2.0.8ubuntu1) impish; urgency=medium + + * Replace buildN and ubuntuN version suffixes with the empty string; + emacs version-to-list doesn't recognize these. + + -- Matthias Klose <doko@ubuntu.com> Fri, 08 Oct 2021 11:58:25 +0200 thanks for caring G.
Gianfranco Costamagna [09/Jul 10:34am GMT] wrote: That patch looks fine, but please post it as a new bug :)
Sergio Durigan Junior [01/Mar 10:09pm -05] wrote: Could you confirm your patch still works? If so we can install it.