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


class PyMsrest(PythonPackage):
    """AutoRest swagger generator Python client runtime."""

    homepage = "https://github.com/Azure/msrest-for-python"
    pypi = "msrest/msrest-0.6.16.tar.gz"

    version('0.6.21', sha256='72661bc7bedc2dc2040e8f170b6e9ef226ee6d3892e01affd4d26b06474d68d8')
    version('0.6.16', sha256='214c5be98954cb45feb6a6a858a7ae6d41a664e80294b65db225bbaa33d9ca3c')

    depends_on('py-setuptools', type='build')
    depends_on('py-requests@2.16:2', type=('build', 'run'))
    depends_on('py-requests-oauthlib@0.5.0:', type=('build', 'run'))
    depends_on('py-isodate@0.6.0:', type=('build', 'run'))
    depends_on('py-certifi@2017.4.17:', type=('build', 'run'))
    depends_on('py-enum34@1.0.4:', when='^python@:3.3', type=('build', 'run'))
    depends_on('py-typing', when='^python@:3.4', type=('build', 'run'))