python-futures/python-futures.spec
2016-12-09 18:56:44 +04:00

33 lines
867 B
RPMSpec

%define upstream_name futures
Name: python-%{upstream_name}
Version: 2.1.6
Release: 6
Summary: Backport of the concurrent.futures package from Python 3.2
Group: Development/Python
License: BSD
URL: https://pypi.python.org/pypi/futures
Source0: https://pypi.python.org/packages/source/f/futures/futures-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-setuptools
%description
The concurrent.futures module provides a high-level interface for
asynchronously executing callables.
%prep
%setup -q -n %{upstream_name}-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --skip-build --root %{buildroot}
%files
%{py_puresitedir}/concurrent
%{py_puresitedir}/futures
%{py_puresitedir}/futures-%{version}-*.egg-info