Accepting request 1119998 from home:mcalabkova:branches:devel:languages:python
- Use Brotli instead of dropped brotlicffi OBS-URL: https://build.opensuse.org/request/show/1119998 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpbin?expand=0&rev=28
This commit is contained in:
parent
168d17f0d5
commit
ee0105265b
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 24 13:30:26 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Use Brotli instead of dropped brotlicffi
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 19 08:11:44 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
Thu Oct 19 08:11:44 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@ -27,9 +27,9 @@ URL: https://github.com/psf/httpbin
|
|||||||
Source: https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM https://github.com/psf/httpbin/pull/29 Support Flask 3.0
|
# PATCH-FIX-UPSTREAM https://github.com/psf/httpbin/pull/29 Support Flask 3.0
|
||||||
Patch: flask3.patch
|
Patch: flask3.patch
|
||||||
|
BuildRequires: %{python_module Brotli}
|
||||||
BuildRequires: %{python_module Flask >= 2.2.4}
|
BuildRequires: %{python_module Flask >= 2.2.4}
|
||||||
BuildRequires: %{python_module Werkzeug >= 2.0}
|
BuildRequires: %{python_module Werkzeug >= 2.0}
|
||||||
BuildRequires: %{python_module brotlicffi}
|
|
||||||
BuildRequires: %{python_module decorator}
|
BuildRequires: %{python_module decorator}
|
||||||
BuildRequires: %{python_module flasgger}
|
BuildRequires: %{python_module flasgger}
|
||||||
BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
@ -39,9 +39,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Brotli
|
||||||
Requires: python-Flask >= 2.2.4
|
Requires: python-Flask >= 2.2.4
|
||||||
Requires: python-Werkzeug >= 2.0
|
Requires: python-Werkzeug >= 2.0
|
||||||
Requires: python-brotlicffi
|
|
||||||
Requires: python-decorator
|
Requires: python-decorator
|
||||||
Requires: python-flasgger
|
Requires: python-flasgger
|
||||||
Requires: python-gevent
|
Requires: python-gevent
|
||||||
@ -61,6 +61,8 @@ All endpoint responses are JSON-encoded.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{modname}-%{version}
|
%autosetup -p1 -n %{modname}-%{version}
|
||||||
|
# we are running CPython, let us use Brotli instead of brotlicffi (they should be compatible)
|
||||||
|
sed -i 's/brotlicffi/brotli/' httpbin/filters.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
|
Loading…
Reference in New Issue
Block a user