[bug#77141] gnu: emacs-ansible-doc: Update to 0.4-2.648c844.

Message ID 1b570bc3bbcf730f3326aa16b6acef749b1c4a47.1742502592.git.simon@netpanic.org
State New
Headers
Series [bug#77141] gnu: emacs-ansible-doc: Update to 0.4-2.648c844. |

Commit Message

Simon Streit March 20, 2025, 8:39 p.m. UTC
  Hello,

This patch not updates the package, it also moves it to emacs-xyz
where all other emacs packages are collected too.  Thought it would
fit better there.

Kind regards

* gnu/packages/admin.scm (emacs-ansible-doc): Move variable from here…
* gnu/packages/emacs-xyz.scm: … to here and update to 0.4-2.648c84.
  Update source and homepage URL to maintained fork.

Change-Id: I910e773661d98b13ada374e8f5086448bb4d2586
---
 gnu/packages/admin.scm     | 29 +----------------------------
 gnu/packages/emacs-xyz.scm | 31 ++++++++++++++++++++++++++++++-
 2 files changed, 31 insertions(+), 29 deletions(-)


base-commit: e12455a5e8d524c5c3fba1ae56ebc6819b4f9320
  

Comments

Ian Eure March 22, 2025, 3:16 p.m. UTC | #1
Hi Simon,

Pushed as 0a047df7f5.

Thanks for the patch!

  -- Ian
  

Patch

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index aff2f4d0bdf..afe1228e8f4 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -76,6 +76,7 @@ 
 ;;; Copyright © 2024 Ashvith Shetty <ashvithshetty10@gmail.com>
 ;;; Copyright © 2025 Dariqq <dariqq@posteo.net>
 ;;; Copyright © 2024 nik gaffney <nik@fo.am>
+;;; Copyright © 2025 Simon Streit <simon@netpanic.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3372,34 +3373,6 @@  (define-public debops
 manage virtual machines and/or containers.")
     (license license:gpl3+)))
 
-(define-public emacs-ansible-doc
-  (let ((commit "86083a7bb2ed0468ca64e52076b06441a2f8e9e0"))
-    (package
-      (name "emacs-ansible-doc")
-      (version (git-version "0.4" "1" commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/lunaryorn/ansible-doc.el")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "0lap404ch74w99n3xip176jr42b38xhyzkfnkyqg0g3wk2cd3aq8"))))
-      (build-system emacs-build-system)
-      ;; Unmaintained by upstream.
-      (home-page "https://github.com/lunaryorn/ansible-doc.el")
-      (synopsis "Ansible documentation for Emacs")
-      (description
-       "This package provides an Ansible documentation for GNU Emacs.
-
-@code{ansible-doc} allows you to view the documentation of an Ansible
-module and @code{ansible-doc-mode} minor mode adds documentation
-lookup to YAML Mode.  You could enable the mode with @code{(add-hook
-'yaml-mode-hook #'ansible-doc-mode)}.")
-      (license license:gpl3+))))
-
 (define-public cpulimit
   (package
     (name "cpulimit")
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f7459c3c32e..e833bb11736 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -119,7 +119,7 @@ 
 ;;; Copyright © 2022, 2024, 2025 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2022 Thiago Jung Bauermann <bauermann@kolabnow.com>
 ;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
-;;; Copyright © 2023 Simon Streit <simon@netpanic.org>
+;;; Copyright © 2023, 2025 Simon Streit <simon@netpanic.org>
 ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
 ;;; Copyright © 2022 Demis Balbach <db@minikn.xyz>
@@ -23999,6 +23999,35 @@  (define-public emacs-ansible
      "This is an Emacs minor mode for editing Ansible files.")
     (license license:gpl2+)))
 
+(define-public emacs-ansible-doc
+  (let ((commit "648c844ab46f56c2c7ee25687ad2952a5d5eb4c7")
+        (revision "2")
+        (version "0.4"))
+    (package
+      (name "emacs-ansible-doc")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/fredericgiquel/ansible-doc")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "02xnkgsrq54bpk26z9cs352r5rq0scmzw2czlq2pyq1332g6lycd"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/fredericgiquel/ansible-doc")
+      (synopsis "Ansible documentation for Emacs")
+      (description
+       "This package provides an Ansible documentation for GNU Emacs.
+
+@code{ansible-doc} allows you to view the documentation of an Ansible
+module and @code{ansible-doc-mode} minor mode adds documentation
+lookup to YAML Mode.  You could enable the mode with @code{(add-hook
+'yaml-mode-hook #'ansible-doc-mode)}.")
+      (license license:gpl3+))))
+
 (define-public emacs-polymode-ansible
   (package
     (name "emacs-polymode-ansible")