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

* gnu/packages/openstack.scm (python-oslo.serialization): Update to 2.24.0.
[arguments]: Remove field.
[propagated-inputs]: Remove PYTHON-ISO8601 and PYTHON-SIMPLEJSON.  Add
PYTHON-MSGPACK.
[native-inputs]: Remove PYTHON-BABEL.
[properties]: New field.
(python2-oslo.serialization)[native-inputs]: Add PYTHON2-IPADDRESS.
This commit is contained in:
Marius Bakke 2018-02-28 04:48:41 +01:00
parent 32bb0c617b
commit caf3713ad5
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -527,27 +527,23 @@ handlers and support for context specific logging (like resource ids etc).")
(define-public python-oslo.serialization
(package
(name "python-oslo.serialization")
(version "2.2.0")
(version "2.24.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "oslo.serialization" version))
(sha256
(base32
"00s03krhf833gs76aw5ns32w9m1i4hx6x6d9g82m0j5wyqk0sci4"))))
"08bxkp98c617y58x630xq44iiffm7f0f3cwh6zbnlkgq0zgh7jk1"))))
(build-system python-build-system)
(arguments
'(#:tests? #f)) ; FIXME: Requires python-oslo.utils >= 3.2.0.
(propagated-inputs
`(("python-iso8601" ,python-iso8601)
`(("python-msgpack" ,python-msgpack)
("python-netaddr" ,python-netaddr)
("python-oslo.utils" ,python-oslo.utils)
("python-simplejson" ,python-simplejson)
("python-six" ,python-six)
("python-pytz" ,python-pytz)))
(native-inputs
`(("python-babel" ,python-babel)
("python-pbr" ,python-pbr)
`(("python-pbr" ,python-pbr)
;; Tests.
("python-mock" ,python-mock)
("python-oslo.i18n" ,python-oslo.i18n)
@ -557,10 +553,17 @@ handlers and support for context specific logging (like resource ids etc).")
(description
"The oslo.serialization library provides support for representing objects
in transmittable and storable formats, such as JSON and MessagePack.")
(properties `((python2-variant . ,(delay python2-oslo.serialization))))
(license asl2.0)))
(define-public python2-oslo.serialization
(package-with-python2 python-oslo.serialization))
(let ((base (package-with-python2 (strip-python2-variant
python-oslo.serialization))))
(package
(inherit base)
(native-inputs
`(("python2-ipaddress" ,python2-ipaddress)
,@(package-native-inputs base))))))
(define-public python-reno
(package