2011-11-25 10:02:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package python-billiard
|
|
|
|
#
|
2013-03-22 17:19:17 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-11-25 10:02:48 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
2013-03-22 17:19:17 +01:00
|
|
|
|
2011-11-25 10:02:48 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2013-03-22 17:19:17 +01:00
|
|
|
|
2012-04-25 21:22:17 +02:00
|
|
|
Name: python-billiard
|
2013-06-28 11:12:03 +02:00
|
|
|
Version: 2.7.3.28
|
2012-04-25 21:22:17 +02:00
|
|
|
Release: 0
|
2011-11-25 10:02:48 +01:00
|
|
|
Url: http://github.com/ask/billiard
|
2012-04-25 21:22:17 +02:00
|
|
|
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
|
2011-11-25 10:02:48 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-04-25 21:22:17 +02:00
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-distribute
|
2013-06-28 11:12:03 +02:00
|
|
|
# Documentation requirements:
|
2012-05-24 00:28:32 +02:00
|
|
|
BuildRequires: python-sphinx
|
2013-06-28 11:12:03 +02:00
|
|
|
# Test requirements:
|
|
|
|
BuildRequires: python-mock
|
|
|
|
BuildRequires: python-nose
|
|
|
|
BuildRequires: python-nose-cover3
|
|
|
|
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)")}
|
2010-04-14 19:18:40 +02:00
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
2012-04-25 21:22:17 +02:00
|
|
|
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.
|
2010-04-14 19:18:40 +02:00
|
|
|
|
|
|
|
%prep
|
2012-04-25 21:22:17 +02:00
|
|
|
%setup -q -n billiard-%{version}
|
2010-04-14 19:18:40 +02:00
|
|
|
|
|
|
|
%build
|
2012-04-25 21:22:17 +02:00
|
|
|
CFLAGS="%{optflags}" python setup.py build
|
2013-06-28 11:12:03 +02:00
|
|
|
cd Doc && sphinx-build -b html . html
|
2010-04-14 19:18:40 +02:00
|
|
|
|
|
|
|
%install
|
2012-04-25 21:22:17 +02:00
|
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
2010-04-14 19:18:40 +02:00
|
|
|
|
2012-05-24 00:28:32 +02:00
|
|
|
%check
|
2013-06-28 11:12:03 +02:00
|
|
|
python setup.py test
|
2012-05-24 00:28:32 +02:00
|
|
|
|
2012-04-25 21:22:17 +02:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2012-05-24 00:28:32 +02:00
|
|
|
%doc CHANGES.txt LICENSE.txt README.rst Doc/html
|
2012-04-25 21:22:17 +02:00
|
|
|
%{python_sitearch}/*
|
2010-04-14 19:18:40 +02:00
|
|
|
|
|
|
|
%changelog
|