py-requests-file: new package (#41328)

Co-authored-by: LydDeb <lyderic.debusschere@eolen.com>
This commit is contained in:
Lydéric Debusschère 2023-12-01 15:00:23 +01:00 committed by GitHub
parent 3a9aea753d
commit cf5ffedc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,21 @@
# 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 PyRequestsFile(PythonPackage):
"""File transport adapter for Requests."""
homepage = "http://github.com/dashea/requests-file"
pypi = "requests-file/requests-file-1.5.1.tar.gz"
maintainers("LydDeb")
version("1.5.1", sha256="07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e")
depends_on("py-setuptools", type="build")
depends_on("py-requests@1.0.0:", type=("build", "run"))
depends_on("py-six", type=("build", "run"))