Subject: [bug#78315] [PATCH 29/53] gnu: emacs-chruby-el: Rename package to emacs-chruby.

From: Nicolas Graves <[email-masked]>
Date: Thu, 8 May 2025 14:50:31 +0200

* gnu/packages/emacs-xyz.scm (emacs-chruby-el): Define in terms of
'deprecated-package'.
(emacs-chruby): New variable, formerly known as "emacs-chruby-el".
---
 gnu/packages/emacs-xyz.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a4d592aec0..fcb46edce2 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -8417,12 +8417,12 @@ (define-public emacs-inf-ruby
 @code{inf-ruby-wrapper-command} customization variable could be helpful.")
     (license license:gpl3+)))
 
-(define-public emacs-chruby-el
+(define-public emacs-chruby
   (let ((version "1.0")
         (commit "42bc6d521f832eca8e2ba210f30d03ad5529788f")
         (revision "0"))
     (package
-      (name "emacs-chruby-el")
+      (name "emacs-chruby")
       (version (git-version version revision commit))
       (source (origin
                 (method git-fetch)
@@ -8437,6 +8437,9 @@ (define-public emacs-chruby-el
       (description "This package lets you switch Ruby versions using chruby.")
       (license license:gpl3+))))
 
+(define-deprecated/public emacs-chruby-el emacs-chruby
+  (deprecated-package "emacs-chruby-el" emacs-chruby))
+
 ;; Package has no release.  Version is extracted from "Version:" keyword in
 ;; main file.
 (define-public emacs-zeno-theme
-- 
2.49.0