summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-azure-storage-common/package.py
blob: bb78ebf8c6dba0b7cbf6675193a1533e910fc2b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2020 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 PyAzureStorageCommon(PythonPackage):
    """Microsoft Azure Storage Common Client Library for Python."""

    homepage = "https://github.com/Azure/azure-storage-python"
    pypi = "azure-storage-common/azure-storage-common-2.1.0.tar.gz"

    version('2.1.0', sha256='ccedef5c67227bc4d6670ffd37cec18fb529a1b7c3a5e53e4096eb0cf23dc73f')
    version('1.4.2', sha256='4ec87c7537d457ec95252e0e46477e2c1ccf33774ffefd05d8544682cb0ae401')

    depends_on('py-setuptools', type='build')
    depends_on('py-azure-common@1.1.5:', type=('build', 'run'))
    depends_on('py-cryptography', type=('build', 'run'))
    depends_on('py-python-dateutil', type=('build', 'run'))
    depends_on('py-requests', type=('build', 'run'))
    depends_on('py-azure-storage-nspkg', when='^python@:2', type=('build', 'run'))