diff options
| author | Andreas Enge <andreas@enge.fr> | 2020-08-28 16:47:05 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2020-08-28 16:47:05 +0200 |
| commit | 1d99fca6c92e58a60c532e6aae5f5d070c286d38 (patch) | |
| tree | 4f21e48a0867beb0843e9c1a426c5e69d3359ada /gnu | |
| parent | 47ed9ec3b713ab88091b4cc0374091a6fc800288 (diff) | |
gnu: python-apache-libcloud: Update to 3.1.0.
* gnu/packages/python-xyz.scm (python-apache-libcloud): Update to 3.1.0.
[arguments]: Drop test patching, apparently corrected upstream.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cd3b35832fa..52c83a04021 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm | |||
| @@ -16071,14 +16071,14 @@ validating Swagger API specifications.") | |||
| 16071 | (define-public python-apache-libcloud | 16071 | (define-public python-apache-libcloud |
| 16072 | (package | 16072 | (package |
| 16073 | (name "python-apache-libcloud") | 16073 | (name "python-apache-libcloud") |
| 16074 | (version "2.4.0") | 16074 | (version "3.1.0") |
| 16075 | (source | 16075 | (source |
| 16076 | (origin | 16076 | (origin |
| 16077 | (method url-fetch) | 16077 | (method url-fetch) |
| 16078 | (uri (pypi-uri "apache-libcloud" version)) | 16078 | (uri (pypi-uri "apache-libcloud" version)) |
| 16079 | (sha256 | 16079 | (sha256 |
| 16080 | (base32 | 16080 | (base32 |
| 16081 | "0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j")))) | 16081 | "1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v")))) |
| 16082 | (build-system python-build-system) | 16082 | (build-system python-build-system) |
| 16083 | (arguments | 16083 | (arguments |
| 16084 | `(#:phases | 16084 | `(#:phases |
| @@ -16091,22 +16091,10 @@ validating Swagger API specifications.") | |||
| 16091 | #t)) | 16091 | #t)) |
| 16092 | (add-after 'unpack 'patch-tests | 16092 | (add-after 'unpack 'patch-tests |
| 16093 | (lambda _ | 16093 | (lambda _ |
| 16094 | (substitute* "./libcloud/test/test_file_fixtures.py" | ||
| 16095 | ;; See <https://issues.apache.org/jira/browse/LIBCLOUD-923>. | ||
| 16096 | (("def _ascii") "def _raw_data(self, method, url, body, headers): | ||
| 16097 | return (httplib.OK, | ||
| 16098 | \"1234abcd\", | ||
| 16099 | {\"test\": \"value\"}, | ||
| 16100 | httplib.responses[httplib.OK]) | ||
| 16101 | def _ascii")) | ||
| 16102 | (substitute* "libcloud/test/compute/test_ssh_client.py" | 16094 | (substitute* "libcloud/test/compute/test_ssh_client.py" |
| 16103 | (("class ShellOutSSHClientTests") | 16095 | (("class ShellOutSSHClientTests") |
| 16104 | "@unittest.skip(\"Guix container doesn't have ssh service\") | 16096 | "@unittest.skip(\"Guix container doesn't have ssh service\") |
| 16105 | class ShellOutSSHClientTests") | 16097 | class ShellOutSSHClientTests")) |
| 16106 | ;; See <https://issues.apache.org/jira/browse/LIBCLOUD-924>. | ||
| 16107 | (("'.xf0.x90.x8d.x88'") "b'\\xF0\\x90\\x8D\\x88'") | ||
| 16108 | (("'.xF0', '.x90', '.x8D', '.x88'") | ||
| 16109 | "b'\\xF0', b'\\x90', b'\\x8D', b'\\x88'")) | ||
| 16110 | #t)) | 16098 | #t)) |
| 16111 | (add-before 'check 'copy-secret | 16099 | (add-before 'check 'copy-secret |
| 16112 | (lambda _ | 16100 | (lambda _ |
