commit 9b489258417c34abd7db643e1f2aa007a57c7286 Author: Denis Silakov Date: Thu Sep 17 13:33:21 2015 +0300 Imported from SRPM diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..1229486 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + futures-2.1.6.tar.gz: 5247ac8fa0eaf54051aa51e736ffc7b4d450a3d0 diff --git a/python-futures.spec b/python-futures.spec new file mode 100644 index 0000000..0e351cc --- /dev/null +++ b/python-futures.spec @@ -0,0 +1,33 @@ +%define upstream_name futures + +Name: python-%{upstream_name} +Version: 2.1.6 +Release: 5 +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 +%{py_puresitedir}/futures-%{version}-*.egg-info + +