summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-urllib3/package.py
blob: 224ee6197d04104ef311b61ac27ac9c4a3ce18b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Copyright 2013-2018 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 PyUrllib3(PythonPackage):
    """HTTP library with thread-safe connection pooling, file post, and
    more."""

    homepage = "https://urllib3.readthedocs.io/"
    url = "https://pypi.io/packages/source/u/urllib3/urllib3-1.20.tar.gz"

    version('1.20', '34691d4e7e20a8e9cdb452ea24fc38e7')
    version('1.14', '5e1407428ac33b521c71a7ac273b3847')

    depends_on('py-setuptools', type='build')