unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 54798@debbugs.gnu.org, "Ludovic Courtès" <ludo@gnu.org>,
	"Maxime Devos" <maximedevos@telenet.be>
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#54798] [PATCH v3 2/4] gnu: awscli: Update to 1.22.90.
Date: Mon, 18 Apr 2022 11:43:45 +0000	[thread overview]
Message-ID: <20220418114345.2888-1-felgru@posteo.net> (raw)
In-Reply-To: <a62e632e7955729ea0b4bb61c28e1bc612ece455.camel@telenet.be>

* 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.
---
 gnu/packages/python-web.scm | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 28c934e896..5fcfd27914 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2870,14 +2870,14 @@ (define-public awscli
   (package
     ;; Note: updating awscli typically requires updating botocore as well.
     (name "awscli")
-    (version "1.21.11")
+    (version "1.22.90")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
         (base32
-         "0fkivwbx4nind5b7l4jhqm5bb9drgqsclcslrg4aggf9rcs4g4s0"))))
+         "0ky4ax4xh7s8w1l0hwc7w9ii8afvh9nib3kz09qhiqdinxzrlv54"))))
     (build-system python-build-system)
     (arguments
      ;; FIXME: The 'pypi' release does not contain tests.
@@ -2891,21 +2891,22 @@ (define-public awscli
                             "setup.py")
                (("<5.5") "<=6"))))
          (add-after 'unpack 'fix-reference-to-groff
-           (lambda _
+           (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "awscli/help.py"
                (("if not self._exists_on_path\\('groff'\\):") "")
                (("raise ExecutableNotFoundError\\('groff'\\)") "")
                (("cmdline = \\['groff'")
-                (string-append "cmdline = ['" (which "groff") "'"))))))))
+                (string-append "cmdline = ['"
+                               (search-input-file inputs "bin/groff")
+                               "'"))))))))
     (inputs
-     (list python-colorama-for-awscli
-           python-botocore-for-awscli
+     (list groff
+           python-colorama-for-awscli
+           python-botocore
            python-s3transfer
            python-docutils-0.15
            python-pyyaml
            python-rsa))
-    (native-inputs
-     (list groff))
     (home-page "https://aws.amazon.com/cli/")
     (synopsis "Command line client for AWS")
     (description "AWS CLI provides a unified command line interface to the
-- 
2.35.1





  reply	other threads:[~2022-04-18 11:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-08 18:33 [bug#54798] [PATCH 0/5] Update python-jmespath to 1.0.0 Felix Gruber
2022-04-08 18:37 ` [bug#54798] [PATCH 1/5] gnu: python-jmespath: Update " Felix Gruber
2022-04-08 18:37 ` [bug#54798] [PATCH 2/5] gnu: python-botocore: Update to 1.24.34 Felix Gruber
2022-04-08 18:37 ` [bug#54798] [PATCH 3/5] gnu: python-boto3: Update to 1.21.34 Felix Gruber
2022-04-08 18:37 ` [bug#54798] [PATCH 4/5] gnu: awscli: Update to 1.22.89 Felix Gruber
2022-04-08 18:37 ` [bug#54798] [PATCH 5/5] gnu: python-moto: Update to 3.1.4 Felix Gruber
2022-04-15 17:04 ` [bug#54798] [PATCH 0/5] Update python-jmespath to 1.0.0 Ludovic Courtès
2022-04-17 20:04   ` [bug#54798] [PATCH v2 0/4] " Felix Gruber
2022-04-17 20:04     ` [bug#54798] [PATCH v2 1/4] gnu: python-jmespath: Update " Felix Gruber
2022-04-17 20:04     ` [bug#54798] [PATCH v2 2/4] gnu: awscli: Update to 1.22.90 Felix Gruber
2022-04-17 21:00       ` Maxime Devos
2022-04-18 11:43         ` Felix Gruber [this message]
2022-04-17 20:04     ` [bug#54798] [PATCH v2 3/4] gnu: Remove python-botocore-for-awscli Felix Gruber
2022-04-17 20:04     ` [bug#54798] [PATCH v2 4/4] gnu: Remove python-pyyaml-for-awscli Felix Gruber
2022-04-18 21:06     ` bug#54798: [PATCH v2 0/4] Update python-jmespath to 1.0.0 Ludovic Courtès
2022-04-20 19:06   ` [bug#54798] [PATCH 0/5] " zimoun

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220418114345.2888-1-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=54798@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=maximedevos@telenet.be \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).