mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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:
parent
808e3ebc59
commit
f1abe31677
1 changed files with 23 additions and 16 deletions
|
@ -346,32 +346,39 @@ 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.
|
#:phases
|
||||||
`(#:tests? #f
|
#~(modify-phases %standard-phases
|
||||||
#:phases
|
(add-after 'unpack 'relax-requirements
|
||||||
(modify-phases %standard-phases
|
(lambda _
|
||||||
(add-after 'unpack 'use-pbr-3
|
(substitute* "test-requirements.txt"
|
||||||
(lambda _
|
(("sphinx.*")
|
||||||
(substitute* '("setup.py"
|
"sphinx\n"))))
|
||||||
"requirements.txt")
|
(replace 'check
|
||||||
(("pbr!=2.1.0,>=2.0.0") "pbr>=3.0.0")))))))
|
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||||
(propagated-inputs
|
(when tests?
|
||||||
(list python-pbr))
|
(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
|
||||||
"Python makes loading code dynamically easy, allowing you to configure
|
"Python makes loading code dynamically easy, allowing you to configure
|
||||||
and extend your application by discovering and loading extensions (\"plugins\")
|
and extend your application by discovering and loading extensions (\"plugins\")
|
||||||
at runtime. Many applications implement their own library for doing this,
|
at runtime. Many applications implement their own library for doing this,
|
||||||
using __import__ or importlib. Stevedore avoids creating yet another extension
|
using __import__ or importlib. Stevedore avoids creating yet another extension
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue