gnu: python-urllib3: Adjust dependencies per architecture.
* gnu/packages/python-web.scm (python-urllib3)[propagated-inputs]: Only include python-cryptography, python-pyopenssl on architectures where they are supported.
This commit is contained in:
parent
8b3ae46ae3
commit
676f608546
1 changed files with 13 additions and 6 deletions
|
@ -3404,12 +3404,19 @@ addon for removing tracking fields from URLs.")
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments `(#:tests? #f))
|
(arguments `(#:tests? #f))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list ;; These 5 inputs are used to build urrlib3[secure]
|
(append
|
||||||
python-certifi
|
;; These 5 inputs are used to build urrlib3[secure]
|
||||||
python-cryptography
|
(list python-certifi)
|
||||||
python-idna
|
(if (member (%current-system)
|
||||||
python-pyopenssl
|
(package-transitive-supported-systems python-cryptography))
|
||||||
python-pysocks))
|
(list python-cryptography)
|
||||||
|
'())
|
||||||
|
(list python-idna)
|
||||||
|
(if (member (%current-system)
|
||||||
|
(package-transitive-supported-systems python-pyopenssl))
|
||||||
|
(list python-pyopenssl)
|
||||||
|
'())
|
||||||
|
(list python-pysocks)))
|
||||||
(home-page "https://urllib3.readthedocs.io/")
|
(home-page "https://urllib3.readthedocs.io/")
|
||||||
(synopsis "HTTP library with thread-safe connection pooling")
|
(synopsis "HTTP library with thread-safe connection pooling")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in a new issue