15
0

- Update to 0.6.0:

* Minor changes to support py3.10 +
- Fix Source URL to not hardcode the version mulitple times.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-asyncio-pool?expand=0&rev=2
This commit is contained in:
2025-08-11 06:14:51 +00:00
committed by Git OBS Bridge
parent 1b67928067
commit 235202ca92
4 changed files with 22 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-asyncio-pool
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,22 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-asyncio-pool
Version: 0.5.2
Version: 0.6.0
Release: 0
Summary: Pool of asyncio coroutines with familiar interface
License: MIT
URL: https://github.com/gistart/asyncio-pool
Source: https://github.com/gistart/asyncio-pool/archive/refs/tags/v0.5.2/asyncio_pool-0.5.2.tar.gz#/%{name}-%{version}.tar.gz
Source: https://github.com/gistart/asyncio-pool/archive/refs/tags/v%{version}/asyncio-pool-%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PyPI tarball does not include tests and license
#Source: https://files.pythonhosted.org/packages/source/a/asyncio_pool/asyncio_pool-%%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module async_timeout}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildArch: noarch
%python_subpackages
@@ -43,10 +45,10 @@ AioPool makes sure _no more_ and _no less_ (if possible) than `size` spawned cor
%setup -q -n asyncio-pool-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -55,8 +57,8 @@ AioPool makes sure _no more_ and _no less_ (if possible) than `size` spawned cor
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/asyncio_pool/
%{python_sitelib}/asyncio_pool-%{version}*-info
%{python_sitelib}/asyncio_pool
%{python_sitelib}/asyncio_pool-%{version}.dist-info
%doc examples
%changelog