Add py-oslo-serialization (#25218)

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Harmen Stoppels 2021-08-04 09:36:11 +02:00 committed by GitHub
parent 63ac1b6620
commit 20394a97da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class PyOsloSerialization(PythonPackage):
"""
The oslo.serialization library provides support for representing objects in
transmittable and storable formats, such as Base64, JSON and MessagePack.
"""
homepage = "https://docs.openstack.org/oslo.serialization/"
pypi = "oslo.serialization/oslo.serialization-4.1.0.tar.gz"
maintainers = ['haampie']
version('4.1.0', sha256='cecc7794df806c85cb70dbd6c2b3af19bc68047ad29e3c6442be90a0a4de5379')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-pbr@2.0.0:2.0.999,2.1.1:', type='build')
depends_on('py-msgpack@0.5.2:', type=('build', 'run'))
depends_on('py-oslo-utils@3.33.0:', type=('build', 'run'))
depends_on('py-pytz@2013.6:', type=('build', 'run'))