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