mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-oslo-serialization: Switch to pyproject.
* gnu/packages/openstack.scm (python-oslo-serialization): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Refresh 'check phase replacement. [native-inputs]: Replace python-oslotest by its -bootstrap variant. Replace python-oslo-i18n by its -bootstrap variant. Change-Id: I87cbdf0c186ce6f3b25643b0bd476fe79d98f978 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
c84a67e449
commit
42f8657a9f
1 changed files with 9 additions and 6 deletions
|
@ -803,16 +803,19 @@ handlers and support for context specific logging (like resource id’s etc).")
|
|||
(base32 "1rrvdhv82gklj45z6xs1h4l51jcz8fmdjijya2rkj1mqjzfx7i5x"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
'(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests? (invoke "stestr" "run")))))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "stestr" "run" test-flags)))))))
|
||||
(propagated-inputs
|
||||
(list python-msgpack python-oslo-utils python-tzdata))
|
||||
(native-inputs
|
||||
(list python-netaddr
|
||||
python-oslo-i18n
|
||||
python-oslotest
|
||||
python-oslo-i18n-bootstrap
|
||||
python-oslotest-bootstrap
|
||||
python-setuptools
|
||||
python-stestr
|
||||
python-wheel))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue