diff options
author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 04:27:13 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:53 +0100 |
commit | ff5484a774302750aa7e9e30e0fb5d13c1eddfd2 (patch) | |
tree | 141dcf74b66eb8c80999f293b3669ac77a6fde1a | |
parent | 7c9ea452b0ac300b26b653b358ef82e158750e57 (diff) |
gnu: python-git-review: Update to 2.5.0.
* gnu/packages/openstack.scm (python-git-review): Update to 2.5.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Refresh them.
[native-inputs]: Add python-pbr, python-setuptools, python-wheel.
[inputs]: Replace git by git-minimal, openssh by openssh-sans-x.
Change-Id: If1e37a04b99c700274ce0a8d47922aa2c5249bc7
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/openstack.scm | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 7a9f1e05ff..968c102b80 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm @@ -1180,31 +1180,30 @@ permanence.") (define-public python-git-review (package (name "python-git-review") - (version "2.1.0") + (version "2.5.0") (source (origin (method url-fetch) - (uri (pypi-uri "git-review" version)) + (uri (pypi-uri "git_review" version)) (sha256 - (base32 "1mhywsbisyv028lsj2ksg4g5l8kyimpwxgwzqi08rymi8mb7fv1s")))) - (build-system python-build-system) + (base32 "1a7h3i1wsq0gsclb2mififypr9q0sz3ni0kf0qxmm2l40bpzmkqv")))) + (build-system pyproject-build-system) (arguments - '(#:tests? #f ; tests require a running Gerrit server - #:phases - (modify-phases %standard-phases - (add-after 'install 'wrap-program - (lambda* (#:key inputs outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (git (assoc-ref inputs "git")) - (openssh (assoc-ref inputs "openssh"))) - (wrap-program (string-append out "/bin/git-review") - `("PATH" ":" prefix - ,(map (lambda (dir) - (string-append dir "/bin")) - (list git openssh)))))))))) - (native-inputs (list python-pbr)) + (list + #:tests? #f ; tests require a running Gerrit server + #:phases + #~(modify-phases %standard-phases + (add-after 'wrap 'wrap-program + (lambda* (#:key inputs #:allow-other-keys) + (wrap-program (string-append #$output "/bin/git-review") + `("PATH" ":" prefix + ,(map (lambda (bin) + (search-input-file inputs + (string-append "bin/" bin))) + (list "git" "ssh"))))))))) + (native-inputs (list python-pbr python-setuptools python-wheel)) (propagated-inputs (list python-requests)) - (inputs (list bash-minimal git openssh)) + (inputs (list bash-minimal git-minimal openssh-sans-x)) (home-page "https://docs.openstack.org/infra/git-review/") (synopsis "Command-line tool for Gerrit") (description |