unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38525] Enchive: Update to 3.5
@ 2019-12-08 11:33 Nicolò Balzarotti
  2019-12-11  2:53 ` bug#38525: " Efraim Flashner
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolò Balzarotti @ 2019-12-08 11:33 UTC (permalink / raw)
  To: 38525


[-- Attachment #1.1: Type: text/plain, Size: 166 bytes --]

Hello guix!

I updated enchive. Lint was complaining about the github autogenerated url,
so I changed the source git-fetch. Package checked with guix check.

Thanks!

[-- Attachment #1.2: Type: text/html, Size: 250 bytes --]

[-- Attachment #2: 0001-gnu-enchive-Update-to-3.5.patch --]
[-- Type: text/x-patch, Size: 1625 bytes --]

From fb1e8cba0e257bd26bbd9dc77ca095ebb051eecc Mon Sep 17 00:00:00 2001
From: nixo <nicolo@nixo.xyz>
Date: Sun, 8 Dec 2019 12:27:31 +0100
Subject: [PATCH] gnu: enchive: Update to 3.5

* gnu/packages/crypto.scm (enchive): Update to 3.5.
  [source]: Replace url-fetch with git-fetch (lint: autogenerated tarball).
---
 gnu/packages/crypto.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 80c598ed86..e63823de2c 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -852,15 +852,16 @@ cannot sign messages in OpenBSD format yet.")
 (define-public enchive
   (package
     (name "enchive")
-    (version "3.4")
+    (version "3.5")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/skeeto/" name "/archive/"
-                                  version ".tar.gz"))
-              (sha256
-               (base32
-                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
-              (file-name (string-append name "-" version ".tar.gz"))))
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/skeeto/enchive")
+                      (commit version)))
+                (sha256
+                 (base32
+                  "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa"))
+                (file-name (git-file-name name version))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f                      ; no check target         '
-- 
2.24.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#38525: Enchive: Update to 3.5
  2019-12-08 11:33 [bug#38525] Enchive: Update to 3.5 Nicolò Balzarotti
@ 2019-12-11  2:53 ` Efraim Flashner
  0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2019-12-11  2:53 UTC (permalink / raw)
  To: Nicolò Balzarotti; +Cc: 38525-done

[-- Attachment #1: Type: text/plain, Size: 2103 bytes --]

Thanks. Patch pushed with minor changes to the commit message

On Sun, Dec 08, 2019 at 12:33:22PM +0100, Nicolò Balzarotti wrote:
> From fb1e8cba0e257bd26bbd9dc77ca095ebb051eecc Mon Sep 17 00:00:00 2001
> From: nixo <nicolo@nixo.xyz>
> Date: Sun, 8 Dec 2019 12:27:31 +0100
> Subject: [PATCH] gnu: enchive: Update to 3.5
> 
> * gnu/packages/crypto.scm (enchive): Update to 3.5.
>   [source]: Replace url-fetch with git-fetch (lint: autogenerated tarball).
> ---
>  gnu/packages/crypto.scm | 17 +++++++++--------
>  1 file changed, 9 insertions(+), 8 deletions(-)
> 
> diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
> index 80c598ed86..e63823de2c 100644
> --- a/gnu/packages/crypto.scm
> +++ b/gnu/packages/crypto.scm
> @@ -852,15 +852,16 @@ cannot sign messages in OpenBSD format yet.")
>  (define-public enchive
>    (package
>      (name "enchive")
> -    (version "3.4")
> +    (version "3.5")
>      (source (origin
> -              (method url-fetch)
> -              (uri (string-append "https://github.com/skeeto/" name "/archive/"
> -                                  version ".tar.gz"))
> -              (sha256
> -               (base32
> -                "17hrxpp4cpn10bk48sfvfjc8hghky34agsnypam1v9f36kbalqfk"))
> -              (file-name (string-append name "-" version ".tar.gz"))))
> +                (method git-fetch)
> +                (uri (git-reference
> +                      (url "https://github.com/skeeto/enchive")
> +                      (commit version)))
> +                (sha256
> +                 (base32
> +                  "0fdrfc5l42lj2bvmv9dmkmhmm7qiszwk7cmdvnqad3fs7652g0qa"))
> +                (file-name (git-file-name name version))))
>      (build-system gnu-build-system)
>      (arguments
>       '(#:tests? #f                      ; no check target         '
> -- 
> 2.24.0
> 


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-11  2:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-08 11:33 [bug#38525] Enchive: Update to 3.5 Nicolò Balzarotti
2019-12-11  2:53 ` bug#38525: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).