SHA256
1
0
forked from pool/httpie

Accepting request 760402 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/760402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/httpie?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-01-02 13:44:33 +00:00 committed by Git OBS Bridge
commit f0970c6ad0
3 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,15 @@
diff --git a/setup.py b/setup.py
index 3cb04c8..50075b3 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'
]

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Dec 22 16:32:41 UTC 2019 - Martin Hauke <mardnh@gmx.de>
- Add patch:
* httpie-adjust-requirements.patch
Lower requirements for requests and Pygemnts to make it work
on Leap 15.1
-------------------------------------------------------------------
Tue Aug 27 14:23:44 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -27,6 +27,7 @@ Group: Productivity/Networking/Web/Utilities
URL: https://httpie.org/
Source: https://github.com/jakubroztocil/httpie/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: http.1
Patch0: httpie-adjust-requirements.patch
BuildRequires: %{python_module Pygments >= 2.1.3}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module mock}
@ -53,6 +54,7 @@ responses.
%prep
%setup -q
%patch0 -p1
#drop shebang
sed -i -e '/^#!\//, 1d' httpie/__main__.py