py-requests-unixsocket: add new package (#24764)

This commit is contained in:
Manuela Kuhn 2021-07-09 12:57:32 +02:00 committed by GitHub
parent 85b49f115f
commit 83d0e20ae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# Copyright 2013-2021 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 PyRequestsUnixsocket(PythonPackage):
"""Use requests to talk HTTP via a UNIX domain socket."""
homepage = "https://github.com/msabramo/requests-unixsocket"
pypi = "requests-unixsocket/requests-unixsocket-0.2.0.tar.gz"
version('0.2.0', sha256='9e5c1a20afc3cf786197ae59c79bcdb0e7565f218f27df5f891307ee8817c1ea')
depends_on('py-setuptools', type='build')
depends_on('py-requests@1.1:', type=('build', 'run'))
depends_on('py-urllib3@1.8:', type=('build', 'run'))