python-futures/python-futures.spec

31 lines
839 B
RPMSpec
Raw 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-02-07 13:52:32 +03:00
Release: 2
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
%{py_puresitedir}/concurrent
%{py_puresitedir}/futures-%{version}-*.egg-info