diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-24 04:14:18 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-27 00:25:52 +0100 |
| commit | 42f8657a9f52e70130608cfb0e382cd3883b3b91 (patch) | |
| tree | d99e148a703b13d20c77b5454cc5e74f8a016115 | |
| parent | c84a67e449dd70cfd53b5d0776004a30d9f21d59 (diff) | |
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>
| -rw-r--r-- | gnu/packages/openstack.scm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/gnu/packages/openstack.scm b/gnu/packages/openstack.scm index 768f455b520..a4ba8be3e44 100644 --- a/gnu/packages/openstack.scm +++ b/gnu/packages/openstack.scm | |||
| @@ -803,16 +803,19 @@ handlers and support for context specific logging (like resource id’s etc).") | |||
| 803 | (base32 "1rrvdhv82gklj45z6xs1h4l51jcz8fmdjijya2rkj1mqjzfx7i5x")))) | 803 | (base32 "1rrvdhv82gklj45z6xs1h4l51jcz8fmdjijya2rkj1mqjzfx7i5x")))) |
| 804 | (build-system pyproject-build-system) | 804 | (build-system pyproject-build-system) |
| 805 | (arguments | 805 | (arguments |
| 806 | '(#:phases (modify-phases %standard-phases | 806 | (list |
| 807 | (replace 'check | 807 | #:phases |
| 808 | (lambda* (#:key tests? #:allow-other-keys) | 808 | #~(modify-phases %standard-phases |
| 809 | (when tests? (invoke "stestr" "run"))))))) | 809 | (replace 'check |
| 810 | (lambda* (#:key tests? test-flags #:allow-other-keys) | ||
| 811 | (when tests? | ||
| 812 | (apply invoke "stestr" "run" test-flags))))))) | ||
| 810 | (propagated-inputs | 813 | (propagated-inputs |
| 811 | (list python-msgpack python-oslo-utils python-tzdata)) | 814 | (list python-msgpack python-oslo-utils python-tzdata)) |
| 812 | (native-inputs | 815 | (native-inputs |
| 813 | (list python-netaddr | 816 | (list python-netaddr |
| 814 | python-oslo-i18n | 817 | python-oslo-i18n-bootstrap |
| 815 | python-oslotest | 818 | python-oslotest-bootstrap |
| 816 | python-setuptools | 819 | python-setuptools |
| 817 | python-stestr | 820 | python-stestr |
| 818 | python-wheel)) | 821 | python-wheel)) |
