Name: python-futures Version: 3.1.1 Release: 9 Summary: Backport of the concurrent.futures standard library module to Python 3.2 License: Python URL: https://github.com/agronholm/pythonfutures Source0: https://files.pythonhosted.org/packages/source/f/futures/futures-%{version}.tar.gz Patch01: 0001-Backport-thread_name_prefix-from-upstream-64.patch Patch02: 0002-Specify-python_requires-to-prevent-installation-on-P.patch Patch03: 0003-Backport-fixes-to-as_completed-and-map-iterators-bpo.patch Patch04: 0004-Make-Future.__repr__-subclass-friendly-bpo-22033-65.patch BuildRequires: python2-devel BuildArch: noarch %description Provides a high-level interface for asynchronously executing callables.The asynchronous execution can be performed with threads, using ThreadPoolExecutor, or separate processes, using ProcessPoolExecutor. Both implement the same interface, which is defined by the abstract Executor class. %package -n python2-futures Summary: Backport of the concurrent.futures standard library module to Python 3.2 %{?python_provide:%python_provide python2-futures} Provides: python-futures = %{version}-%{release} Obsoletes: python-futures < %{version}-%{release} %description -n python2-futures The concurrent.futures module provides a high-level interface for asynchronously executing callables. %prep %autosetup -n futures-%{version} -p1 %build %{py2_build} %install %{py2_install} %files -n python2-futures %license LICENSE %doc CHANGES %{python2_sitelib}/concurrent %{python2_sitelib}/futures-*.egg-info* %changelog * Wed Dec 27 2023 zhangliangpengkun - 3.1.1-9 - Make Future.__repr__ subclass-friendly (bpo-22033) (#65) * Thu Dec 21 2023 zhangliangpengkun - 3.1.1-8 - Backport fixes to as_completed and map iterators (bpo-27144) (#66) * Thu Nov 02 2023 zhangliangpengkun - 3.1.1-7 - Specify python_requires to prevent installation on Python 3 * Fri Oct 13 2023 zhangliangpengkun - 3.1.1-6 - fix Backport `thread_name_prefix` from upstream (#64) * Mon Oct 14 2019 Lijin Yang - 3.1.1-5 - Package init