gnu: python-cryptography: Update to 1.8.2.

* gnu/packages/python.scm (python-cryptography, python2-cryptography,
python-cryptography-vectors, python2-cryptography-vectors):
Update to 1.8.2.
(python-cryptography, python2-cryptography)[propagated-inputs]: Add
python-asn1crypto and python-packaging. Remove python-pyasn1.
[native-inputs]: Remove python-pyasn1 and python-pyasn1-modules.
This commit is contained in:
Leo Famulari 2017-05-11 18:27:27 -04:00
parent c0f5b80295
commit dc1bd2b560
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 13 additions and 8 deletions

View File

@ -65,6 +65,7 @@
#:use-module (gnu packages backup) #:use-module (gnu packages backup)
#:use-module (gnu packages bash) #:use-module (gnu packages bash)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases) #:use-module (gnu packages databases)
#:use-module (gnu packages django) #:use-module (gnu packages django)
#:use-module (gnu packages file) #:use-module (gnu packages file)
@ -7332,14 +7333,14 @@ responses, rather than doing any computation.")
(define-public python-cryptography-vectors (define-public python-cryptography-vectors
(package (package
(name "python-cryptography-vectors") (name "python-cryptography-vectors")
(version "1.7.1") (version "1.8.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "cryptography_vectors" version)) (uri (pypi-uri "cryptography_vectors" version))
(sha256 (sha256
(base32 (base32
"1x2mz4wggja5ih45c6cw0kzyad4jr8avg327dawjr1gnpdq1psa7")))) "0hzvq0bfy21bc35p8z7zdxpv3hbvi7adg4axc1b5yd3hk16a1nh0"))))
(build-system python-build-system) (build-system python-build-system)
(home-page "https://github.com/pyca/cryptography") (home-page "https://github.com/pyca/cryptography")
(synopsis "Test vectors for the cryptography package") (synopsis "Test vectors for the cryptography package")
@ -7354,29 +7355,33 @@ responses, rather than doing any computation.")
(define-public python-cryptography (define-public python-cryptography
(package (package
(name "python-cryptography") (name "python-cryptography")
(version "1.7.1") (version "1.8.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "cryptography" version)) (uri (pypi-uri "cryptography" version))
(sha256 (sha256
(base32 (base32
"0k6v7wq4h0yk9r0x0bl2x9fyrg4a6gj5qp4m9mgpk6m481yyygwm")))) "1nmy4fw3zy7rlvarkhn33g9905rwpy9z7k5kv8j80f0s6ynfp24f"))))
(build-system python-build-system) (build-system python-build-system)
(inputs (inputs
`(("openssl" ,openssl))) `(("openssl" ,openssl)))
(propagated-inputs (propagated-inputs
`(("python-cffi" ,python-cffi) `(("python-asn1crypto" ,python-asn1crypto)
("python-cffi" ,python-cffi)
("python-six" ,python-six) ("python-six" ,python-six)
("python-pyasn1" ,python-pyasn1)
("python-idna" ,python-idna) ("python-idna" ,python-idna)
;; Packaging is used to check the version of python-cffi in
;; 'src/cryptography/hazmat/primitives/ciphers/base.py'. We should be
;; able to remove this dependency in the next release of cryptography:
;; python-cryptography:
;; https://github.com/pyca/cryptography/commit/0417d00d9ff1e19bc3ab67d39bdd18e1674768c1
("python-packaging" ,python-packaging)
("python-iso8601" ,python-iso8601))) ("python-iso8601" ,python-iso8601)))
(native-inputs (native-inputs
`(("python-cryptography-vectors" ,python-cryptography-vectors) `(("python-cryptography-vectors" ,python-cryptography-vectors)
("python-hypothesis" ,python-hypothesis) ("python-hypothesis" ,python-hypothesis)
("python-pretend" ,python-pretend) ("python-pretend" ,python-pretend)
("python-pyasn1" ,python-pyasn1)
("python-pyasn1-modules" ,python-pyasn1-modules)
("python-pytz" ,python-pytz) ("python-pytz" ,python-pytz)
("python-pytest" ,python-pytest-3.0))) ("python-pytest" ,python-pytest-3.0)))
(home-page "https://github.com/pyca/cryptography") (home-page "https://github.com/pyca/cryptography")