gnu: python-stevedore: Update to 5.4.1.

* gnu/packages/openstack.scm (python-stevedore): Update to 5.4.1.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Remove 'use-pbr-3, add 'relax-requirements and
'check replacement.
[native-inputs]: Add python-coverage, python-setuptools,
python-sphinx, python-stestr, python-wheel.

Change-Id: I03d5ca986db923ceabe007d45448d60a9650efc1
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-07-24 03:56:59 +02:00 committed by Sharlatan Hellseher
parent 808e3ebc59
commit f1abe31677
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -346,28 +346,35 @@ is for some reason not possible and local caching of the fetched data.")
(define-public python-stevedore (define-public python-stevedore
(package (package
(name "python-stevedore") (name "python-stevedore")
(version "3.2.2") (version "5.4.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "stevedore" version)) (uri (pypi-uri "stevedore" version))
(sha256 (sha256
(base32 (base32
"1w11lm293afzb73iq0ba9wnmr2rjwymnhr92km4a4xrs7a5qcigq")))) "0jvgrn2mk7psrgly61k16p6pywnb191gzfliy9p824pya2pbad9i"))))
(build-system python-build-system) (build-system pyproject-build-system)
(arguments (arguments
;; The tests are disabled to avoid a circular dependency with (list
;; python-stestr.
`(#:tests? #f
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'use-pbr-3 (add-after 'unpack 'relax-requirements
(lambda _ (lambda _
(substitute* '("setup.py" (substitute* "test-requirements.txt"
"requirements.txt") (("sphinx.*")
(("pbr!=2.1.0,>=2.0.0") "pbr>=3.0.0"))))))) "sphinx\n"))))
(propagated-inputs (replace 'check
(list python-pbr)) (lambda* (#:key tests? test-flags #:allow-other-keys)
(when tests?
(apply invoke "stestr" "run" test-flags)))))))
(propagated-inputs (list python-pbr))
(native-inputs
(list python-coverage
python-setuptools
python-sphinx
python-stestr
python-wheel))
(home-page "https://github.com/dreamhost/stevedore") (home-page "https://github.com/dreamhost/stevedore")
(synopsis "Manage dynamic plugins for Python applications") (synopsis "Manage dynamic plugins for Python applications")
(description (description