spack/var/spack/repos/builtin/packages/py-requests-toolbelt/package.py
Todd Gamblin eea786f4e8 relicense: replace LGPL headers with Apache-2.0/MIT SPDX headers
- remove the old LGPL license headers from all files in Spack
- add SPDX headers to all files
  - core and most packages are (Apache-2.0 OR MIT)
  - a very small number of remaining packages are LGPL-2.1-only
2018-10-17 14:42:06 -07:00

20 lines
647 B
Python

# 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'))