Hello community,

here is the log from the commit of package python-persistent for 
openSUSE:Factory checked in at 2017-07-21 22:46:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-persistent (Old)
 and      /work/SRC/openSUSE:Factory/.python-persistent.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-persistent"

Fri Jul 21 22:46:12 2017 rev:5 rq:506973 version:4.2.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-persistent/python-persistent.changes      
2015-05-11 19:49:25.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-persistent.new/python-persistent.changes 
2017-07-21 22:46:27.677594479 +0200
@@ -1,0 +2,61 @@
+Sat Jun 24 11:10:40 UTC 2017 - aloi...@gmx.com
+
+- Update to 4.2.4.2
+  * Packaging-only release: fix Python 2.7 manylinux wheels.
+  4.2.4.1:
+  * Packaging-only release: get manylinux wheel built 
+    automatically.
+  4.2.4:
+  * Avoid raising a SystemError: error return without exception 
+    set when loading an object with slots whose jar generates an 
+    exception (such as a ZODB POSKeyError) in setstate.
+  4.2.3:
+  * Fix the hashcode of Python TimeStamp objects on 64-bit 
+    Python on Windows. See 
+    https://github.com/zopefoundation/persistent/pull/55
+  * Stop calling gc.collect every time PickleCache.incrgc is 
+    called (every transaction boundary) in pure-Python mode (PyPy). 
+    This means that the reported size of the cache may be wrong 
+    (until the next GC), but it is much faster. This should not
+    have any observable effects for user code.
+  * Stop clearing the dict and slots of objects added to 
+    PickleCache.new_ghost (typically these values are passed to 
+    __new__ from the pickle data) in pure-Python mode (PyPy). This
+    matches the behaviour of the C code.
+  * Add support for Python 3.6.
+  * Fix __setstate__ interning when state parameter is not a 
+    built-in dict
+  4.2.2:
+  * Drop use of ctypes for determining maximum integer size, to 
+    increase pure-Python compatibility. See 
+    https://github.com/zopefoundation/persistent/pull/31
+  * Ensure that __slots__ attributes are cleared when a 
+    persistent object is ghostified. (This excluses classes that
+    override __new__. See 
+    https://github.com/zopefoundation/persistent/wiki/Notes_on_state_
+    new_and_slots if you’re curious.)
+  4.2.1:
+  * Fix the hashcode of C TimeStamp objects on 64-bit Python 3 
+    on Windows.
+  4.2.0:
+  * Fixed the Python(/PYPY) implementation TimeStamp.timeTime 
+    method to have subsecond precision.
+  * When testing PURE_PYTHON environments under tox, avoid 
+    poisoning the user’s global wheel cache.
+  * Add support for Python 3.5.
+  * Drop support for Python 2.6 and 3.2.
+  4.1.1:
+  * Fix manifest and re-upload to fix stray files included in 
+    4.1.0.
+  4.1.0:
+  * Make the Python implementation of Persistent and PickleCache 
+    behave more similarly to the C implementation. In particular, 
+    the Python version can now run the complete ZODB and ZEO test 
+    suites.
+  * Fix the hashcode of the Python TimeStamp on 32-bit platforms.
+
+- Converted to single-spec
+
+- Dropped fix_32-bit_timestamp_hashcode.patch (fixed upstream)
+
+-------------------------------------------------------------------

Old:
----
  fix_32-bit_timestamp_hashcode.patch
  persistent-4.0.9.tar.gz

New:
----
  persistent-4.2.4.2.tar.gz

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

Other differences:
------------------
++++++ python-persistent.spec ++++++
--- /var/tmp/diff_new_pack.zuNsgi/_old  2017-07-21 22:46:29.489338909 +0200
+++ /var/tmp/diff_new_pack.zuNsgi/_new  2017-07-21 22:46:29.497337781 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-persistent
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,28 +17,26 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-persistent
-Version:        4.0.9
+Version:        4.2.4.2
 Release:        0
-Url:            https://github.com/zopefoundation/persistent
 Summary:        Translucent persistent objects
 License:        ZPL-2.1
 Group:          Development/Languages/Python
-Source:         
https://pypi.python.org/packages/source/p/persistent/persistent-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM fix_32-bit_timestamp_hashcode.patch -- fix timestamp hash 
computation on 32-bit platform
-Patch:          fix_32-bit_timestamp_hashcode.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-zope.interface
-Requires:       python-zope.interface
+Url:            https://github.com/zopefoundation/persistent
+Source:         
https://files.pythonhosted.org/packages/source/p/persistent/persistent-%{version}.tar.gz
 # Documentation requirements:
-BuildRequires:  python-Sphinx
-BuildRequires:  python-repoze.sphinx.autointerface
-
-%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)")}
-%endif
+BuildRequires:  %{python_module Sphinx}
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module repoze.sphinx.autointerface}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module zope.interface}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:       python-zope.interface
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%python_subpackages
 
 %description
 This package contains a generic persistence implementation for Python. It forms
@@ -63,33 +61,36 @@
 
 %prep
 %setup -q -n persistent-%{version}
-%patch -p1
+rm -rf persistent.egg-info
 
 %build
-python setup.py build
-python setup.py build_sphinx && rm build/sphinx/html/.buildinfo
+%python_build
+%{_python_use_flavor python3}
+python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 # don't bother with development files
-rm %{buildroot}%python_sitearch/persistent/*.c
+%{python_expand rm %{buildroot}%{$python_sitearch}/persistent/*.c
+  %fdupes -s %{buildroot}%{$python_sitearch}
+}
 
 %check
-python setup.py -q test
+%python_exec setup.py -q test
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGES.rst COPYRIGHT.txt LICENSE.txt README.rst
-%exclude %python_sitearch/persistent/*.h
-%python_sitearch/*
+%exclude %{python_sitearch}/persistent/*.h
+%{python_sitearch}/*
 
-%files devel
+%files %{python_files devel}
 %defattr(-,root,root,-)
-%dir %py_incdir/persistent
-%py_incdir/persistent/*.h
-%python_sitearch/persistent/*.h
+%dir %{python_sysconfig_path include}/persistent
+%{python_sysconfig_path include}/persistent/*.h
+%{python_sitearch}/persistent/*.h
 
-%files doc
+%files %{python_files doc}
 %defattr(-,root,root,-)
 %doc build/sphinx/html/
 

++++++ persistent-4.0.9.tar.gz -> persistent-4.2.4.2.tar.gz ++++++
++++ 25552 lines of diff (skipped)


Reply via email to