gnu: emacs-buttercup: Remove phase fix-spy-on-test.

* gnu/packages/emacs-xyz.scm: (emacs-buttercup)
[arguments](phases): Remove phase fix-spy-on-test, fixed in version 1.31.

Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Nicolas Graves 2023-09-27 18:11:37 +02:00 committed by Andrew Tropin
parent 7c861ab4f4
commit 3f7b091ea4
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -28520,16 +28520,6 @@ (define-public emacs-buttercup
#:test-command #~(list "make" "test")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-spy-on-test
(lambda _
(substitute* "buttercup.el"
;; The spy-on test fails with native compilation, which was
;; fixed in v1.30 but with a variable name for Emacs newer
;; than 28.2. Add in the same fix with the current variable
;; name. Upstream bug and fix:
;; <https://github.com/jorgenschaefer/emacs-buttercup/issues/236>
(("\\(native-comp-enable-subr-trampolines nil\\)" all)
(string-append all " (comp-enable-subr-trampolines nil)")))))
(add-after 'install 'install-bin
(lambda _
(install-file "bin/buttercup"