Hello community,

here is the log from the commit of package python-billiard for openSUSE:Factory 
checked in at 2017-08-10 14:02:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-billiard (Old)
 and      /work/SRC/openSUSE:Factory/.python-billiard.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-billiard"

Thu Aug 10 14:02:36 2017 rev:13 rq:508100 version:3.5.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-billiard/python-billiard.changes  
2016-01-26 10:14:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-billiard.new/python-billiard.changes     
2017-08-10 14:11:28.953696181 +0200
@@ -1,0 +2,27 @@
+Mon Jun 26 20:20:22 UTC 2017 - benoit.mo...@gmx.fr
+
+- update to version 3.5.0.2:
+  * max_memory_per_child was measured in kilobytes on Linux, but
+    bytes on *BSD/MacOS, it's now always kilobytes.
+  * Windows: Adds support for max_memory_per_child, but requires
+    the psutil package to be installed.
+  * Fixed bug in ForkingPickler.loadbuf, where it tried to pass
+    a BytesIO instance directly to ``pickle.loads`` on Python 2.7.
+- additional changes from version 3.5.0.1:
+  * Connection: Properly handle EINTR (Issue #191).
+  * Fixed bug with missing CreateProcess for Windows on Python 2.7.
+  * Adds Process._counter for compatibility with Python <3.5.
+- additional changes from version 3.5.0.0:
+  * No longer supports Python 2.6
+    You need Python 2.7 or later to use this version of billiard.
+  * Merged changes from CPython 3.5
+- convert the package to singlespec and import changes from
+  python3-billiard
+- change the source URL to pythonhosted.org
+- update the BuildRequires for test:
+  * remove mock, nose and unittest2
+  * add case and pytest
+- split the documentation to a separate package
+- remove the shebang cleanup: not needed anymore
+
+-------------------------------------------------------------------

Old:
----
  billiard-3.3.0.22.tar.gz

New:
----
  billiard-3.5.0.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-billiard.spec ++++++
--- /var/tmp/diff_new_pack.XcffIF/_old  2017-08-10 14:11:29.709589756 +0200
+++ /var/tmp/diff_new_pack.XcffIF/_new  2017-08-10 14:11:29.717588629 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-billiard
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,56 +16,79 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-billiard
-Version:        3.3.0.22
+Version:        3.5.0.2
 Release:        0
 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
+Source:         
https://files.pythonhosted.org/packages/source/b/billiard/billiard-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-# Documentation requirements:
-BuildRequires:  python-sphinx
+BuildRequires:  python-rpm-macros
+# Documentation requirements (only python3 needed):
+BuildRequires:  python3-Sphinx >= 0.5
 # Test requirements:
-BuildRequires:  python-mock
-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)")}
+BuildRequires:  %{python_module case >= 1.3.1}
+BuildRequires:  %{python_module pytest >= 3.0}
+Suggests:       %name-doc = %version
+%ifpython3
+BuildArch:      noarch
 %endif
 
+%package -n %{name}-doc
+Summary:        Documentation for %name
+Group:          Development/Languages/Python
+Provides:       %{python_module billiard-doc = %{version}}
+BuildArch:      noarch
+
+%python_subpackages
+
 %description
 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.
 
+%description -n %{name}-doc
+Documentation and help files for %name.
+
 %prep
 %setup -q -n billiard-%{version}
-# remove unwanted shebang
-sed -i '/^#!/ d' funtests/setup.py
 
 %build
-CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
-cd Doc && sphinx-build -b html . html
+%python_build
+pushd Doc
+sphinx-build -b html . html
+rm -r html/.buildinfo html/.doctrees
+popd
 
 %install
-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
+%python_install
 %fdupes %buildroot/%_prefix
 
 %check
-python setup.py test
+%python_exec setup.py test
 
-%files
+%files  %{python_files}
 %defattr(-,root,root,-)
-%doc CHANGES.txt LICENSE.txt README.rst Doc/html
+%doc CHANGES.txt README.rst
+%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
+%license LICENSE.txt
+%else
+%doc LICENSE.txt
+%endif
+%ifpython2
 %{python_sitearch}/*
+%else
+%{python_sitelib}/*
+%endif
+
+%files -n %{name}-doc
+%doc Doc/html
 
 %changelog

++++++ billiard-3.3.0.22.tar.gz -> billiard-3.5.0.2.tar.gz ++++++
++++ 17204 lines of diff (skipped)


Reply via email to