gnu: python-swiftclient: Update to 4.8.0.

* gnu/packages/openstack.scm (python-swiftclient): Update to 4.8.0.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Refresh them.
[native-inputs]: Add python-pbr, python-setuptools, python-wheel.

Change-Id: I06871ddd79035e953ef30bd3fc8d9466509ca70d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-24 04:26:26 +02:00 committed by Sharlatan Hellseher
parent 5837d65acd
commit 7c9ea452b0
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1134,29 +1134,33 @@ LDAP.")
(define-public python-swiftclient (define-public python-swiftclient
(package (package
(name "python-swiftclient") (name "python-swiftclient")
(version "4.0.1") (version "4.8.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "python-swiftclient" version)) (uri (pypi-uri "python_swiftclient" version))
(sha256 (sha256
(base32 (base32 "0qrq9fdcmqhg1374hsj58hddpfd2jm78q32yqbywls4k8smjq5j4"))))
"1zwb4zcln454fzcnbwqhyzxb68wrsr1i2vvvrn5c7yy5k4vcfs1v")))) (build-system pyproject-build-system)
(build-system python-build-system)
(arguments (arguments
'(#:phases (modify-phases %standard-phases (list
(add-before 'check 'relax-requirements #:phases
(lambda _ #~(modify-phases %standard-phases
(delete-file "test-requirements.txt"))) (add-before 'check 'relax-requirements
(replace 'check (lambda _
(lambda* (#:key tests? #:allow-other-keys) (delete-file "test-requirements.txt")))
(when tests? (replace 'check
(invoke "stestr" "run"))))))) (lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(apply invoke "stestr" "run" test-flags)))))))
(native-inputs (native-inputs
(list python-keystoneclient (list python-keystoneauth1
python-keystoneauth1 python-keystoneclient
python-openstacksdk python-openstacksdk
python-stestr)) python-pbr
python-setuptools
python-stestr
python-wheel))
(propagated-inputs (propagated-inputs
(list python-requests)) (list python-requests))
(home-page "https://www.openstack.org/") (home-page "https://www.openstack.org/")