httpie: add v2.5.0 (#25888)

This commit is contained in:
Mickaël Schoentgen 2021-09-13 09:41:02 +02:00 committed by GitHub
parent 5fa075f5b4
commit 59832fb0ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,9 +9,10 @@
class Httpie(PythonPackage): class Httpie(PythonPackage):
"""Modern command line HTTP client.""" """Modern command line HTTP client."""
homepage = "https://httpie.org/" homepage = "https://httpie.io/"
pypi = "httpie/httpie-0.9.8.tar.gz" pypi = "httpie/httpie-2.5.0.tar.gz"
version('2.5.0', sha256='fe6a8bc50fb0635a84ebe1296a732e39357c3e1354541bf51a7057b4877e47f9')
version('0.9.9', sha256='f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb') version('0.9.9', sha256='f1202e6fa60367e2265284a53f35bfa5917119592c2ab08277efc7fffd744fcb')
version('0.9.8', sha256='515870b15231530f56fe2164190581748e8799b66ef0fe36ec9da3396f0df6e1') version('0.9.8', sha256='515870b15231530f56fe2164190581748e8799b66ef0fe36ec9da3396f0df6e1')
@ -19,8 +20,10 @@ class Httpie(PythonPackage):
description='Enable SOCKS proxy support') description='Enable SOCKS proxy support')
depends_on('py-setuptools', type=('build', 'run')) depends_on('py-setuptools', type=('build', 'run'))
depends_on('py-pygments@2.1.3:', type=('build', 'run')) depends_on('py-defusedxml', type=('build', 'run'))
depends_on('py-requests@2.11.0:', type=('build', 'run')) depends_on('py-pygments', type=('build', 'run'))
depends_on('py-requests', type=('build', 'run'))
depends_on('py-requests-toolbelt', type=('build', 'run'))
depends_on('py-pysocks', type=('build', 'run'), when="+socks") depends_on('py-pysocks', type=('build', 'run'), when="+socks")
# Concretization problem breaks this. Unconditional for now... # Concretization problem breaks this. Unconditional for now...
# https://github.com/spack/spack/issues/3628 # https://github.com/spack/spack/issues/3628