summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-stevedore/package.py
blob: ab7affedf528b6ffcc6b858bd9e09c6cfcf31a89 (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
# 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.package import *


class PyStevedore(PythonPackage):
    """Manage Dynamic Plugins for Python Applications."""

    homepage = "https://docs.openstack.org/stevedore/latest/"
    pypi = "stevedore/stevedore-1.28.0.tar.gz"

    version('3.5.0', sha256='f40253887d8712eaa2bb0ea3830374416736dc8ec0e22f5a65092c1174c44335')
    version('1.28.0', sha256='f1c7518e7b160336040fee272174f1f7b29a46febb3632502a8f2055f973d60b')

    depends_on('python@2.6:', type=('build', 'run'))
    depends_on('python@3.6:', type=('build', 'run'), when='@3.5.0:')

    depends_on('py-setuptools', type='build')

    depends_on('py-six@1.10.0:', type=('build', 'run'), when='@:3.4')
    depends_on('py-pbr@2.0.0:2.1.0', type=('build', 'run'), when='@:3.4')
    depends_on('py-pbr@2.0.0:', type=('build', 'run'), when='@3.5.0:')