gnu: python-launchpadlib: Update to 2.1.0.

* gnu/packages/python-web.scm (python-launchpadlib): Update to 2.1.0.
[build-system]: Switch to pyproject-build-system.
[propagated-inputs]: Remove python-keyring.
[native-inputs]: Add python-setuptools, python-wheel. Replace
python-mock by python-pytest.
[home-page]: Refresh.

Change-Id: If64e97b0a3a98757683e02c30992d688dfa12074
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-31 22:19:15 +02:00 committed by Sharlatan Hellseher
parent 406592b117
commit d7d35b6b75
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -976,14 +976,14 @@ adds functionality on top of @code{wadlib}.")
(define-public python-launchpadlib (define-public python-launchpadlib
(package (package
(name "python-launchpadlib") (name "python-launchpadlib")
(version "1.10.16") (version "2.1.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "launchpadlib" version)) (uri (pypi-uri "launchpadlib" version))
(sha256 (sha256
(base32 "106aixwchwyb100wlf4cnj1vgsi2d7x40ps8xv8az27r6qwv3x0d")))) (base32 "0br4j76l83lvyrhm8psml9cqmdsn65rx48w1q1a0s1bmpf85ihml"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
(list #:phases #~(modify-phases %standard-phases (list #:phases #~(modify-phases %standard-phases
(add-before 'check 'set-home (add-before 'check 'set-home
@ -991,12 +991,10 @@ adds functionality on top of @code{wadlib}.")
;; Tests require a writable home. ;; Tests require a writable home.
(setenv "HOME" "/tmp")))))) (setenv "HOME" "/tmp"))))))
(propagated-inputs (propagated-inputs
(list python-httplib2 (list python-httplib2 python-lazr-restfulclient python-lazr-uri))
python-keyring (native-inputs (list python-pytest python-testresources python-wadllib
python-lazr-restfulclient python-setuptools python-wheel))
python-lazr-uri)) (home-page "https://documentation.ubuntu.com/launchpad")
(native-inputs (list python-mock python-testresources python-wadllib))
(home-page "https://help.launchpad.net/API/launchpadlib")
(synopsis "Python client library for Launchpad's web service") (synopsis "Python client library for Launchpad's web service")
(description "@code{launchpadlib} is a Python library that allows (description "@code{launchpadlib} is a Python library that allows
scripting Launchpad via its the web service API.") scripting Launchpad via its the web service API.")