diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-23 18:43:29 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-28 21:36:59 +0000 |
| commit | 9c686b3c5bbc0c118eae592ad5d67e74bc1ffe31 (patch) | |
| tree | 7467ba35a63d33b678fc0aecc301afdbe2d56bfb /gnu | |
| parent | c53faa72841a906778b4496ca7cd91e9fcb7b632 (diff) | |
gnu: python-wsgiprox: Switch to pyproject.
* gnu/packages/python-web.scm (python-wsgiprox):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style.
[native-inputs]: Add python-setuptools.
Change-Id: I024bba1faee968ed077bcfbf8abeb297ecce9280
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-web.scm | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 43a95387f29..4be987aaa09 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -9958,31 +9958,32 @@ Plus all the standard features of requests: (method url-fetch) (uri (pypi-uri "wsgiprox" version)) (sha256 - (base32 - "11fsm199pvwbmqx2lccznvws65aam1rqqv0w79gal8hispwgd5rs")))) - (build-system python-build-system) + (base32 "11fsm199pvwbmqx2lccznvws65aam1rqqv0w79gal8hispwgd5rs")))) + (build-system pyproject-build-system) (arguments ;; The test suite hangs (see: ;; https://github.com/webrecorder/wsgiprox/issues/6). - `(#:tests? #f - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-pytest-argument - (lambda _ - ;; See: https://github.com/webrecorder/wsgiprox/issues/7. - (substitute* "setup.py" - (("--doctest-module") - "--doctest-modules"))))))) + (list + #:tests? #f + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-pytest-argument + (lambda _ + ;; See: https://github.com/webrecorder/wsgiprox/issues/7. + (substitute* "setup.py" + (("--doctest-module") + "--doctest-modules"))))))) (propagated-inputs (list python-certauth python-gevent python-websocket-client)) (native-inputs - (list python-mock python-pytest-cov python-waitress)) + (list python-mock python-pytest-cov python-waitress python-setuptools)) (home-page "https://github.com/webrecorder/wsgiprox") (synopsis "HTTP/S proxy with WebSockets over WSGI") - (description "@code{wsgiprox} is a Python WSGI (Web Server Gateway -Interface) middle-ware for adding HTTP and HTTPS proxy support to a WSGI -application. The library accepts HTTP and HTTPS proxy connections, and routes -them to a designated prefix.") + (description + "@code{wsgiprox} is a Python WSGI (Web Server Gateway Interface) +middle-ware for adding HTTP and HTTPS proxy support to a WSGI application. +The library accepts HTTP and HTTPS proxy connections, and routes them to a +designated prefix.") (license license:asl2.0))) (define-public python-warcio |
