guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: emacs-subed: Update to 1.0.3.


From: guix-commits
Subject: branch master updated: gnu: emacs-subed: Update to 1.0.3.
Date: Fri, 11 Feb 2022 16:37:24 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new aff352a5f2 gnu: emacs-subed: Update to 1.0.3.
aff352a5f2 is described below

commit aff352a5f26c90495582c8d4498b0d4e853d0de3
Author: Jai Vetrivelan <jaivetrivelan@gmail.com>
AuthorDate: Fri Feb 11 19:45:59 2022 +0530

    gnu: emacs-subed: Update to 1.0.3.
    
    * gnu/packages/emacs-xyz.scm (emacs-subed): Update to 1.0.3.
    [source]: Use url-fetch.
    [arguments]: Remove phase CHDIR-SUBED, enable tests.
    [native-inputs]: Add EMACS-BUTTERCUP.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/emacs-xyz.scm | 49 ++++++++++++++++++++++------------------------
 1 file changed, 23 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3dab4fd9e6..698ffe3b59 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6200,34 +6200,31 @@ user.")
     (license license:gpl3+)))
 
 (define-public emacs-subed
-  ;; XXX: Upstream does not tag releases.  Commit below matches version bump.
-  (let ((commit "9a660ed88600e9aff741051c28a9e638cd5df5f5"))
-    (package
-      (name "emacs-subed")
-      (version "1.0.2")
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/sachac/subed";)
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1biczfg8cl9sy02yx7nmf5ma7mdjsmi27v93x1gaw4zjwj8fmlkg"))))
-      (build-system emacs-build-system)
-      (arguments
-       `(#:phases (modify-phases %standard-phases
-                    (add-after 'unpack 'chdir-subed
-                      (lambda _
-                        (chdir "subed"))))))
-      (home-page "https://elpa.nongnu.org/nongnu/subed.html";)
-      (synopsis "Major mode for editing subtitles")
-      (description
-       "@code{subed} is an Emacs major mode for editing subtitles while
-playing the corresponding video with mpv.  At the moment, the only supported
+  (package
+    (name "emacs-subed")
+    (version "1.0.3")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://elpa.nongnu.org/nongnu/subed-";
+                                  version ".tar"))
+              (sha256
+               (base32
+                "0wibakmp1lhfyr6sifb7f3jcqp2s5sy0z37ad9n1n9rhj5q8yhzg"))))
+    (arguments
+     (list
+      #:tests? #t
+      #:test-command #~(list "make" "test-only")))
+    (native-inputs
+     (list emacs-buttercup))
+    (build-system emacs-build-system)
+    (home-page "https://elpa.nongnu.org/nongnu/subed.html";)
+    (synopsis "Major mode for editing subtitles")
+    (description
+     "@code{subed} is an Emacs major mode for editing subtitles while playing
+the corresponding video with @code{mpv}.  At the moment, the only supported
 formats are SubRip (@file{.srt}), WebVTT (@file{.vtt}), and Advanced
 SubStation Alpha (@file{.ass}).")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-public emacs-miniedit
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]