mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 03:45:24 -05:00
gnu: awscli: Update to 1.22.90.
* gnu/packages/python-web.scm (awscli): Update to 1.22.90. [arguments] Use search-input-file to find groff. [inputs]: Replace python-botocore-for-awscli with python-botocore. Add groff. [native-inputs]: Remove groff. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b0ec23afb7
commit
7cf080aa71
1 changed files with 9 additions and 8 deletions
|
@ -2870,14 +2870,14 @@ (define-public awscli
|
||||||
(package
|
(package
|
||||||
;; Note: updating awscli typically requires updating botocore as well.
|
;; Note: updating awscli typically requires updating botocore as well.
|
||||||
(name "awscli")
|
(name "awscli")
|
||||||
(version "1.21.11")
|
(version "1.22.90")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri name version))
|
(uri (pypi-uri name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
|
"0ky4ax4xh7s8w1l0hwc7w9ii8afvh9nib3kz09qhiqdinxzrlv54"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
;; FIXME: The 'pypi' release does not contain tests.
|
;; FIXME: The 'pypi' release does not contain tests.
|
||||||
|
@ -2891,21 +2891,22 @@ (define-public awscli
|
||||||
"setup.py")
|
"setup.py")
|
||||||
(("<5.5") "<=6"))))
|
(("<5.5") "<=6"))))
|
||||||
(add-after 'unpack 'fix-reference-to-groff
|
(add-after 'unpack 'fix-reference-to-groff
|
||||||
(lambda _
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "awscli/help.py"
|
(substitute* "awscli/help.py"
|
||||||
(("if not self._exists_on_path\\('groff'\\):") "")
|
(("if not self._exists_on_path\\('groff'\\):") "")
|
||||||
(("raise ExecutableNotFoundError\\('groff'\\)") "")
|
(("raise ExecutableNotFoundError\\('groff'\\)") "")
|
||||||
(("cmdline = \\['groff'")
|
(("cmdline = \\['groff'")
|
||||||
(string-append "cmdline = ['" (which "groff") "'"))))))))
|
(string-append "cmdline = ['"
|
||||||
|
(search-input-file inputs "bin/groff")
|
||||||
|
"'"))))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list python-colorama-for-awscli
|
(list groff
|
||||||
python-botocore-for-awscli
|
python-colorama-for-awscli
|
||||||
|
python-botocore
|
||||||
python-s3transfer
|
python-s3transfer
|
||||||
python-docutils-0.15
|
python-docutils-0.15
|
||||||
python-pyyaml
|
python-pyyaml
|
||||||
python-rsa))
|
python-rsa))
|
||||||
(native-inputs
|
|
||||||
(list groff))
|
|
||||||
(home-page "https://aws.amazon.com/cli/")
|
(home-page "https://aws.amazon.com/cli/")
|
||||||
(synopsis "Command line client for AWS")
|
(synopsis "Command line client for AWS")
|
||||||
(description "AWS CLI provides a unified command line interface to the
|
(description "AWS CLI provides a unified command line interface to the
|
||||||
|
|
Loading…
Reference in a new issue