[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/32: gnu: libgit2: Don't use unstable tarball.
From: |
guix-commits |
Subject: |
32/32: gnu: libgit2: Don't use unstable tarball. |
Date: |
Sun, 14 Apr 2019 14:15:46 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 22c88f5d858daf8d8fe9dc007155677eecd4ee9a
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Mar 30 15:46:58 2019 +0100
gnu: libgit2: Don't use unstable tarball.
* gnu/packages/version-control.scm (libgit2)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
[arguments]: Add ‘make-git-checkout-writable’ phase.
---
gnu/packages/version-control.scm | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 692c29d..22771a1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -522,13 +522,14 @@ everything from small to very large projects with speed
and efficiency.")
(name "libgit2")
(version "0.28.1")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/libgit2/libgit2/"
- "archive/v" version ".tar.gz"))
- (file-name (string-append name "-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/libgit2/libgit2.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "0swk2dyq5a4p1jn5wvbcsrxckhh808vifxz5y8w663avg541188c"))
+ "0j5p0hhz2wizvgkf0nbpd8g32mb5bg1vp8ckpbhb0pq38ja4h43r"))
(patches (search-patches "libgit2-avoid-python.patch"
"libgit2-mtime-0.patch"))
@@ -551,6 +552,10 @@ everything from small to very large projects with speed
and efficiency.")
(("/bin/cp") (which "cp"))
(("/bin/rm") (which "rm")))
#t))
+ (add-after 'unpack 'make-git-checkout-writable
+ (lambda _
+ (for-each make-file-writable (find-files "."))
+ #t))
;; Run checks more verbosely.
(replace 'check
(lambda _ (invoke "./libgit2_clar" "-v" "-Q"))))))
- 18/32: gnu: emacs-dts-mode: Use GIT-FILE-NAME., (continued)
- 18/32: gnu: emacs-dts-mode: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 13/32: gnu: emacs-stumpwm-mode: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 15/32: gnu: emacs-eros: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 25/32: gnu: burp: Update to 2.3.4., guix-commits, 2019/04/14
- 19/32: gnu: emacs-daemons: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 26/32: gnu: khal: Update to 0.10.1., guix-commits, 2019/04/14
- 21/32: gnu: emacs-desktop-environment: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 28/32: gnu: linux-libre: Set DEVPTS_MULTIPLE_INSTANCES only where needed., guix-commits, 2019/04/14
- 27/32: gnu: khal: Use HTTPS home page., guix-commits, 2019/04/14
- 22/32: gnu: emacs-evil-magit: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 32/32: gnu: libgit2: Don't use unstable tarball.,
guix-commits <=
- 06/32: gnu: emacs-helm-eww: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 12/32: gnu: emacs-grep-context: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 17/32: gnu: emacs-noflet: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 23/32: gnu: emacs-evil-multiedit: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 14/32: gnu: emacs-highlight-escape-sequences: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 20/32: gnu: emacs-esh-autosuggest: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 24/32: gnu: emacs-evil-org: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 29/32: gnu: etl: Update to 1.2.2., guix-commits, 2019/04/14
- 16/32: gnu: emacs-stickyfunc-enhance: Use GIT-FILE-NAME., guix-commits, 2019/04/14
- 31/32: gnu: python-pygit2: Update to 0.28.0., guix-commits, 2019/04/14