summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
blob: f19e9fe1d1e835b3402209d660eeb13108dd8466 (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 PyRequestsToolbelt(PythonPackage):
    """A toolbelt of useful classes and functions to be used with
    python-requests"""

    homepage = "https://toolbelt.readthedocs.org/"
    url      = "https://github.com/requests/toolbelt/archive/0.8.0.tar.gz"

    version('0.8.0', 'de9bf7fbcc6ae341a5c4fd9f8912bcac')

    depends_on('py-setuptools', type='build')
    depends_on('py-requests@2.0.1:3.0.0', type=('build', 'run'))