Accepting request 1081337 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal OBS-URL: https://build.opensuse.org/request/show/1081337 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-async_timeout?expand=0&rev=15
This commit is contained in:
parent
ac139f1b27
commit
780c16d6cc
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 21 12:22:20 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- add sle15_python_module_pythons (jsc#PED-68)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 13 22:40:07 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Make calling of %{sle15modernpython} optional.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 24 11:25:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Fri Mar 24 11:25:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-async_timeout
|
Name: python-async_timeout
|
||||||
Version: 4.0.2
|
Version: 4.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,9 +27,10 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/aio-libs/async_timeout/
|
URL: https://github.com/aio-libs/async_timeout/
|
||||||
Source: https://files.pythonhosted.org/packages/source/a/async-timeout/async-timeout-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/a/async-timeout/async-timeout-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.5.3}
|
BuildRequires: %{python_module base >= 3.5.3}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-asyncio}
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Provides: python-async-timeout = %{version}
|
Provides: python-async-timeout = %{version}
|
||||||
@ -40,15 +42,15 @@ BuildArch: noarch
|
|||||||
This provides an asyncio-compatible timeout context manager.
|
This provides an asyncio-compatible timeout context manager.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n async-timeout-%{version}
|
%autosetup -p1 -n async-timeout-%{version}
|
||||||
# do not bother with coverage
|
# do not bother with coverage
|
||||||
sed -i -e '/addopts/d' setup.cfg
|
sed -i -e '/addopts/d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
Reference in New Issue
Block a user