spack/var/spack/repos/builtin/packages/py-stevedore/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

28 lines
1.1 KiB
Python

# Copyright 2013-2023 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("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:")