From 20394a97da91af7ca53b983ea39b645315c4f905 Mon Sep 17 00:00:00 2001 From: Harmen Stoppels Date: Wed, 4 Aug 2021 09:36:11 +0200 Subject: [PATCH] Add py-oslo-serialization (#25218) Co-authored-by: Adam J. Stewart --- .../packages/py-oslo-serialization/package.py | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-oslo-serialization/package.py diff --git a/var/spack/repos/builtin/packages/py-oslo-serialization/package.py b/var/spack/repos/builtin/packages/py-oslo-serialization/package.py new file mode 100644 index 0000000000..438c40ff61 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-oslo-serialization/package.py @@ -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'))