mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: python-gitpython: Rewrite to use gexps.
* gnu/packages/version-control.scm (python-gitpython)[arguments]: Change to gexps; use ‘search-input-file’. Change-Id: I4fb2ce74262a05aaf32644dd3b8bfb674747fdbe
This commit is contained in:
parent
f63c81d8af
commit
43c16ce7fa
1 changed files with 11 additions and 10 deletions
|
@ -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>
|
||||
|
@ -1647,15 +1647,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
|
||||
|
|
Loading…
Reference in a new issue