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


class PyAzureStorageBlob(PythonPackage):
    """Microsoft Azure Blob Storage Client Library for Python"""

    homepage = "https://github.com/Azure/azure-storage-python"
    pypi = "azure-storage-blob/azure-storage-blob-12.9.0.zip"
    maintainers = ['marcusboden']

    version('12.9.0', sha256='cff66a115c73c90e496c8c8b3026898a3ce64100840276e9245434e28a864225')

    depends_on('py-setuptools', type='build')
    depends_on('py-azure-core@1.10:1', type=('build', 'run'))
    depends_on('py-msrest@0.6.21:', type=('build', 'run'))
    depends_on('py-cryptography@2.1.4:', type=('build', 'run'))

    depends_on('py-futures', type=('build', 'run'), when='^python@:2')
    depends_on('py-azure-storage-nspkg@3', type=('build', 'run'), when='^python@:2')

    depends_on('py-enum34@1.0.4:', type=('build', 'run'), when=('^python@:3.3'))
    depends_on('py-typing', type=('build', 'run'), when=('^python@:3.4'))