diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-22 00:16:44 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-23 16:24:25 +0100 |
| commit | cc8a580027ef4caecc3d2e76b870598f7e988d9b (patch) | |
| tree | 5e6cae4a6b8dac7e79fa882f7b6fcf61a1da81ee /gnu/packages/python-web.scm | |
| parent | 688b953153edfe593da505c69c81f619a8f620a6 (diff) | |
gnu: python-lazr-restfulclient: Update to 0.14.6.
* gnu/packages/python-web.scm (python-lazr-restfulclient): Update to 0.14.6.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Remove it (enable them).
<#:phases>: Add phase 'remove-some-tests.
[native-inputs]: Add python-setuptools, python-testtools,
python-wheel, python-wsgi-intercept, python-zope-testrunner.
[propagated-inputs]: Drop python-six.
Change-Id: If4c547908e730ab88b354c9fb571a02ee954a1bb
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 2768ea77d1e..7f7e841dc52 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm | |||
| @@ -898,24 +898,38 @@ datasets and other repos on the @url{huggingface.co} hub.") | |||
| 898 | (define-public python-lazr-restfulclient | 898 | (define-public python-lazr-restfulclient |
| 899 | (package | 899 | (package |
| 900 | (name "python-lazr-restfulclient") | 900 | (name "python-lazr-restfulclient") |
| 901 | (version "0.14.4") | 901 | (version "0.14.6") |
| 902 | (source | 902 | (source |
| 903 | (origin | 903 | (origin |
| 904 | (method url-fetch) | 904 | (method url-fetch) |
| 905 | (uri (pypi-uri "lazr.restfulclient" version)) | 905 | (uri (pypi-uri "lazr.restfulclient" version)) |
| 906 | (sha256 | 906 | (sha256 |
| 907 | (base32 "11yhlqmdf2cqbdfzn8gdmzvmcivh4fflr18zf412sflvfjrdc3xz")))) | 907 | (base32 "1nzzmp9aaaxh25jy3wm71cpf9dfw56s4g303c8a3nij874fjmwa3")))) |
| 908 | (build-system python-build-system) | 908 | (build-system pyproject-build-system) |
| 909 | ;; Disable the test suite to avoid the lazr.authentication requirement, | 909 | (arguments |
| 910 | ;; which requires the ancient 'oauth', a Python 2 only library. | 910 | (list |
| 911 | (arguments (list #:tests? #f)) | 911 | #:phases |
| 912 | (propagated-inputs | 912 | #~(modify-phases %standard-phases |
| 913 | (list python-distro | 913 | ;; Disable part of the test suite to avoid the lazr.authentication |
| 914 | python-httplib2 | 914 | ;; requirement, which requires 'oauth', a Python 2 only library. |
| 915 | python-oauthlib | 915 | (add-after 'unpack 'remove-some-checks |
| 916 | python-pyparsing | 916 | (lambda _ |
| 917 | python-six | 917 | (with-directory-excursion "src/lazr/restfulclient/tests" |
| 918 | python-wadllib)) | 918 | (for-each delete-file '("test_oauth.py" "test_docs.py"))) |
| 919 | (substitute* "setup.py" | ||
| 920 | (("\"(oauth|lazr\\.(authentication|restful>=0\\.11\\.0))\",") | ||
| 921 | ""))))))) | ||
| 922 | (native-inputs (list python-setuptools | ||
| 923 | python-testtools | ||
| 924 | python-wheel | ||
| 925 | python-wsgi-intercept | ||
| 926 | python-zope-testrunner)) | ||
| 927 | (propagated-inputs (list python-distro | ||
| 928 | python-httplib2 | ||
| 929 | python-oauthlib | ||
| 930 | python-pyparsing | ||
| 931 | python-setuptools | ||
| 932 | python-wadllib)) | ||
| 919 | (home-page "https://launchpad.net/lazr.restfulclient") | 933 | (home-page "https://launchpad.net/lazr.restfulclient") |
| 920 | (synopsis "Web client Python library extending wadlib") | 934 | (synopsis "Web client Python library extending wadlib") |
| 921 | (description "This package provides a programmable client library that | 935 | (description "This package provides a programmable client library that |
