mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: python-urllib3: Remove unused input.
* gnu/packages/python-web.scm (python-urllib3)[propagated-inputs]: Remove PYTHON-IPADDRESS. [properties]: New field. (python2-urllib3)[propagated-inputs]: Add PYTHON2-IPADDRESS.
This commit is contained in:
parent
906eaf8cf7
commit
97849d6762
1 changed files with 7 additions and 2 deletions
|
@ -1691,7 +1691,6 @@ (define-public python-urllib3
|
|||
("python-certifi" ,python-certifi)
|
||||
("python-cryptography" ,python-cryptography)
|
||||
("python-idna" ,python-idna)
|
||||
("python-ipaddress" ,python-ipaddress)
|
||||
("python-pyopenssl" ,python-pyopenssl)
|
||||
("python-pysocks" ,python-pysocks)))
|
||||
(home-page "https://urllib3.readthedocs.io/")
|
||||
|
@ -1700,6 +1699,7 @@ (define-public python-urllib3
|
|||
"Urllib3 supports features left out of urllib and urllib2 libraries. It
|
||||
can reuse the same socket connection for multiple requests, it can POST files,
|
||||
supports url redirection and retries, and also gzip and deflate decoding.")
|
||||
(properties `((python2-variant . ,(delay python2-urllib3))))
|
||||
(license license:expat)))
|
||||
|
||||
;; Some software requires an older version of urllib3, notably Docker.
|
||||
|
@ -1715,7 +1715,12 @@ (define-public python-urllib3-1.24
|
|||
|
||||
|
||||
(define-public python2-urllib3
|
||||
(package-with-python2 python-urllib3))
|
||||
(let ((base (package-with-python2 (strip-python2-variant python-urllib3))))
|
||||
(package/inherit
|
||||
base
|
||||
(propagated-inputs
|
||||
`(("python-ipaddress" ,python2-ipaddress)
|
||||
,@(package-propagated-inputs base))))))
|
||||
|
||||
(define-public awscli
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue