From c32824e33a2af7b413c18a88f98c53cdc7d26af5190c016626f610c8018fd459 Mon Sep 17 00:00:00 2001 From: James Oakley Date: Wed, 25 Apr 2012 19:22:17 +0000 Subject: [PATCH] - Generate new spec - Update to 2.7.3.3 * PyPy now falls back to using its internal _multiprocessing module, so everything works except for forking_enable(False) (which silently degrades) * Fixed Python 2.5 compat issues. * Uses more with statements * Merged some of the changes from the Python 3 branch. - 2.7.3.2 - 2012-04-20 * Now installs on PyPy/Jython (but does not work). - 2.7.3.1 - 2012-04-20 * Python 2.5 support added. - 2.7.3.0 - 2012-04-20 * Updated from Python 2.7.3 * Python 2.4 support removed, now only supports 2.5, 2.6 and 2.7. (may consider py3k support at some point). * Pool improvments from Celery. * no-execv patch added (http://bugs.python.org/issue8713) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-billiard?expand=0&rev=3 --- billiard-0.3.1.tar.gz | 3 --- billiard-2.7.3.3.tar.gz | 3 +++ python-billiard.changes | 21 +++++++++++++++++ python-billiard.spec | 52 ++++++++++++++++++++--------------------- 4 files changed, 49 insertions(+), 30 deletions(-) delete mode 100644 billiard-0.3.1.tar.gz create mode 100644 billiard-2.7.3.3.tar.gz diff --git a/billiard-0.3.1.tar.gz b/billiard-0.3.1.tar.gz deleted file mode 100644 index 80a1186..0000000 --- a/billiard-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dd1d1a981d42b797aaf7bb155b4bfaffed2b1fa3c98fcb71036c7f87117b5aee -size 35203 diff --git a/billiard-2.7.3.3.tar.gz b/billiard-2.7.3.3.tar.gz new file mode 100644 index 0000000..a55509f --- /dev/null +++ b/billiard-2.7.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8796a9832be645722646d846c090ffd5b1ce88187554dab5cec334195c762f9 +size 115526 diff --git a/python-billiard.changes b/python-billiard.changes index b794a1a..7b13f2e 100644 --- a/python-billiard.changes +++ b/python-billiard.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Apr 25 19:09:15 UTC 2012 - jfunk@funktronics.ca + +- Generate new spec +- Update to 2.7.3.3 + * PyPy now falls back to using its internal _multiprocessing module, so + everything works except for forking_enable(False) (which silently degrades) + * Fixed Python 2.5 compat issues. + * Uses more with statements + * Merged some of the changes from the Python 3 branch. +- 2.7.3.2 - 2012-04-20 + * Now installs on PyPy/Jython (but does not work). +- 2.7.3.1 - 2012-04-20 + * Python 2.5 support added. +- 2.7.3.0 - 2012-04-20 + * Updated from Python 2.7.3 + * Python 2.4 support removed, now only supports 2.5, 2.6 and 2.7. (may + consider py3k support at some point). + * Pool improvments from Celery. + * no-execv patch added (http://bugs.python.org/issue8713) + ------------------------------------------------------------------- Fri Nov 25 07:55:37 UTC 2011 - jfunk@funktronics.ca diff --git a/python-billiard.spec b/python-billiard.spec index c610ad5..3bd6364 100644 --- a/python-billiard.spec +++ b/python-billiard.spec @@ -1,7 +1,7 @@ # # spec file for package python-billiard # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,43 +15,41 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define modname billiard -Name: python-%{modname} -Version: 0.3.1 -Release: 1 -License: BSD -Summary: Multiprocessing Pool Extensions +Name: python-billiard +Version: 2.7.3.3 +Release: 0 Url: http://github.com/ask/billiard -Group: Development/Libraries/Python -Source: http://pypi.python.org/packages/source/b/billiard/%{modname}-%{version}.tar.gz -BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools +Summary: Python multiprocessing fork +License: BSD-3-Clause +Group: Development/Languages/Python +Source: http://pypi.python.org/packages/source/b/billiard/billiard-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} -%if %{?suse_version: 0%{?suse_version} > 1110} %{!?suse_version:1} -BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-distribute +%if 0%{?suse_version} +%py_requires %endif +%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description -This package contains extensions to the multiprocessing pool. +billiard is a fork of the Python 2.7 multiprocessing package. The +multiprocessing package itself is a renamed and updated version of R Oudkerk's +pyprocessing package. This standalone variant is intended to be compatible with +Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk. %prep -%setup -q -n %{modname}-%{version} +%setup -q -n billiard-%{version} %build -export CFLAGS="%{optflags}" -python setup.py build +CFLAGS="%{optflags}" python setup.py build %install -python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES -%fdupes %{buildroot} +python setup.py install --prefix=%{_prefix} --root=%{buildroot} -%clean -rm -rf %{buildroot} - -%files -f INSTALLED_FILES -%defattr(-,root,root) -%doc AUTHORS Changelog LICENSE README TODO docs +%files +%defattr(-,root,root,-) +%doc CHANGES.txt LICENSE.txt README.rst Doc +%{python_sitearch}/* %changelog