summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorManuela Kuhn <36827019+manuelakuhn@users.noreply.github.com>2021-07-09 12:57:32 +0200
committerGitHub <noreply@github.com>2021-07-09 12:57:32 +0200
commit83d0e20ae8f96dd6e5a1c5324051f767d5715a3b (patch)
tree038f45ebf994e81c2e2c931e050592e549f352e4 /var
parent85b49f115f8ae1cc5fd26e52f1ff8c67894cbbbb (diff)
downloadspack-83d0e20ae8f96dd6e5a1c5324051f767d5715a3b.tar.gz
spack-83d0e20ae8f96dd6e5a1c5324051f767d5715a3b.tar.bz2
spack-83d0e20ae8f96dd6e5a1c5324051f767d5715a3b.tar.xz
spack-83d0e20ae8f96dd6e5a1c5324051f767d5715a3b.zip
py-requests-unixsocket: add new package (#24764)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-requests-unixsocket/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-requests-unixsocket/package.py b/var/spack/repos/builtin/packages/py-requests-unixsocket/package.py
new file mode 100644
index 0000000000..f8e3fee7b1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-requests-unixsocket/package.py
@@ -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'))