summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py
blob: b793c8c384226f41f247f6a69dff5d73a31a56f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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 PyNdgHttpsclient(PythonPackage):
    """Provides enhanced HTTPS support for httplib and urllib2 using
    PyOpenSSL."""

    homepage = "https://github.com/cedadev/ndg_httpsclient/"
    pypi = "ndg_httpsclient/ndg_httpsclient-0.5.1.tar.gz"

    version('0.5.1', sha256='d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210')

    depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-pyopenssl', type=('build', 'run'))
    depends_on('py-pyasn1@0.1.1:', type=('build', 'run'))