Accepting request 917996 from network:utilities
OBS-URL: https://build.opensuse.org/request/show/917996 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=9
This commit is contained in:
commit
14d895c5b2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:17c18a67ea57599b75b59c081b57c7d0239eabf5cc7d8de347840a4006f57ee4
|
||||
size 1769401
|
3
httpie-2.5.0.tar.gz
Normal file
3
httpie-2.5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:66af56e0efc1ca6237323f1186ba34bca1be24e67a4319fd5df7228ab986faea
|
||||
size 1105177
|
@ -1,3 +1,27 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 6 19:32:01 UTC 2021 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Fix tests
|
||||
- Update dependencies
|
||||
- Update to version 2.5.0
|
||||
* Added --raw to allow specifying the raw request body without
|
||||
extra processing as an alternative to stdin.
|
||||
* Added support for XML formatting.
|
||||
* Added internal support for file-like object responses to
|
||||
improve adapter plugin support.
|
||||
* Fixed --continue --download with a single byte to be
|
||||
downloaded left.
|
||||
* Fixed --verbose HTTP 307 redirects with streamed request body.
|
||||
* Fixed handling of session files with Cookie: followed by other
|
||||
headers.
|
||||
- Update to version 2.4.0
|
||||
* Added support for --session cookie expiration based on
|
||||
Set-Cookie: max-age=<n>.
|
||||
* Show a --check-status warning with --quiet as well, not only
|
||||
when the output is redirected.
|
||||
* Fixed upload with --session.
|
||||
* Fixed a missing blank line between request and response.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 19 12:26:10 UTC 2021 - Robert Munteanu <rombert@apache.org>
|
||||
|
||||
|
15
httpie.spec
15
httpie.spec
@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: httpie
|
||||
Version: 2.3.0
|
||||
Version: 2.5.0
|
||||
Release: 0
|
||||
Summary: CLI, cURL-like tool for humans
|
||||
License: BSD-3-Clause
|
||||
@ -28,15 +28,19 @@ Source1: http.1
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Pygments >= 2.5.2
|
||||
BuildRequires: python3-defusedxml >= 0.6.0
|
||||
BuildRequires: python3-mock
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-pytest-httpbin
|
||||
BuildRequires: python3-requests >= 2.22.0
|
||||
BuildRequires: python3-requests-toolbelt >= 0.9.1
|
||||
BuildRequires: python3-responses
|
||||
BuildRequires: python3-setuptools
|
||||
Requires: python3-Pygments >= 2.5.2
|
||||
Requires: python3-defusedxml >= 0.6.0
|
||||
Requires: python3-requests >= 2.22.0
|
||||
Requires: python3-requests-toolbelt >= 0.9.1
|
||||
Requires: python3-responses
|
||||
Provides: python3-httpie = 2.3.0
|
||||
Provides: python38-httpie = 2.3.0
|
||||
Obsoletes: python3-httpie < 2.3.0
|
||||
@ -54,7 +58,6 @@ responses.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
#drop shebang
|
||||
sed -i -e '/^#!\//, 1d' httpie/__main__.py
|
||||
|
||||
@ -70,16 +73,16 @@ install -D -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/http.1
|
||||
|
||||
%check
|
||||
export LC_CTYPE=en_US.UTF-8
|
||||
export PYTHONPATH=$PWD
|
||||
# disable tests that fail on OBS with [Errno -3] Temporary failure in name resolution
|
||||
pytest --deselect=tests/test_uploads.py
|
||||
#pytest --deselect=tests/test_uploads.py
|
||||
pytest --deselect=tests/test_uploads.py tests -v
|
||||
|
||||
%files
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
%doc AUTHORS.md CHANGELOG.md README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/http
|
||||
%{_bindir}/https
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/httpie*
|
||||
%{_mandir}/man1/http.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user