diff options
author | rvinaybharadwaj <vinayr@lanl.gov> | 2020-10-07 20:59:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-07 20:59:51 -0600 |
commit | a83f6bdb46b2b49c35ec4efd665c845dc80fab14 (patch) | |
tree | 5f7642c35234f360eb400b8ce879f2c06a451980 | |
parent | 2c387a3674a574bcbfa2ebf5dc32d7987988aef5 (diff) | |
download | spack-a83f6bdb46b2b49c35ec4efd665c845dc80fab14.tar.gz spack-a83f6bdb46b2b49c35ec4efd665c845dc80fab14.tar.bz2 spack-a83f6bdb46b2b49c35ec4efd665c845dc80fab14.tar.xz spack-a83f6bdb46b2b49c35ec4efd665c845dc80fab14.zip |
Add py-httpx (#19185)
-rw-r--r-- | var/spack/repos/builtin/packages/py-httpx/package.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-httpx/package.py b/var/spack/repos/builtin/packages/py-httpx/package.py new file mode 100644 index 0000000000..50dca9b2fb --- /dev/null +++ b/var/spack/repos/builtin/packages/py-httpx/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2020 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 PyHttpx(PythonPackage): + """HTTPX is a fully featured HTTP client for Python 3, which provides sync + and async APIs, and support for both HTTP/1.1 and HTTP/2.""" + + homepage = "https://github.com/encode/httpx" + url = "https://pypi.io/packages/source/h/httpx/httpx-0.15.2.tar.gz" + + version('0.15.2', sha256='713a2deaf96d85bbd4a1fbdf0edb27d6b4ee2c9aaeda8433042367e4b9e1628d') + version('0.11.1', sha256='7d2bfb726eeed717953d15dddb22da9c2fcf48a4d70ba1456aa0a7faeda33cf7') + + depends_on('py-setuptools', type='build') + depends_on('py-wheel', type='build') + depends_on('py-certifi') + depends_on('py-sniffio') + depends_on('py-httpcore@0.11:') + depends_on('py-rfc3986+idna2008@1.3:1.99') |