summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
blob: c163daeb37cede448bfbb31f095406ee786aaac0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2023 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 PyRequestsToolbelt(PythonPackage):
    """A toolbelt of useful classes and functions to be used with
    python-requests"""

    homepage = "https://toolbelt.readthedocs.org/"
    pypi = "requests-toolbelt/requests-toolbelt-0.9.1.tar.gz"

    version("0.9.1", sha256="968089d4584ad4ad7c171454f0a5c6dac23971e9472521ea3b6d49d610aa6fc0")
    version("0.8.0", sha256="f6a531936c6fa4c6cfce1b9c10d5c4f498d16528d2a54a22ca00011205a187b5")

    depends_on("py-setuptools", type="build")
    depends_on("py-requests@2.0.1:2", type=("build", "run"))