From: "Ludovic Courtès" <ludo@gnu.org>
To: 74892@debbugs.gnu.org
Cc: "Ludovic Courtès" <ludo@gnu.org>
Subject: [bug#74892] [PATCH 1/9] gnu: python-gitpython: Rewrite to use gexps.
Date: Sun, 15 Dec 2024 19:16:21 +0100 [thread overview]
Message-ID: <ca64e717532454799c5220bb6be934d8ed7d0756.1734286206.git.ludo@gnu.org> (raw)
In-Reply-To: <cover.1734286206.git.ludo@gnu.org>
* gnu/packages/version-control.scm (python-gitpython)[arguments]: Change
to gexps; use ‘search-input-file’.
Change-Id: I4fb2ce74262a05aaf32644dd3b8bfb674747fdbe
---
gnu/packages/version-control.scm | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 497d31cf73..3794d20082 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Nikita Karetnikov <nikita@karetnikov.org>
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
-;;; Copyright © 2013-2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2013-2022, 2024 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016 Mathieu Lirzin <mthl@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
@@ -1645,15 +1645,16 @@ (define-public python-gitpython
"1rarp97cpjnhi106k2yhb7kygdyflmlgq0icxv3ggzl4wvszv0yz"))))
(build-system python-build-system)
(arguments
- `(#:tests? #f ;XXX: Tests can only be run within the GitPython repository.
- #:phases (modify-phases %standard-phases
- (add-after 'unpack 'embed-git-reference
- (lambda* (#:key inputs #:allow-other-keys)
- (substitute* "git/cmd.py"
- (("git_exec_name = \"git\"")
- (string-append "git_exec_name = \""
- (assoc-ref inputs "git")
- "/bin/git\""))))))))
+ (list #:tests? #f ;XXX: tests can only be run within the GitPython repository
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'embed-git-reference
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "git/cmd.py"
+ (("git_exec_name = \"git\"")
+ (string-append "git_exec_name = \""
+ (search-input-file inputs "/bin/git")
+ "\""))))))))
(inputs
(list git))
(propagated-inputs
--
2.46.0
next prev parent reply other threads:[~2024-12-15 18:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-15 18:14 [bug#74892] [PATCH 0/9] Depending on 'git-minimal/pinned' where appropriate Ludovic Courtès
2024-12-15 18:16 ` Ludovic Courtès [this message]
2024-12-15 18:16 ` [bug#74892] [PATCH 2/9] gnu: python-gitpython: Switch to ‘git-minimal/pinned’ Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 3/9] gnu: python-gitdb: " Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 4/9] gnu: python-kanon: " Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 5/9] gnu: crun: Switch to ‘git-minimal/pinned' Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 6/9] gnu: podman: Switch to ‘git-minimal/pinned’ Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 7/9] gnu: rust-git2: " Ludovic Courtès
2024-12-15 20:40 ` Efraim Flashner
2024-12-15 18:16 ` [bug#74892] [PATCH 8/9] gnu: python-reno: " Ludovic Courtès
2024-12-15 18:16 ` [bug#74892] [PATCH 9/9] gnu: pre-commit: " Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ca64e717532454799c5220bb6be934d8ed7d0756.1734286206.git.ludo@gnu.org \
--to=ludo@gnu.org \
--cc=74892@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.