gnu: Remove python2-requests.

* gnu/packages/python-web.scm (python2-requests): Delete variable.
This commit is contained in:
Maxim Cournoyer 2022-05-01 02:47:04 -04:00
parent 2d51db54bd
commit 7720afd99a
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -2723,17 +2723,7 @@ (define-public python-requests
(description
"Requests is a Python HTTP client library. It aims to be easier to use
than Pythons urllib2 library.")
(license license:asl2.0)
(properties `((python2-variant . ,(delay python2-requests))))))
(define-public python2-requests
(let ((base (package-with-python2 (strip-python2-variant python-requests))))
(package
(inherit base)
;; The python-charset-normalizer dependency is necessary on Python 3
;; only.
(propagated-inputs (modify-inputs (package-propagated-inputs base)
(delete "python-charset-normalizer"))))))
(license license:asl2.0)))
(define-public python-requests-unixsocket
(package