~ruther/guix-local

822566984a34a0d37ead11732cb69390b787f6be — Nicolas Graves 2 months ago 71c2b91
gnu: python-ndg-httpsclient: Switch to pyproject.

* gnu/packages/python-web.scm (python-ndg-httpsclient):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: I5570ba9e5efc0abc652a25b24a89ac9f8477c8a0
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 19 insertions(+), 15 deletions(-)

M gnu/packages/python-web.scm
M gnu/packages/python-web.scm => gnu/packages/python-web.scm +19 -15
@@ 6217,23 6217,27 @@ deprecation warnings to be issued when a variable is used.")
  (package
    (name "python-ndg-httpsclient")
    (version "0.5.1")
    (source (origin
              (method url-fetch)
              (uri (pypi-uri "ndg_httpsclient" version))
              (sha256
                (base32
                  "0412b7i1s4vj7lz9r72nmb28h9syd4q2x89bdirkkc3a6z8awbyp"))))
    (build-system python-build-system)
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/cedadev/ndg_httpsclient/")
             (commit version)))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz"))))
    (build-system pyproject-build-system)
    (arguments
     '(;; The tests appear to require networking.
       #:tests? #f))
    (propagated-inputs
     (list python-pyasn1 python-pyopenssl))
     (list
      #:tests? #f)) ;Tests appear to require networking.
    (native-inputs (list python-setuptools))
    (propagated-inputs (list python-pyasn1 python-pyopenssl))
    (synopsis "HTTPS support for Python's httplib and urllib2")
    (description "This is a HTTPS client implementation for httplib and urllib2
based on PyOpenSSL.  PyOpenSSL provides a more fully-featured SSL implementation
over the default provided with Python and, importantly, enables full
verification of the SSL peer.")
    (description
     "This is a HTTPS client implementation for httplib and urllib2 based on
PyOpenSSL.  PyOpenSSL provides a more fully-featured SSL implementation over
the default provided with Python and, importantly, enables full verification
of the SSL peer.")
    (home-page "https://github.com/cedadev/ndg_httpsclient/")
    (license license:bsd-3)))