diff --git a/httpie-1.0.3.tar.gz b/httpie-1.0.3.tar.gz deleted file mode 100644 index c2d342a..0000000 --- a/httpie-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ecfb1ecdfd1468100bd9ffecebe1bea6d7d72c72149ea91f3d0112dc8ef03c7a -size 1745537 diff --git a/httpie-2.0.0.tar.gz b/httpie-2.0.0.tar.gz new file mode 100644 index 0000000..ee0dd31 --- /dev/null +++ b/httpie-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92ebdced5620ab56fd9f24e494c7c97eb0afee0f03a55bee41f773395c59dc5c +size 1752529 diff --git a/httpie-adjust-requirements.patch b/httpie-adjust-requirements.patch index b68c166..d6712f2 100644 --- a/httpie-adjust-requirements.patch +++ b/httpie-adjust-requirements.patch @@ -1,15 +1,15 @@ diff --git a/setup.py b/setup.py -index 3cb04c8..50075b3 100644 +index 4392270..2d18d38 100644 --- a/setup.py +++ b/setup.py @@ -35,8 +35,8 @@ tests_require = [ install_requires = [ -- 'requests>=2.21.0', -- 'Pygments>=2.3.1' -+ 'requests>=2.20.0', -+ 'Pygments>=2.2.0' +- 'requests>=2.22.0', +- 'Pygments>=2.5.2', ++ 'requests>=2.21.0', ++ 'Pygments>=2.3.1', ] diff --git a/httpie.changes b/httpie.changes index 215fe99..96a3298 100644 --- a/httpie.changes +++ b/httpie.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sun Jan 12 10:25:17 UTC 2020 - Martin Hauke + +- Update to version 2.0.0 + * Removed Python 2.7 support (Python 3.6+ is now required). + * Added --offline to allow building an HTTP request and printing + it but not actually sending it over the network. + * Replaced the old collect-all-then-process handling of HTTP + communication with one-by-one processing of each HTTP request + or response as they become available. This means that you can + see headers immediately, see what is being send even when the + request fails, etc. + * Removed automatic config file creation to avoid concurrency + issues. + * Removed the default 30-second connection --timeout limit. + * Removed Python’s default limit of 100 response headers. + * Added --max-headers to allow setting the max header limit. + * Added --compress to allow request body compression. + * Added --ignore-netrc to allow bypassing credentials from + .netrc. + * Added https alias command with https:// as the default scheme. + * Added $ALL_PROXY documentation. + * Added type annotations throughout the codebase. + * Added tests/ to the PyPi package for the convenience of + downstream package maintainers. + * Fixed an error when stdin was a closed fd. + * Improved --debug output formatting. +- Update patch: + * httpie-adjust-requirements.patch + ------------------------------------------------------------------- Sun Dec 22 16:32:41 UTC 2019 - Martin Hauke diff --git a/httpie.spec b/httpie.spec index d99e3e8..bdfa3c5 100644 --- a/httpie.spec +++ b/httpie.spec @@ -1,7 +1,7 @@ # # spec file for package httpie # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: httpie -Version: 1.0.3 +Version: 2.0.0 Release: 0 Summary: CLI, cURL-like tool for humans License: BSD-3-Clause @@ -77,6 +77,7 @@ export LC_CTYPE=en_US.UTF-8 %doc AUTHORS.rst CHANGELOG.rst README.rst %license LICENSE %python3_only %{_bindir}/http +%python3_only %{_bindir}/https %{python_sitelib}/* %{_mandir}/man1/http.1%{ext_man}