diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-11-30 09:02:24 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-04 21:03:15 +0000 |
| commit | 822566984a34a0d37ead11732cb69390b787f6be (patch) | |
| tree | 535d4552c1a668675fc1a4e8aad9130f5fbd8e48 /gnu/packages/python-web.scm | |
| parent | 71c2b91ec44d5e281f53682565d7e25d2c4d275f (diff) | |
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>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 34 |
1 files changed, 19 insertions, 15 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 10249a9343d..12061ac00b7 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -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))) |
