mirror of
https://abf.rosa.ru/djam/python-futures.git
synced 2025-02-25 03:13:03 +00:00
py -> py2
This commit is contained in:
parent
a075055412
commit
7601ab72c0
1 changed files with 15 additions and 7 deletions
|
@ -9,22 +9,30 @@ License: BSD
|
|||
URL: https://pypi.python.org/pypi/futures
|
||||
Source0: https://files.pythonhosted.org/packages/47/04/5fc6c74ad114032cd2c544c575bffc17582295e9cd6a851d6026ab4b2c00/futures-3.3.0.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: python2-setuptools
|
||||
|
||||
%description
|
||||
The concurrent.futures module provides a high-level interface for
|
||||
asynchronously executing callables.
|
||||
|
||||
%package -n python2-%{upstream_name}
|
||||
Summary: Backport of the concurrent.futures package from Python 3.2
|
||||
|
||||
%description -n python2-%{upstream_name}
|
||||
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
|
||||
CFLAGS="%{optflags}" python2 setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --skip-build --root %{buildroot}
|
||||
python2 setup.py install --skip-build --root %{buildroot}
|
||||
|
||||
%files
|
||||
%{py_puresitedir}/concurrent
|
||||
%{py_puresitedir}/futures-%{version}-*.egg-info
|
||||
%files -n python2-%{upstream_name}
|
||||
%{py2_puresitedir}/concurrent
|
||||
%{py2_puresitedir}/futures-%{version}-*.egg-info
|
||||
|
|
Loading…
Add table
Reference in a new issue