commit c97a4ca0b667055425e2575f8f5e37899db8a13f Author: dogsheng <960055655@qq.com> Date: Tue Nov 19 11:53:56 2019 +0800 Package init diff --git a/futures-3.1.1.tar.gz b/futures-3.1.1.tar.gz new file mode 100644 index 0000000..ede0df3 Binary files /dev/null and b/futures-3.1.1.tar.gz differ diff --git a/python-futures.spec b/python-futures.spec new file mode 100644 index 0000000..72628d6 --- /dev/null +++ b/python-futures.spec @@ -0,0 +1,43 @@ +Name: python-futures +Version: 3.1.1 +Release: 5 +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 +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 +* Mon Oct 14 2019 Lijin Yang - 3.1.1-5 +- Package init