summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-oslo-serialization/package.py
blob: 5ca9f205719814370fcc8d45478f8c6a7fd62e3f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 2013-2022 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,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'))