diff mbox series

[bug#36152] gnu: emacs-perspective: Update to 2.2

Message ID 87ftoijzh6.fsf@odyssey.lafreniere.xyz
State Accepted
Headers show
Series [bug#36152] gnu: emacs-perspective: Update to 2.2 | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

LaFreniere, Joseph June 9, 2019, 2:16 a.m. UTC
* gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.2
---
 gnu/packages/emacs-xyz.scm | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

     (build-system emacs-build-system)
     (home-page "https://github.com/nex3/perspective-el")
     (synopsis "Switch between named \"perspectives\"")
--
2.21.0

Comments

swedebugia June 28, 2019, 5:46 a.m. UTC | #1
On 2019-06-09 04:16, Joseph LaFreniere wrote:
> 
> * gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.2
> ---
> gnu/packages/emacs-xyz.scm | 13 +++++++------
> 1 file changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 7db46e81c5..7986203155 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -4213,16 +4213,17 @@ regexp that matches all known keywords.")
> (define-public emacs-perspective
>    (package
>      (name "emacs-perspective")
> -    (version "1.12")
> +    (version "2.2")
>      (source
>       (origin
> -       (method url-fetch)
> -       (uri (string-append        
> "https://github.com/nex3/perspective-el/"
> -                           "archive/" version ".tar.gz"))
> -       (file-name (string-append name "-" version ".tar.gz"))
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/nex3/perspective-el.git")
> +             (commit version)))
> +       (file-name (git-file-name name version))
>         (sha256
>          (base32
> -          "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
> + "0pd5sqrrz6y3md20yh6ffy32jdcgb1gc9b4j14pm6r54bqxik68h"))))
>      (build-system emacs-build-system)
>      (home-page "https://github.com/nex3/perspective-el")
>      (synopsis "Switch between named \"perspectives\"")
> -- 
> 2.21.0
> 
> 
> 
> 

for the record. has been applied
Ricardo Wurmus June 28, 2019, 1:20 p.m. UTC | #2
swedebugia <swedebugia@riseup.net> writes:

> On 2019-06-09 04:16, Joseph LaFreniere wrote:
>>
>> * gnu/packages/emacs-xyz.scm (emacs-perspective): Update to 2.2
>
> for the record. has been applied

Indeed.  Thanks.  I’m closing this issue.
diff mbox series

Patch

diff --git a/gnu/packages/emacs-xyz.scm 
b/gnu/packages/emacs-xyz.scm
index 7db46e81c5..7986203155 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4213,16 +4213,17 @@  regexp that matches all known keywords.")
 (define-public emacs-perspective
   (package
     (name "emacs-perspective")
-    (version "1.12")
+    (version "2.2")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append 
        "https://github.com/nex3/perspective-el/"
-                           "archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/nex3/perspective-el.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
- 
          "078ahh0kmhdylq5ib9c81c76kz1n02xwc83pm729d00i84ibviic"))))
+ 
"0pd5sqrrz6y3md20yh6ffy32jdcgb1gc9b4j14pm6r54bqxik68h"))))