[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/07: gnu: libgit2: Upgrade to 1.0.0.
From: |
guix-commits |
Subject: |
05/07: gnu: libgit2: Upgrade to 1.0.0. |
Date: |
Tue, 7 Apr 2020 10:32:20 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 912b6ab01c405f693470ccb0c86a5e652674529a
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Apr 7 11:08:40 2020 +0300
gnu: libgit2: Upgrade to 1.0.0.
* gnu/packages/version-control.scm (libgit2): Upgrade to 1.0.0.
[source]: Download using url-fetch.
[arguments]: Remove 'fix-pcre2-reference, 'make-git-checkout-writable
custom phases.
[home-page]: Update home-page.
---
gnu/packages/version-control.scm | 27 +++++++--------------------
1 file changed, 7 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index ac88515..fdbfab2 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -601,16 +601,15 @@ on @command{git}, and use any regular Git hosting
service.")
(define-public libgit2
(package
(name "libgit2")
- (version "0.99.0")
+ (version "1.0.0")
(source (origin
- (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))
+ (method url-fetch)
+ (uri (string-append "https://github.com/libgit2/libgit2/"
+ "releases/download/v" version
+ "/libgit2-" version ".tar.gz"))
(sha256
(base32
- "0qxzv49ip378g1n7hrbifb9c6pys2kj1hnxcafmbb94gj3pgd9kg"))
+ "1d09ni0v3vammk8zqmmwks92fh3wwnsxpyrh4s5wwdb3gxma27va"))
(patches (search-patches "libgit2-mtime-0.patch"))
(snippet '(begin
(delete-file-recursively "deps") #t))
@@ -623,14 +622,6 @@ on @command{git}, and use any regular Git hosting
service.")
"-DUSE_HTTP_PARSER=system")
#:phases
(modify-phases %standard-phases
- (add-after 'unpack 'fix-pcre2-reference
- (lambda _
- ;; Use PCRE2 with 8-bit character support, as there is no
"libpcre2.pc".
- ;; See <https://github.com/libgit2/libgit2/issues/5438>.
- (substitute* "src/CMakeLists.txt"
- (("\"libpcre2\"")
- "\"libpcre2-8\""))
- #t))
(add-after 'unpack 'fix-hardcoded-paths
(lambda _
(substitute* "tests/repo/init.c"
@@ -639,10 +630,6 @@ on @command{git}, and use any regular Git hosting
service.")
(("/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"))))))
@@ -657,7 +644,7 @@ on @command{git}, and use any regular Git hosting service.")
`(("openssl" ,openssl)
("pcre2" ,pcre2)
("zlib" ,zlib)))
- (home-page "https://libgit2.github.com/")
+ (home-page "https://libgit2.org/")
(synopsis "Library providing Git core methods")
(description
"Libgit2 is a portable, pure C implementation of the Git core methods
- branch master updated (5c08ae3 -> 1e96e6a), guix-commits, 2020/04/07
- 01/07: gnu: Add dsfmt., guix-commits, 2020/04/07
- 02/07: gnu: http-parser: Add support for RFC 3986., guix-commits, 2020/04/07
- 03/07: gnu: libgit2: Use system http-parser., guix-commits, 2020/04/07
- 05/07: gnu: libgit2: Upgrade to 1.0.0.,
guix-commits <=
- 04/07: gnu: sssd: Upgrade to 1.16.5., guix-commits, 2020/04/07
- 06/07: gnu: julia.scm: Fix indentaion., guix-commits, 2020/04/07
- 07/07: gnu: julia: Upgrade to 1.3.1., guix-commits, 2020/04/07