summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-azure-mgmt-core/package.py
blob: 2bf8c3b973a810e5dc0b08059904c725d7584a85 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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)


class PyAzureMgmtCore(PythonPackage):
    """Microsoft Azure Management Core Library for Python."""

    homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-mgmt-core"
    pypi = "azure-mgmt-core/azure-mgmt-core-1.2.0.zip"

    version('1.2.0', sha256='8fe3b59446438f27e34f7b24ea692a982034d9e734617ca1320eedeee1939998')
    version('1.0.0', sha256='510faf49a10daec8346cc086143d8e667ef3b4f8c8022a8e710091027631a55e')

    depends_on('py-setuptools', type='build')
    depends_on('py-azure-core@1.7.0:1', when='@1.2:', type=('build', 'run'))
    depends_on('py-azure-core@1.4.0:1', type=('build', 'run'))
    depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run'))
    depends_on('py-typing', when='^python@:3.4', type=('build', 'run'))