From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UHDmF5k7RWSe6AAASxT56A (envelope-from ) for ; Sun, 23 Apr 2023 16:07:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eNbMFpk7RWQfKgAAG6o9tA (envelope-from ) for ; Sun, 23 Apr 2023 16:07:21 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C28373C3FF for ; Sun, 23 Apr 2023 16:07:20 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pqYqD-00039Z-Ny; Sun, 23 Apr 2023 08:29:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pqYq5-00036C-OS for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pqYq5-0001wg-Fz for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pqYq5-0006Qc-C7 for guix-patches@gnu.org; Sun, 23 Apr 2023 08:29:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63017] [PATCH v2 24/24] gnu: git-lfs: Update to 3.3.0. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Apr 2023 12:29:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63017 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63017@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 63017-submit@debbugs.gnu.org id=B63017.168225291624528 (code B ref 63017); Sun, 23 Apr 2023 12:29:09 +0000 Received: (at 63017) by debbugs.gnu.org; 23 Apr 2023 12:28:36 +0000 Received: from localhost ([127.0.0.1]:44790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpX-0006NS-Fp for submit@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:36 -0400 Received: from 15.mo582.mail-out.ovh.net ([188.165.39.161]:35101) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pqYpK-0006Lu-HI for 63017@debbugs.gnu.org; Sun, 23 Apr 2023 08:28:23 -0400 Received: from director4.ghost.mail-out.ovh.net (unknown [10.109.138.153]) by mo582.mail-out.ovh.net (Postfix) with ESMTP id 1DF6B23260 for <63017@debbugs.gnu.org>; Sun, 23 Apr 2023 12:28:21 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-zkzwk (unknown [10.110.171.164]) by director4.ghost.mail-out.ovh.net (Postfix) with ESMTPS id D00081FDE5; Sun, 23 Apr 2023 12:28:20 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-zkzwk with ESMTPSA id m31wMGQkRWRTKgEAeWLu+w (envelope-from ); Sun, 23 Apr 2023 12:28:20 +0000 X-OVh-ClientIp: 81.67.140.142 Date: Sun, 23 Apr 2023 14:27:48 +0200 Message-Id: <20230423122748.6770-24-ngraves@ngraves.fr> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230423122748.6770-1-ngraves@ngraves.fr> References: <20230423122748.6770-1-ngraves@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 2622502362178249442 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedtkedgheefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfgggtgfesthekredtredtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeethfekgeeuteehgeeihfejhfduheeuheekieehfedufeejjedtieeuffekueevgeenucffohhmrghinhepghhoqdhgohhlrghnghdrohhrghdpghhithhhuhgsrdgtohhmpdhgohhlrghnghdrohhrghenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegtddrudegvddpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepieeftddujeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekvddpmhhouggvpehsmhhtphhouhht X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682258840; a=rsa-sha256; cv=none; b=den+TO640QsRht2S9Jdjxtdpy9R9dWyl/oeCXDbxEAy6axcEg0Z86YhDNEQVElxOVUoKdP PjSpVlqOnOx1yy+NgJD9KttvLMR+2cdJl4OBxJKtDYu69zLHKQWSk/4eYnWayAx/sNTAIu d9xaVquF97MDyk4wLQRLImvG6CFkMwR9xURHhP/PC9eDMyUL1dJNfjA3tLKj7FNdL2SfT2 o6OtThw2gwg502EGCLezv1tQjty/FAXNFJ6EWta5W1EGWjzmKeHEIV+Ux/bSCKNqbqU2C+ 2HaeS6pM/z4wszfkl2MoXPyohLwLmQeXtvrSYs3i76J/C7NAIfz+gTESVKXo/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682258840; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=2CmUBXU0Dw6TkC6sAD7rDObO35KI0BAZ58TNxWXefp4=; b=EEx6auOaUOZdKt1k85PkzsizW0ef1UeLSP+H8X/vjwPvQtP4zHbH85TskR3veqgUlxA/KR edjregculOJE3alY+bSI3hHSzTahiYJ+0lsyW9PIsFwyblfB4oYvUuJ6+uwM230dCkf3DL c2GpJfnMGQK8oM8UIxVnu0CftCVY3iERw9B5nh5qcKcibIJ+sKqNFYp288T5OTgnzT0hu/ L2kFVqIvjNz1G5yMjKLeVYW3BgpF4JCYyElF3ZZ92l+AYE1qDhEhg7tSSSlCOgxBerXjS/ hLq4YnM2YZTV5GDlNmBfPYwujnCPN4Vr8F4STssKBTnb4zol188hHFiRLFEO6g== X-Migadu-Spam-Score: -4.21 X-Spam-Score: -4.21 X-Migadu-Queue-Id: C28373C3FF X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: t+p6M24cC6iN * gnu/packages/version-control.scm (git-lfs): Update to 3.3.0. [arguments] Use gexp. Add phase fix-embed-x-net (publicsuffix/table.go doesn't work with symlinked data). [native-inputs] Add git-minimal. Add ruby-asciidoctor. [propagated-inputs] Add go-github-com-xeipuuv-gojsonschema, go-github-com-xeipuuv-gojsonreference, go-github-com-xeipuuv-gojsonpointer, go-golang-org-x-net, go-golang.org-x-sync-semaphore, go-github-com-ssgelm-cookiejarparser, go-github-com-rubyist-tracerx, go-github-com-olekukonko-ts, go-github-com-leonelquinteros-gotext, go-github-com-git-lfs-wildmatch-v2, go-github-com-git-lfs-pktline, go-github-com-git-lfs-go-netrc, go-github-com-git-lfs-gitobj-v2, go-github-com-dpotapov-go-spnego, go-github-com-avast-retry-go, go-github-com-mattn-go-isatty, go-github-com-pkg-errors, go-github-com-spf13-cobra. --- gnu/packages/version-control.scm | 81 +++++++++++++++++++++----------- 1 file changed, 54 insertions(+), 27 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 4d6c8ecb1e..8789da6577 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2022 Maxime Devos ;;; Copyright © 2022 Dhruvin Gandhi ;;; Copyright © 2015, 2022 David Thompson +;;; Copyright © 2023 Nicolas Graves ;;; ;;; This file is part of GNU Guix. ;;; @@ -125,6 +126,7 @@ (define-module (gnu packages version-control) #:use-module (gnu packages python-xyz) #:use-module (gnu packages readline) #:use-module (gnu packages rsync) + #:use-module (gnu packages ruby) #:use-module (gnu packages sqlite) #:use-module (gnu packages texinfo) #:use-module (gnu packages admin) @@ -3023,7 +3025,7 @@ (define-public go-github-com-git-lfs-gitobj-v2 (define-public git-lfs (package (name "git-lfs") - (version "2.13.3") + (version "3.3.0") (source (origin (method git-fetch) (uri (git-reference @@ -3032,35 +3034,60 @@ (define-public git-lfs (file-name (git-file-name name version)) (sha256 (base32 - "0r7dmqhkhz91d3n7qfpny483x8f1n88yya22j2fvx75rgg33z2sg")))) + "1g268pplld04b9myhlrwc4fd8r1hvfyya5ja8wr558rar3pgsp5g")))) (build-system go-build-system) (arguments - `(#:import-path "github.com/git-lfs/git-lfs" - #:install-source? #f - #:phases - (modify-phases %standard-phases - (add-before 'build 'man-gen - ;; Without this, the binary generated in 'build - ;; phase won't have any embedded usage-text. - (lambda _ - (with-directory-excursion "src/github.com/git-lfs/git-lfs" - (invoke "make" "mangen")))) - (add-after 'build 'build-man-pages - (lambda _ - (with-directory-excursion "src/github.com/git-lfs/git-lfs" - (invoke "make" "man")) - #t)) - (add-after 'install 'install-man-pages - (lambda* (#:key outputs #:allow-other-keys) - (with-directory-excursion "src/github.com/git-lfs/git-lfs/man" - (let ((out (assoc-ref outputs "out"))) - (for-each - (lambda (manpage) - (install-file manpage (string-append out "/share/man/man1"))) - (find-files "." "^git-lfs.*\\.1$")))) - #t))))) + (list + #:import-path "github.com/git-lfs/git-lfs" + #:install-source? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-embed-x-net + (lambda _ + (delete-file-recursively "src/golang.org/x/net/publicsuffix/data") + (copy-recursively + #$(file-append (this-package-input "go-golang-org-x-net") + "/src/golang.org/x/net/publicsuffix/data") + "src/golang.org/x/net/publicsuffix/data"))) + (add-before 'build 'man-gen + ;; Without this, the binary generated in 'build + ;; phase won't have any embedded usage-text. + (lambda _ + (with-directory-excursion "src/github.com/git-lfs/git-lfs" + (invoke "make" "mangen")))) + (add-after 'build 'build-man-pages + (lambda _ + (with-directory-excursion "src/github.com/git-lfs/git-lfs" + (invoke "make" "man")))) + (add-after 'install 'install-man-pages + (lambda* (#:key outputs #:allow-other-keys) + (with-directory-excursion "src/github.com/git-lfs/git-lfs/man" + (for-each + (lambda (manpage) + (install-file manpage + (string-append #$output "/share/man/man1"))) + (find-files "." "^git-lfs.*\\.1$")))))))) ;; make `ronn` available during build for man page generation - (native-inputs (list ronn-ng)) + (native-inputs (list ronn-ng git-minimal ruby-asciidoctor)) + (propagated-inputs + (list go-github-com-xeipuuv-gojsonschema + go-github-com-xeipuuv-gojsonreference + go-github-com-xeipuuv-gojsonpointer + go-golang-org-x-net + go-golang.org-x-sync-semaphore + go-github-com-ssgelm-cookiejarparser + go-github-com-rubyist-tracerx + go-github-com-olekukonko-ts + go-github-com-leonelquinteros-gotext + go-github-com-git-lfs-wildmatch-v2 + go-github-com-git-lfs-pktline + go-github-com-git-lfs-go-netrc + go-github-com-git-lfs-gitobj-v2 + go-github-com-dpotapov-go-spnego + go-github-com-avast-retry-go + go-github-com-mattn-go-isatty + go-github-com-pkg-errors + go-github-com-spf13-cobra)) (home-page "https://git-lfs.github.com/") (synopsis "Git extension for versioning large files") (description -- 2.39.2