summaryrefslogtreecommitdiff
path: root/gnu/packages/openstack.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-24 03:56:59 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-27 00:25:51 +0100
commitf1abe316770ad43f65cf5d79a490a97749388256 (patch)
treea55f470df8b2fab30aba64b56ba5111ab6024a7b /gnu/packages/openstack.scm
parent808e3ebc596427ac008d68ddc0121fe8ff6ffa53 (diff)
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>
Diffstat (limited to 'gnu/packages/openstack.scm')
-rw-r--r--gnu/packages/openstack.scm39
1 files changed, 23 insertions, 16 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm
index 017372310cf..257dde4d575 100644
--- a/gnu/packages/openstack.scm
+++ b/gnu/packages/openstack.scm
@@ -346,32 +346,39 @@ is for some reason not possible and local caching of the fetched data.")
346(define-public python-stevedore 346(define-public python-stevedore
347 (package 347 (package
348 (name "python-stevedore") 348 (name "python-stevedore")
349 (version "3.2.2") 349 (version "5.4.1")
350 (source 350 (source
351 (origin 351 (origin
352 (method url-fetch) 352 (method url-fetch)
353 (uri (pypi-uri "stevedore" version)) 353 (uri (pypi-uri "stevedore" version))
354 (sha256 354 (sha256
355 (base32 355 (base32
356 "1w11lm293afzb73iq0ba9wnmr2rjwymnhr92km4a4xrs7a5qcigq")))) 356 "0jvgrn2mk7psrgly61k16p6pywnb191gzfliy9p824pya2pbad9i"))))
357 (build-system python-build-system) 357 (build-system pyproject-build-system)
358 (arguments 358 (arguments
359 ;; The tests are disabled to avoid a circular dependency with 359 (list
360 ;; python-stestr. 360 #:phases
361 `(#:tests? #f 361 #~(modify-phases %standard-phases
362 #:phases 362 (add-after 'unpack 'relax-requirements
363 (modify-phases %standard-phases 363 (lambda _
364 (add-after 'unpack 'use-pbr-3 364 (substitute* "test-requirements.txt"
365 (lambda _ 365 (("sphinx.*")
366 (substitute* '("setup.py" 366 "sphinx\n"))))
367 "requirements.txt") 367 (replace 'check
368 (("pbr!=2.1.0,>=2.0.0") "pbr>=3.0.0"))))))) 368 (lambda* (#:key tests? test-flags #:allow-other-keys)
369 (propagated-inputs 369 (when tests?
370 (list python-pbr)) 370 (apply invoke "stestr" "run" test-flags)))))))
371 (propagated-inputs (list python-pbr))
372 (native-inputs
373 (list python-coverage
374 python-setuptools
375 python-sphinx
376 python-stestr
377 python-wheel))
371 (home-page "https://github.com/dreamhost/stevedore") 378 (home-page "https://github.com/dreamhost/stevedore")
372 (synopsis "Manage dynamic plugins for Python applications") 379 (synopsis "Manage dynamic plugins for Python applications")
373 (description 380 (description
374 "Python makes loading code dynamically easy, allowing you to configure 381 "Python makes loading code dynamically easy, allowing you to configure
375and extend your application by discovering and loading extensions (\"plugins\") 382and extend your application by discovering and loading extensions (\"plugins\")
376at runtime. Many applications implement their own library for doing this, 383at runtime. Many applications implement their own library for doing this,
377using __import__ or importlib. Stevedore avoids creating yet another extension 384using __import__ or importlib. Stevedore avoids creating yet another extension