all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58043] [PATCH] Add awscli-2 and its dependencies
@ 2022-09-24 16:17 Baptiste Strazzulla
  2022-10-04 10:30 ` bug#58043: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Baptiste Strazzulla @ 2022-09-24 16:17 UTC (permalink / raw)
  To: 58043


[-- Attachment #1.1: Type: text/plain, Size: 2 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 337 bytes --]

[-- Attachment #2: 0001-gnu-Add-python-property-manager.patch --]
[-- Type: application/octet-stream, Size: 2000 bytes --]

From b44d073b5e5fc618b919201e78c193415d516f2e Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 17:27:25 +0200
Subject: [PATCH 1/3] gnu: Add python-property-manager

* gnu/packages/python-xyz.scm (python-property-manager): New variable.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 92e0c9dbe8..78f5a6a257 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -129,6 +129,7 @@
 ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it>
+;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7296,6 +7297,30 @@ (define-public python-imagecodecs
 tifffile, czifile, and other scientific image input/output modules.")
     (license license:bsd-3)))
 
+(define-public python-property-manager
+  (package
+    (name "python-property-manager")
+    (version "3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "property-manager" version))
+       (sha256
+        (base32 "0m3w4spr8f39xnm65naw29ncal4r453kn7ndqb63rwbsmslnvrwk"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest-cov))
+    (propagated-inputs
+     (list python-verboselogs
+           python-humanfriendly
+           python-coloredlogs))
+    (home-page "https://github.com/xolox/python-property-manager")
+    (synopsis "Useful property variants for Python programming")
+    (description "The @{property-manager} package defines several custom
+property variants for Python programming including required properties,
+writable properties, cached properties, etc…")
+    (license license:expat))) ; MIT license
+
 (define-public python-executing
   (package
     (name "python-executing")
-- 
2.37.2


[-- Attachment #3: 0002-gnu-Add-python-executor.patch --]
[-- Type: application/octet-stream, Size: 1743 bytes --]

From 80a64a13793f6e5c37711c32645785a5f11d5671 Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 17:42:28 +0200
Subject: [PATCH 2/3] gnu: Add python-executor

* gnu/packages/python-xyz.scm (python-executor): New variable.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 78f5a6a257..948e3cedd5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7342,6 +7342,32 @@ (define-public python-executing
 currently doing, particularly the AST node being executed.")
     (license license:expat)))
 
+(define-public python-executor
+  (package
+    (name "python-executor")
+    (version "23.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "executor" version))
+       (sha256
+        (base32 "0g83yr54j0vcwhy6h7n0jsd7q0q630kwa6v9kqzlzrm9xj6c3ip1"))))
+    (build-system python-build-system)
+    (arguments
+    `(#:tests? #f)) ; TODO: tests require root/sudo
+    (propagated-inputs
+     (list python-six
+           python-property-manager
+           python-fasteners
+           python-virtualenv))
+    (home-page "https://github.com/xolox/python-executor")
+    (synopsis "Programmer friendly subprocess wrapper")
+    (description "The @{executor} package is a simple wrapper for Python’s
+subprocess module that makes it very easy to handle subprocesses on UNIX
+systems with proper escaping of arguments and error checking currently doing,
+particularly the AST node being executed.")
+    (license license:expat))) ; MIT license
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.37.2


[-- Attachment #4: 0003-gnu-Add-awscli-2.patch --]
[-- Type: application/octet-stream, Size: 1523 bytes --]

From e52295783140b169d43e705a0470112e9abf19b5 Mon Sep 17 00:00:00 2001
From: Zzull <bstrazzull@hotmail.fr>
Date: Sat, 24 Sep 2022 18:09:53 +0200
Subject: [PATCH 3/3] gnu: Add awscli-2

* gnu/packages/python-web.scm (awscli-2): New variable.
---
 gnu/packages/python-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 94544e1e74..094ef9a49a 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -56,6 +56,7 @@
 ;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
 ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl>
 ;;; Copyright © 2022 msimonin <matthieu.simonin@inria.fr>
+;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3214,6 +3215,26 @@ (define-public awscli
 Amazon Web Services (AWS) API.")
     (license license:asl2.0)))
 
+(define-public awscli-2
+  (package
+    (inherit awscli)
+    (name "awscli")
+    (version "2.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri (string-append name "v2") version))
+       (sha256
+        (base32
+         "0g1icsy2l4n540gnhliypy830dfp08hpfc3rk12dlxgc9v3ra4wl"))))
+    (arguments
+     ;; FIXME: The 'pypi' release does not contain tests.
+     '(#:tests? #f))
+    (inputs
+     (list python-importlib-resources
+           python-executor))))
+
+
 (define-public python-wsgiproxy2
   (package
     (name "python-wsgiproxy2")
-- 
2.37.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58043: [PATCH] Add awscli-2 and its dependencies
  2022-09-24 16:17 [bug#58043] [PATCH] Add awscli-2 and its dependencies Baptiste Strazzulla
@ 2022-10-04 10:30 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-10-04 10:30 UTC (permalink / raw)
  To: Baptiste Strazzulla; +Cc: 58043-done

Hi,

Baptiste Strazzulla <bstrazzull@hotmail.fr> skribis:

> From b44d073b5e5fc618b919201e78c193415d516f2e Mon Sep 17 00:00:00 2001
> From: Zzull <bstrazzull@hotmail.fr>
> Date: Sat, 24 Sep 2022 17:27:25 +0200
> Subject: [PATCH 1/3] gnu: Add python-property-manager
>
> * gnu/packages/python-xyz.scm (python-property-manager): New variable.

[...]

> From 80a64a13793f6e5c37711c32645785a5f11d5671 Mon Sep 17 00:00:00 2001
> From: Zzull <bstrazzull@hotmail.fr>
> Date: Sat, 24 Sep 2022 17:42:28 +0200
> Subject: [PATCH 2/3] gnu: Add python-executor
>
> * gnu/packages/python-xyz.scm (python-executor): New variable.

[...]

> From e52295783140b169d43e705a0470112e9abf19b5 Mon Sep 17 00:00:00 2001
> From: Zzull <bstrazzull@hotmail.fr>
> Date: Sat, 24 Sep 2022 18:09:53 +0200
> Subject: [PATCH 3/3] gnu: Add awscli-2
>
> * gnu/packages/python-web.scm (awscli-2): New variable.

Applied, thanks!

I fixed descriptions that had “@{foo}” instead of “@code{foo}”.

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-04 10:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-24 16:17 [bug#58043] [PATCH] Add awscli-2 and its dependencies Baptiste Strazzulla
2022-10-04 10:30 ` bug#58043: " Ludovic Courtès

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.