unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Nicolò Balzarotti" <anothersms@gmail.com>
To: 38525@debbugs.gnu.org
Subject: [bug#38525] Enchive: Update to 3.5
Date: Sun, 8 Dec 2019 12:33:22 +0100	[thread overview]
Message-ID: <CAO7Ox=ZuO57zgCtpDZAFf1c3wWYJiXMm3hFKdVuxjx2Lo4jvYQ@mail.gmail.com> (raw)


[-- 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


             reply	other threads:[~2019-12-08 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-08 11:33 Nicolò Balzarotti [this message]
2019-12-11  2:53 ` bug#38525: Enchive: Update to 3.5 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAO7Ox=ZuO57zgCtpDZAFf1c3wWYJiXMm3hFKdVuxjx2Lo4jvYQ@mail.gmail.com' \
    --to=anothersms@gmail.com \
    --cc=38525@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).