mirror of
https://abf.rosa.ru/djam/python-futures.git
synced 2025-02-24 19:03:06 +00:00

(10) rosa2019.05: %py_ -> %py2_, %{py_ -> %{py2_ (9): Adopt spec for enabled byte compiling in Python These automatic changes are done by scripts *rpm5-to-rpm4.sh at https://gitlab.com/abf-mirror/abf-mirror-scripts The goal is to adopt specs for RPM 4 to which ROSA 2019.1 has migrated from RPM 5, but keep compatibility with RPM 5. Details about migration are here: https://wiki.rosalab.ru/ru/index.php/Переход_ROSA_с_RPM_5_на_RPM_4 Contact m.novosyolov@rosalinux.ru in case of problems
30 lines
841 B
RPMSpec
30 lines
841 B
RPMSpec
%define upstream_name futures
|
|
|
|
Name: python-%{upstream_name}
|
|
Version: 3.0.4
|
|
Release: 4
|
|
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
|