Hello community, here is the log from the commit of package python-BTrees for openSUSE:Factory checked in at 2017-07-21 22:46:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-BTrees (Old) and /work/SRC/openSUSE:Factory/.python-BTrees.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-BTrees" Fri Jul 21 22:46:53 2017 rev:5 rq:509207 version:4.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-BTrees/python-BTrees.changes 2015-05-06 07:50:02.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-BTrees.new/python-BTrees.changes 2017-07-21 22:46:54.709781241 +0200 @@ -1,0 +2,77 @@ +Mon Jul 10 11:19:10 UTC 2017 - [email protected] + +- Fix duplicate summaries + +------------------------------------------------------------------- +Sat Jun 24 12:19:41 UTC 2017 - [email protected] + +- Update to version 4.4.1 + * Fixed a packaging bug that caused extra files to be included + (some of which caused problems in some platforms). + 4.4.0: + * Allow None as a special key (sorted smaller than all others). + * This is a bit of a return to BTrees 3 behavior in that Nones + are allowed as keys again. Other objects with default ordering + are still not allowed as keys. + 4.3.2: + * Make the CPython implementation consistent with the + pure-Python implementation and only check object keys for + default comparison when setting keys. In Python 2 this makes it + possible to remove keys that were added using a less restrictive + version of BTrees. (In Python 3 keys that are unorderable still + cannot be removed.) Likewise, all versions can unpickle trees + that already had such keys. See: + https://github.com/zopefoundation/BTrees/issues/53 and + https://github.com/zopefoundation/BTrees/issues/51 + * Make the Python implementation consistent with the CPython + implementation and check object key identity before checking + equality and performing comparisons. This can allow fixing trees + that have keys that now have broken comparison functions. See + https://github.com/zopefoundation/BTrees/issues/50 + * Make the CPython implementation consistent with the + pure-Python implementation and no longer raise TypeError for an + object key (in object-keyed trees) with default comparison on + __getitem__, get or in operations. Instead, the results will be + a KeyError, the default value, and False, respectively. + Previously, CPython raised a TypeError in those cases, while the + Python implementation behaved as specified. + * Likewise, non-integer keys in integer-keyed trees will raise + KeyError, return the default and return False, respectively, in + both implementations. Previously, pure-Python raised a KeyError, + returned the default, and raised a TypeError, while CPython + raised TypeError in all three cases. + 4.3.1: + * Packaging: fix password used to automate wheel creation on + Travis. + 4.3.0: + * Fix unexpected OverflowError when passing 64bit values to + long keys / values on Win64. See: + https://github.com/zopefoundation/BTrees/issues/32 + * When testing PURE_PYTHON environments under tox, avoid + poisoning the user’s global wheel cache. + * Ensure that the pure-Python implementation, used on PyPy and + when a C compiler isn’t available for CPython, pickles + identically to the C version. Unpickling will choose the best + available implementation. This change prevents interoperability + problems and database corruption if both implementations are in + use. While it is no longer possible to pickle a Python + implementation and have it unpickle to the Python implementation + if the C implementation is available, existing Python pickles + will still unpickle to the Python implementation (until pickled + again). See: https://github.com/zopefoundation/BTrees/issues/19 + * Avoid creating invalid objects when unpickling empty BTrees + in a pure-Python environment. + * Drop support for Python 2.6 and 3.2. + 4.2.0: + * Add support for Python 3.5. + 4.1.4: + * Ensure that pure-Python Bucket and Set objects have a human + readable __repr__ like the C versions. + 4.1.3: + * Fix _p_changed when removing items from small pure-Python + BTrees/TreeSets and when adding items to small pure-Python Sets. + See: https://github.com/zopefoundation/BTrees/issues/13 + +- Converted to single-spec + +------------------------------------------------------------------- Old: ---- BTrees-4.1.2.tar.gz New: ---- BTrees-4.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-BTrees.spec ++++++ --- /var/tmp/diff_new_pack.Ov2acY/_old 2017-07-21 22:46:55.405683075 +0200 +++ /var/tmp/diff_new_pack.Ov2acY/_new 2017-07-21 22:46:55.421680818 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-BTrees # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2015 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -17,30 +17,30 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-BTrees -Version: 4.1.2 +Version: 4.4.1 Release: 0 -Summary: Scalable persistent object containers +Summary: Persistent B-tree object containers for Python License: ZPL-2.1 Group: Development/Libraries/Python Url: http://www.zope.org/Products/ZODB -Source: https://pypi.python.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-persistent-devel -BuildRequires: python-setuptools -BuildRequires: python-zope.interface -Requires: python-persistent -Requires: python-zope.interface +Source: https://files.pythonhosted.org/packages/source/B/BTrees/BTrees-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module persistent-devel} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module zope.interface} +BuildRequires: fdupes +BuildRequires: python-rpm-macros # Documentation requirements: -BuildRequires: python-Sphinx -BuildRequires: python-repoze.sphinx.autointerface +BuildRequires: %{python_module Sphinx} +BuildRequires: %{python_module repoze.sphinx.autointerface} # Testing requirements: -BuildRequires: python-transaction +BuildRequires: %{python_module transaction} +Requires: python-persistent +Requires: python-zope.interface BuildRoot: %{_tmppath}/%{name}-%{version}-build - -%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 +%python_subpackages %description This package contains a generic BTrees implementation for Python. It is @@ -53,7 +53,7 @@ BTrees.tests.test_SampleDataManager. %package devel -Summary: Scalable persistent object containers +Summary: Development files for the python-BTrees module Group: Development/Languages/Python Requires: %{name} = %{version} @@ -61,7 +61,7 @@ This package contains the files needed for binding the %{name} C module. %package doc -Summary: Scalable persistent object containers +Summary: Documentation for the python-BTrees module Group: Development/Libraries/Python Requires: %{name} = %{version} @@ -70,29 +70,33 @@ %prep %setup -q -n BTrees-%{version} +rm -rf BTrees.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} -rm %{buildroot}%python_sitearch/BTrees/*.c +%python_install +%{python_expand rm %{buildroot}%{$python_sitearch}/BTrees/*.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 PKG-INFO README.rst -%exclude %python_sitearch/BTrees/*.h +%exclude %{python_sitearch}/BTrees/*.h %{python_sitearch}/* -%files devel +%files %{python_files devel} %defattr(-,root,root,-) -%python_sitearch/BTrees/*.h +%{python_sitearch}/BTrees/*.h -%files doc +%files %{python_files doc} %defattr(-,root,root,-) %doc build/sphinx/html/ ++++++ BTrees-4.1.2.tar.gz -> BTrees-4.4.1.tar.gz ++++++ ++++ 2782 lines of diff (skipped)
