forked from pool/python-http-parser
- Switch to autosetup and pyproject macros.
- Add patch remove-imp-module.patch: * Use importlib, not imp. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-http-parser?expand=0&rev=36
This commit is contained in:
@@ -23,6 +23,8 @@ Summary: HTTP Request/Response Parser for Python in C
|
||||
License: MIT
|
||||
URL: https://github.com/benoitc/http-parser/
|
||||
Source: https://files.pythonhosted.org/packages/source/h/http-parser/http-parser-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#benoitc/http-parser#101
|
||||
Patch0: remove-imp-module.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -37,7 +39,7 @@ HTTP request/response parser for Python in C, based on
|
||||
http-parser from Ryan Dahl.
|
||||
|
||||
%prep
|
||||
%setup -q -n http-parser-%{version}
|
||||
%autosetup -p1 -n http-parser-%{version}
|
||||
|
||||
%build
|
||||
# fix wrongly generated cyx files
|
||||
|
||||
Reference in New Issue
Block a user