#1032202 New buttercup_eval directive

#1032202#5
Date:
2023-03-01 15:51:21 UTC
From:
To:
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,

#1032202#10
Date:
2023-03-02 00:33:39 UTC
From:
To:
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.

#1032202#15
Date:
2023-03-02 03:09:51 UTC
From:
To:
Thanks for the reply.  I will try to remember to ping.
#1032202#20
Date:
2026-07-09 10:34:45 UTC
From:
To:
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.

#1032202#25
Date:
2026-07-09 12:26:11 UTC
From:
To:
Gianfranco Costamagna [09/Jul 10:34am GMT] wrote:

That patch looks fine, but please post it as a new bug :)

#1032202#30
Date:
2026-07-09 12:25:56 UTC
From:
To:
Sergio Durigan Junior [01/Mar 10:09pm -05] wrote:

Could you confirm your patch still works?  If so we can install it.