gnu: Remove python2-cryptography.
* gnu/packages/python-crypto.scm (python2-cryptography): Delete variable. (python-cryptography)[properties]: Delete field.
This commit is contained in:
		
							parent
							
								
									5df79d1ea8
								
							
						
					
					
						commit
						9c74e5d566
					
				
					 1 changed files with 1 additions and 20 deletions
				
			
		| 
						 | 
					@ -488,26 +488,7 @@ library” for Python.  The package includes both high level recipes, and low
 | 
				
			||||||
level interfaces to common cryptographic algorithms such as symmetric ciphers,
 | 
					level interfaces to common cryptographic algorithms such as symmetric ciphers,
 | 
				
			||||||
message digests and key derivation functions.")
 | 
					message digests and key derivation functions.")
 | 
				
			||||||
    ;; Distributed under either BSD-3 or ASL2.0
 | 
					    ;; Distributed under either BSD-3 or ASL2.0
 | 
				
			||||||
    (license (list license:bsd-3 license:asl2.0))
 | 
					    (license (list license:bsd-3 license:asl2.0))))
 | 
				
			||||||
    (properties `((python2-variant . ,(delay python2-cryptography))))))
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(define-public python2-cryptography
 | 
					 | 
				
			||||||
  (let ((crypto (package-with-python2
 | 
					 | 
				
			||||||
                 (strip-python2-variant python-cryptography))))
 | 
					 | 
				
			||||||
    (package/inherit crypto
 | 
					 | 
				
			||||||
      (arguments
 | 
					 | 
				
			||||||
       `(#:python ,python-2
 | 
					 | 
				
			||||||
         #:phases
 | 
					 | 
				
			||||||
         (modify-phases %standard-phases
 | 
					 | 
				
			||||||
           ;; The sanity-check attempts attempts to import the non-existent
 | 
					 | 
				
			||||||
           ;; modules "_openssl" and "_padding".
 | 
					 | 
				
			||||||
           (delete 'sanity-check))))
 | 
					 | 
				
			||||||
      (propagated-inputs
 | 
					 | 
				
			||||||
       `(("python2-ipaddress" ,python2-ipaddress)
 | 
					 | 
				
			||||||
         ("python2-backport-ssl-match-hostname"
 | 
					 | 
				
			||||||
          ,python2-backport-ssl-match-hostname)
 | 
					 | 
				
			||||||
         ("python2-enum34" ,python2-enum34)
 | 
					 | 
				
			||||||
         ,@(package-propagated-inputs crypto))))))
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
;; TODO: Make this the default in the next staging cycle.
 | 
					;; TODO: Make this the default in the next staging cycle.
 | 
				
			||||||
(define-public python-cryptography-vectors-next
 | 
					(define-public python-cryptography-vectors-next
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue