gnu: ansible: update to 2.5.7

* gnu/packages/admin.scm (ansible): Update to 2.5.7.
[arguments, native-inputs, inputs]: Use Python 3.
[native-inputs, inputs]: Replace python-pycrypto with python-cryptography.

Co-authored-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Kenny Ballou 2018-07-30 13:17:30 -06:00 committed by Leo Famulari
parent 19006c9231
commit 504e26ed32
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 15 additions and 18 deletions

View File

@ -1573,34 +1573,31 @@ of supported upstream metrics systems simultaneously.")
(define-public ansible (define-public ansible
(package (package
(name "ansible") (name "ansible")
(version "2.4.2.0") (version "2.5.7")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "ansible" version)) (uri (pypi-uri "ansible" version))
(sha256 (sha256
(base32 (base32
"0n3n9py4s3aykiii31xq8g4wmd6693jvby0424pjrg0bna01apri")) "0wbsjjx3xjlm8g50a9j9c6p9rn23jx32yn1234bf5rmj1qgy3p85"))
(patches (search-patches "ansible-wrap-program-hack.patch")))) (patches (search-patches "ansible-wrap-program-hack.patch"))))
(build-system python-build-system) (build-system python-build-system)
(native-inputs (native-inputs
`(("python2-bcrypt" ,python2-bcrypt) `(("python-bcrypt" ,python-bcrypt)
("python2-pycrypto" ,python2-pycrypto) ("python-pynacl" ,python-pynacl)
("python2-pynacl" ,python2-pynacl) ("python-httplib2" ,python-httplib2)
("python2-httplib2" ,python2-httplib2) ("python-passlib" ,python-passlib)
("python2-passlib" ,python2-passlib) ("python-nose" ,python-nose)
("python2-nose" ,python2-nose) ("python-mock" ,python-mock)
("python2-mock" ,python2-mock) ("python-jinja2" ,python-jinja2)
("python2-jinja2" ,python2-jinja2) ("python-pyyaml" ,python-pyyaml)
("python2-pyyaml" ,python2-pyyaml) ("python-paramiko" ,python-paramiko)))
("python2-paramiko" ,python2-paramiko)))
(inputs (inputs
`(("python2-pycrypto" ,python2-pycrypto) `(("python-cryptography" ,python-cryptography)
("python2-jinja2" ,python2-jinja2) ("python-jinja2" ,python-jinja2)
("python2-pyyaml" ,python2-pyyaml) ("python-pyyaml" ,python-pyyaml)
("python2-paramiko" ,python2-paramiko))) ("python-paramiko" ,python-paramiko)))
(arguments
`(#:python ,python-2)) ; incompatible with Python 3
(home-page "https://www.ansible.com/") (home-page "https://www.ansible.com/")
(synopsis "Radically simple IT automation") (synopsis "Radically simple IT automation")
(description "Ansible is a radically simple IT automation system. It (description "Ansible is a radically simple IT automation system. It