mirror of
https://abf.rosa.ru/djam/python-futures.git
synced 2025-02-24 19:03:06 +00:00
30 lines
839 B
RPMSpec
30 lines
839 B
RPMSpec
%define upstream_name futures
|
|
|
|
Name: python-%{upstream_name}
|
|
Version: 3.0.4
|
|
Release: 1
|
|
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
|