1
0

Accepting request 304136 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/304136
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-billiard?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2015-04-27 11:05:31 +00:00 committed by Git OBS Bridge
commit 033b91ae49
4 changed files with 33 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c04036f314c11632a49c15c57735ffb9e111983ee8d15e4d3e188be31583c1
size 150594

3
billiard-3.3.0.20.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:688f9466b1c3ae14106381e6dbd328115e75c5260c542eb48e6c46931f6928cc
size 150990

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Apr 25 19:37:13 UTC 2015 - benoit.monin@gmx.fr
- update to version 3.3.0.20:
* Pool: Timeouts will attempt to send SIGKILL, but this signal
does not exist on Windows. Replaced with SIGTERM.
- additional changes from version 3.3.0.19:
* Pool: Exceptions in user timeout callbacks are now logged
instead of crashing the pool. Contributed by Pierre Fersing.
* Pool: Exit codes in errors were improperly being represented
as signals.
* Pool: ``.map``. and ``.imap`` now working again.
* Now builds on FreeBSD 10. Contributed by Michael Fladischer.
- update project URL
- add fdupes as BuildRequires and call it after install
- remove BuildRequires python-nose-cover3, not needed by the tests
anymore
- set a minimum version for python-nose
- remove unwanted shebang of funtests/setup.py
- add -fno-strict-aliasing to CFLAGS to avoid potential breakage
-------------------------------------------------------------------
Fri Aug 15 11:40:21 UTC 2014 - mcihar@suse.cz

View File

@ -1,7 +1,7 @@
#
# spec file for package python-billiard
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,22 +17,22 @@
Name: python-billiard
Version: 3.3.0.18
Version: 3.3.0.20
Release: 0
Url: http://github.com/ask/billiard
Url: https://github.com/celery/billiard
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
BuildRequires: fdupes
BuildRequires: python-devel
BuildRequires: python-setuptools
# Documentation requirements:
BuildRequires: python-sphinx
# Test requirements:
BuildRequires: python-mock
BuildRequires: python-nose
BuildRequires: python-nose-cover3
BuildRequires: python-nose >= 1.3.4
BuildRequires: python-unittest2 >= 0.4.0
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@ -46,9 +46,11 @@ Python 2.4 and 2.5, and will draw it's fixes/improvements from python-trunk.
%prep
%setup -q -n billiard-%{version}
# remove unwanted shebang
sed -i '/^#!/ d' funtests/setup.py
%build
CFLAGS="%{optflags}" python setup.py build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
cd Doc && sphinx-build -b html . html
%install
@ -56,6 +58,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# Remove hidden files from generated documentation directory
rm -r Doc/html/.doctrees
rm -r Doc/html/.buildinfo
%fdupes %buildroot/%_prefix
%check
python setup.py test