[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46503: gnu: gandi.cli: Update to 1.6.
From: |
宋文武 |
Subject: |
bug#46503: gnu: gandi.cli: Update to 1.6. |
Date: |
Tue, 16 Feb 2021 17:17:45 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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!