~ruther/guix-local

eaa6f0d3516485e40dfc2507baedcb41daadcb5a — Sharlatan Hellseher 1 year, 3 months ago a365261
gnu: python-requests-next: Inherit from python-requests.

* gnu/packages/python-web.scm (python-requests-next): Inherit from
python-requests.
[arguments] <tests?>: Enable them as all passed successfully.

Change-Id: Ic0d985f819444e0b01a843da94d874d16a742fb6
1 files changed, 10 insertions(+), 23 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +10 -23
@@ 4530,31 4530,18 @@ than Python’s urllib2 library.")

(define-public python-requests-next
  (package
    (inherit python-requests)
    (name "python-requests")
    (version "2.32.3")
    (source (origin
             (method url-fetch)
             (uri (pypi-uri "requests" version))
             (sha256
              (base32
               "0q5742pnibwy74169kacin3dmqg9jzmzk7qab5aq5caffcbm8djm"))))
    (build-system python-build-system)
    (native-inputs
     (list nss-certs-for-test))
    (propagated-inputs
     (list python-certifi
           python-charset-normalizer
           python-idna
           python-urllib3))
    (arguments
     ;; FIXME: Some tests require network access.
     '(#:tests? #f))
    (home-page "http://python-requests.org/")
    (synopsis "Python HTTP library")
    (description
     "Requests is a Python HTTP client library.  It aims to be easier to use
than Python’s urllib2 library.")
    (license license:asl2.0)))
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "requests" version))
       (sha256
        (base32 "0q5742pnibwy74169kacin3dmqg9jzmzk7qab5aq5caffcbm8djm"))))
     (native-inputs
      (modify-inputs (package-native-inputs python-requests)
        (prepend nss-certs-for-test)))))

(define-public python-requests-kerberos
  (package