mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-22 10:39:39 -05:00
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.
This commit is contained in:
parent
47ed9ec3b7
commit
1d99fca6c9
1 changed files with 3 additions and 15 deletions
|
@ -16071,14 +16071,14 @@ (define-public python2-swagger-spec-validator
|
||||||
(define-public python-apache-libcloud
|
(define-public python-apache-libcloud
|
||||||
(package
|
(package
|
||||||
(name "python-apache-libcloud")
|
(name "python-apache-libcloud")
|
||||||
(version "2.4.0")
|
(version "3.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "apache-libcloud" version))
|
(uri (pypi-uri "apache-libcloud" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0daj3mkzw79v5zin2r1s2wkrz1hplfc16bwj4ss68i5qjq4l2p0j"))))
|
"1b28j265kvibgxrgxx0gwfm6cmv252c8ph1j2vb0cpms8ph5if5v"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
|
@ -16091,22 +16091,10 @@ (define-public python-apache-libcloud
|
||||||
#t))
|
#t))
|
||||||
(add-after 'unpack 'patch-tests
|
(add-after 'unpack 'patch-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "./libcloud/test/test_file_fixtures.py"
|
|
||||||
;; See <https://issues.apache.org/jira/browse/LIBCLOUD-923>.
|
|
||||||
(("def _ascii") "def _raw_data(self, method, url, body, headers):
|
|
||||||
return (httplib.OK,
|
|
||||||
\"1234abcd\",
|
|
||||||
{\"test\": \"value\"},
|
|
||||||
httplib.responses[httplib.OK])
|
|
||||||
def _ascii"))
|
|
||||||
(substitute* "libcloud/test/compute/test_ssh_client.py"
|
(substitute* "libcloud/test/compute/test_ssh_client.py"
|
||||||
(("class ShellOutSSHClientTests")
|
(("class ShellOutSSHClientTests")
|
||||||
"@unittest.skip(\"Guix container doesn't have ssh service\")
|
"@unittest.skip(\"Guix container doesn't have ssh service\")
|
||||||
class ShellOutSSHClientTests")
|
class ShellOutSSHClientTests"))
|
||||||
;; See <https://issues.apache.org/jira/browse/LIBCLOUD-924>.
|
|
||||||
(("'.xf0.x90.x8d.x88'") "b'\\xF0\\x90\\x8D\\x88'")
|
|
||||||
(("'.xF0', '.x90', '.x8D', '.x88'")
|
|
||||||
"b'\\xF0', b'\\x90', b'\\x8D', b'\\x88'"))
|
|
||||||
#t))
|
#t))
|
||||||
(add-before 'check 'copy-secret
|
(add-before 'check 'copy-secret
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue