summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-stevedore/package.py
blob: 7e82a277dd2fdd46d6e28782a6dd7f3feb709f91 (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
29
# Copyright 2013-2024 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"

    license("Apache-2.0")

    version("4.0.0", sha256="f82cc99a1ff552310d19c379827c2c64dd9f85a38bcd5559db2470161867b786")
    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("python@3.8:", type=("build", "run"), when="@4.0.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:")