gnu: python-oslo.serialization: Update to 4.2.0.

* gnu/packages/openstack.scm (python-oslo.serialization): Update to 4.2.0.
[arguments]: Override check phase.
[propagated-inputs]: Remove PYTHON-SIX and PYTHON-NETADDR.  Add PYTHON-PBR.
[native-inputs]: Remove PYTHON-PBR and PYTHON-MOCK.  Add PYTHON-NETADDR and
PYTHON-STESTR.
This commit is contained in:
Marius Bakke 2022-01-12 19:36:36 +01:00
parent 850d2e8eef
commit 4a6808226e
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -491,22 +491,25 @@ (define-public python-oslo.log
(define-public python-oslo.serialization
(package
(name "python-oslo.serialization")
(version "2.24.0")
(version "4.2.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.serialization" version))
(sha256
(base32
"08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
"10sdgvyb0d3lcmb8b4l5gs40bkfbai08kvsdwp658dxd2yqf21rh"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "stestr" "run")))))))
(propagated-inputs
(list python-msgpack python-netaddr python-oslo.utils python-six
python-pytz))
(list python-msgpack python-oslo.utils python-pbr python-pytz))
(native-inputs
(list python-pbr
;; Tests.
python-mock python-oslo.i18n python-oslotest))
;; For tests.
(list python-netaddr python-oslo.i18n python-oslotest python-stestr))
(home-page "https://launchpad.net/oslo")
(synopsis "Oslo serialization library")
(description