mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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:
parent
32bb0c617b
commit
caf3713ad5
1 changed files with 12 additions and 9 deletions
|
@ -527,27 +527,23 @@ (define-public python2-oslo.log
|
|||
(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 @@ (define-public python-oslo.serialization
|
|||
(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
|
||||
|
|
Loading…
Reference in a new issue