[python-futures] Importing

terjeros terjeros at fedoraproject.org
Mon Jul 16 19:47:08 UTC 2012


commit 166b4633f58f291e8ff14b770882f27eeabce6fd
Author: Terje Røsten <terje.rosten at ntnu.no>
Date:   Mon Jul 16 21:46:52 2012 +0200

    Importing

 .gitignore          |    1 +
 python-futures.spec |   41 +++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 43 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fbea7a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/futures-2.1.2.tar.gz
diff --git a/python-futures.spec b/python-futures.spec
new file mode 100644
index 0000000..453baa6
--- /dev/null
+++ b/python-futures.spec
@@ -0,0 +1,41 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
+
+%global oname  futures
+
+Summary:       Backport of the concurrent.futures package from Python 3.2
+Name:          python-futures
+Version:       2.1.2
+Release:       2%{?dist}
+License:       BSD
+Group:         Development/Libraries
+URL:           http://code.google.com/p/pythonfutures/
+Source0:       http://pypi.python.org/packages/source/f/futures/futures-%{version}.tar.gz
+BuildRequires: python-setuptools-devel
+BuildArch:     noarch
+
+%description
+The concurrent.futures module provides a high-level interface for
+asynchronously executing callables.
+
+%prep
+%setup -q -n %{oname}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%files
+%doc CHANGES LICENSE 
+%{python_sitelib}/concurrent
+%{python_sitelib}/futures
+%{python_sitelib}/futures-*.egg-info*
+
+%changelog
+* Mon Jul 16 2012 Terje Rosten <terje.rosten at ntnu.no> - 2.1.2-2
+- Remove old cruft
+- Fix url and buildreq
+
+* Mon Sep 26 2011 Terje Rosten <terje.rosten at ntnu.no> - 2.1.2-1
+- initial package
diff --git a/sources b/sources
index e69de29..621fb99 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a6fa247e3c5fe3d60d8e12f1b873cc88  futures-2.1.2.tar.gz


More information about the scm-commits mailing list