Package init
This commit is contained in:
commit
c97a4ca0b6
BIN
futures-3.1.1.tar.gz
Normal file
BIN
futures-3.1.1.tar.gz
Normal file
Binary file not shown.
43
python-futures.spec
Normal file
43
python-futures.spec
Normal file
@ -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 <yanglijin@huawei.com> - 3.1.1-5
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user