python-futures/python-futures.spec

31 lines
841 B
RPMSpec
Raw Permalink Normal View History

2015-09-17 13:33:21 +03:00
%define upstream_name futures
Name: python-%{upstream_name}
2018-09-13 14:26:06 +03:00
Version: 3.0.4
2019-07-06 19:19:29 +00:00
Release: 4
2015-09-17 13:33:21 +03:00
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
%{py2_puresitedir}/concurrent
%{py2_puresitedir}/futures-%{version}-*.egg-info