## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname more-executors %global srcname_py more_executors Summary: A library of composable Python executors and futures Name: python-%{srcname} Version: 2.11.4 Release: %autorelease License: GPLv3+ BuildArch: noarch URL: https://github.com/rohanpm/%{srcname} Source0: %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz %{?python_enable_dependency_generator} %description This library is intended for use with the concurrent.futures module. It includes a collection of Executor implementations in order to extend the behavior of Future objects. %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools # dependencies for test suite BuildRequires: python3dist(pytest) BuildRequires: python3dist(pyhamcrest) BuildRequires: python3dist(six) BuildRequires: python3dist(mypy) %{?python_provide:%python_provide python3-%{srcname}} %{?python_extras_subpkg:%python_extras_subpkg -n python3-%{srcname} -i %{python3_sitelib}/*.egg-info prometheus} %description -n python3-%{srcname} This library is intended for use with the concurrent.futures module. It includes a collection of Executor implementations in order to extend the behavior of Future objects. %prep %autosetup -n %{srcname}-%{version} -p1 %build %py3_build %install %py3_install %check %{__python3} -m pytest -v %files -n python3-%{srcname} %doc README.md %license LICENSE %{python3_sitelib}/%{srcname_py}*.egg-info/ %{python3_sitelib}/%{srcname_py}/ %changelog * Wed Feb 01 2023 Rohan McGovern - 2.11.4-1 - Update to version 2.11.4 (rhbz#1973887) - Fixes compatibility with python 3.12 (rhbz#2165538) * Fri Jan 20 2023 Fedora Release Engineering - 2.7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.7.0-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 12 2021 Rohan McGovern - 2.7.0-1 - New upstream release 2.7.0 * Sun Jun 20 2021 Rohan McGovern - 2.6.0-2 - Fix build (removing 'mock' dependency) * Sun Jun 20 2021 Rohan McGovern - 2.6.0-1 - Update to 2.6.0 * Fri Jun 04 2021 Python Maint - 2.5.1-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Rohan McGovern - 2.5.1-2 - Explicitly BuildRequires python3-setuptools * Mon Jun 01 2020 Rohan McGovern 2.5.1-1 - Update to 2.5.1 * Tue May 26 2020 Miro Hrončok - 2.5.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Sep 23 2019 Rohan McGovern 2.5.0-1 - Update to 2.5.0 * Sun Sep 15 2019 Rohan McGovern 2.4.0-1 - Update to 2.4.0 * Sat Sep 07 2019 Rohan McGovern 2.3.0-1 - Update to 2.3.0 * Sat Aug 31 2019 Rohan McGovern 2.2.0-1 - Update to 2.2.0 * Mon Aug 19 2019 Miro Hrončok - 2.1.2-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jun 26 2019 Rohan McGovern 2.1.2-1 - Update to 2.1.2 * Sun Jun 16 2019 Rohan McGovern 2.1.1-1 - Update to 2.1.1 * Thu Jun 06 2019 Rohan McGovern 2.1.0-1 - Update to 2.1.0 * Fri May 03 2019 Rohan McGovern - 2.0.2-1 - New upstream release - Fix build with Python 3.8 (#1705459) * Sat Apr 06 2019 Rohan McGovern - 2.0.1-1 - New upstream release * Fri Apr 05 2019 Rohan McGovern - 2.0.0-2 - Run test suite during build * Sun Mar 17 2019 Rohan McGovern - 2.0.0-1 - New upstream release * Sat Feb 23 2019 Rohan McGovern - 1.20.2-1 - New upstream release * Sun Feb 17 2019 Rohan McGovern - 1.20.1-1 - Initial RPM release