Accepting request 998011 from home:bnavigator:branches:devel:languages:python
- Clean specfile, remove coverage OBS-URL: https://build.opensuse.org/request/show/998011 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp_cors?expand=0&rev=4
This commit is contained in:
parent
17eae87eb9
commit
c78b59ebc8
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 18 15:28:57 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Clean specfile, remove coverage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Dec 15 08:04:25 UTC 2021 - pgajdos@suse.com
|
Wed Dec 15 08:04:25 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-aiohttp_cors
|
# spec file for package python-aiohttp_cors
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -46,11 +46,9 @@ BuildRequires: %{python_module async_timeout >= 2.0.0}
|
|||||||
BuildRequires: %{python_module chardet}
|
BuildRequires: %{python_module chardet}
|
||||||
BuildRequires: %{python_module gunicorn}
|
BuildRequires: %{python_module gunicorn}
|
||||||
BuildRequires: %{python_module multidict >= 3.3.0}
|
BuildRequires: %{python_module multidict >= 3.3.0}
|
||||||
BuildRequires: %{python_module pytest-cov}
|
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
BuildRequires: %{python_module pytest-timeout}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module yarl >= 0.13.0}
|
BuildRequires: %{python_module yarl >= 0.13.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
# SECTION docs
|
# SECTION docs
|
||||||
@ -58,6 +56,7 @@ BuildRequires: python3-Sphinx
|
|||||||
BuildRequires: python3-sphinxcontrib-asyncio
|
BuildRequires: python3-sphinxcontrib-asyncio
|
||||||
BuildRequires: python3-sphinxcontrib-newsfeed
|
BuildRequires: python3-sphinxcontrib-newsfeed
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,16 +67,16 @@ Asynchronous HTTP client/server framework for Python.
|
|||||||
- Web-server has middleware and pluggable routing.
|
- Web-server has middleware and pluggable routing.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n aiohttp-cors-%{version}
|
%autosetup -p1 -n aiohttp-cors-%{version}
|
||||||
%patch0 -p1
|
# remove code coverage flags from pytest
|
||||||
%patch1 -p1
|
sed -i '/addopts/d' setup.cfg
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest tests/unit
|
%pytest tests/unit
|
||||||
@ -85,6 +84,7 @@ Asynchronous HTTP client/server framework for Python.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/aiohttp_cors*
|
%{python_sitelib}/aiohttp_cors
|
||||||
|
%{python_sitelib}/aiohttp_cors-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user