unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#46503] gnu: gandi.cli: Update to 1.6.
@ 2021-02-14  5:50 Raghav Gururajan
  2021-02-16  9:17 ` bug#46503: " 宋文武
  0 siblings, 1 reply; 2+ messages in thread
From: Raghav Gururajan @ 2021-02-14  5:50 UTC (permalink / raw)
  To: 46503


[-- Attachment #1.1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.1.2: 0003-gnu-gandi.cli-Update-to-1.6.patch --]
[-- Type: text/x-patch, Size: 1778 bytes --]

From fa4e19d77c5d5c7510652c11387455caa23f2896 Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <rg@raghavgururajan.name>
Date: Sun, 14 Feb 2021 00:46:30 -0500
Subject: [PATCH 3/3] gnu: gandi.cli: Update to 1.6.

* gnu/packages/networking.scm (gandi.cli) [version]: Update to 1.6.
[native-inputs]: Add python-mock, python-pytest and python-setuptools.
[inputs]: Add openssh.
---
 gnu/packages/networking.scm | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 5e0022ac76..cc66434045 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1454,13 +1454,13 @@ round-robin fashion.")
 (define-public gandi.cli
   (package
     (name "gandi.cli")
-    (version "1.5")
+    (version "1.6")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri name version))
        (sha256
-        (base32 "110wc9zgxsrvw4yzp21p0ian5lcf7vhcpxhnmsc4fg9pzl2bwxd5"))))
+        (base32 "1h36jahbp7273wn3yd747kbiwjc0bm3sja67bcxdsd54ln0vyndg"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -1484,10 +1484,14 @@ round-robin fashion.")
                #t))))))
     (native-inputs
      `(("python-docutils" ,python-docutils)   ; for rst2man.py
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
        ("python-pytest-cov" ,python-pytest-cov)
+       ("python-setuptools" ,python-setuptools)
        ("python-tox" ,python-tox)))
     (inputs
-     `(("openssl" ,openssl)
+     `(("openssh" ,openssh)
+       ("openssl" ,openssl)
        ("python-click" ,python-click)
        ("python-ipy" ,python-ipy)
        ("python-pyyaml" ,python-pyyaml)
-- 
2.30.0


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* bug#46503: gnu: gandi.cli: Update to 1.6.
  2021-02-14  5:50 [bug#46503] gnu: gandi.cli: Update to 1.6 Raghav Gururajan
@ 2021-02-16  9:17 ` 宋文武
  0 siblings, 0 replies; 2+ messages in thread
From: 宋文武 @ 2021-02-16  9:17 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 46503-done

Hello!

Raghav Gururajan <rg@raghavgururajan.name> writes:

> [...]
> diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
> index 5e0022ac76..cc66434045 100644
> --- a/gnu/packages/networking.scm
> +++ b/gnu/packages/networking.scm
> @@ -1454,13 +1454,13 @@ round-robin fashion.")
>  (define-public gandi.cli
>    (package
>      (name "gandi.cli")
> -    (version "1.5")
> +    (version "1.6")
>      (source
>       (origin
>         (method url-fetch)
>         (uri (pypi-uri name version))
>         (sha256
> -        (base32 "110wc9zgxsrvw4yzp21p0ian5lcf7vhcpxhnmsc4fg9pzl2bwxd5"))))
> +        (base32 "1h36jahbp7273wn3yd747kbiwjc0bm3sja67bcxdsd54ln0vyndg"))))
>      (build-system python-build-system)
>      (arguments
>       `(#:phases
> @@ -1484,10 +1484,14 @@ round-robin fashion.")
>                 #t))))))
>      (native-inputs
>       `(("python-docutils" ,python-docutils)   ; for rst2man.py
> +       ("python-mock" ,python-mock)

As see in setup.py, python-mock is not needed here, since this package
use 'unittest.mock' with Python 3.

> +       ("python-pytest" ,python-pytest)
>         ("python-pytest-cov" ,python-pytest-cov)
> +       ("python-setuptools" ,python-setuptools)

python-setuptools is not needed too, since our python package have it
builtin.
>         ("python-tox" ,python-tox)))
>      (inputs
> -     `(("openssl" ,openssl)
> +     `(("openssh" ,openssh)

openssh need to be a 'propagated-input', or better we cloud patch
'gandi/cli/modules/iass.py' to execute commands with absolute paths.
> +       ("openssl" ,openssl)
>         ("python-click" ,python-click)
>         ("python-ipy" ,python-ipy)
>         ("python-pyyaml" ,python-pyyaml)

I made above said changes and pushed, thank you!




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

end of thread, other threads:[~2021-02-16  9:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-14  5:50 [bug#46503] gnu: gandi.cli: Update to 1.6 Raghav Gururajan
2021-02-16  9:17 ` bug#46503: " 宋文武

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).