Accepting request 880298 from home:bnavigator:branches:devel:languages:python
- Unset -Werror=return-type for python39 - Only install typing_extensions for Python < 3.8 OBS-URL: https://build.opensuse.org/request/show/880298 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-yarl?expand=0&rev=35
This commit is contained in:
parent
0472afe729
commit
71585e543e
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 20 19:40:32 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Unset -Werror=return-type for python39
|
||||
- Only install typing_extensions for Python < 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 23 17:02:42 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -33,6 +33,7 @@ Patch0: tests_overcome_bpo42967.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module idna >= 2.0}
|
||||
BuildRequires: %{python_module typing_extensions >= 3.7.4 if %python-base < 3.8}
|
||||
# test requirements
|
||||
BuildRequires: %{python_module multidict >= 4.0}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
@ -43,7 +44,9 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-idna >= 2.0
|
||||
Requires: python-multidict >= 4.0
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing_extensions >= 3.7.4
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -53,7 +56,7 @@ The module provides a URL class for url parsing and changing.
|
||||
%autosetup -p1 -n yarl-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export CFLAGS="%{optflags} -Wno-return-type"
|
||||
%python_build
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user