Hello community, here is the log from the commit of package python-smmap for openSUSE:Factory checked in at 2015-05-10 10:46:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-smmap (Old) and /work/SRC/openSUSE:Factory/.python-smmap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-smmap" Changes: -------- --- /work/SRC/openSUSE:Factory/python-smmap/python-smmap.changes 2013-10-25 11:32:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-smmap.new/python-smmap.changes 2015-05-10 10:46:21.000000000 +0200 @@ -1,0 +2,24 @@ +Tue May 5 17:54:52 UTC 2015 - [email protected] + +- update to version 0.9.0: + * Fixed issue with resources never being freed as mmaps were + never closed + * Client counting is now done manually, instead of relying on + pyton's reference count +- additional changes from version 0.8.5: + * Fixed Python 3.0-3.3 regression, which also causes smmap to + become about 3 times slower depending on the code path. It's + related to this bug (http://bugs.python.org/issue15958), which + was fixed in python 3.4 +- additional changes from version 0.8.4: + * Fixed Python 3 performance regression +- additional changes from version 0.8.3: + * Cleaned up code and assured it works sufficiently well with + python 3 +- update project URL +- add fdupes as BuildRequires and call it after install +- add dependencies (nose, nosexcover) for the tests +- add delete_platform_specific_test.patch: fix tests on powerpc +- pass -q to the test to avoid spamming the build log + +------------------------------------------------------------------- Old: ---- smmap-0.8.2.tar.gz New: ---- delete_platform_specific_test.patch smmap-0.9.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-smmap.spec ++++++ --- /var/tmp/diff_new_pack.2SX6KD/_old 2015-05-10 10:46:22.000000000 +0200 +++ /var/tmp/diff_new_pack.2SX6KD/_new 2015-05-10 10:46:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-smmap # -# Copyright (c) 2013 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,15 +17,20 @@ Name: python-smmap -Version: 0.8.2 +Version: 0.9.0 Release: 0 -Url: https://github.com/Byron/smmap +Url: https://github.com/gitpython-developers/smmap Summary: A pure git implementation of a sliding window memory map manager License: BSD-2-Clause Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/s/smmap/smmap-%{version}.tar.gz +# PATCH-FIX-OPENSUSE delete_platform_specific_test.patch -- fix tests on powerpc +Patch0: delete_platform_specific_test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: fdupes BuildRequires: python-devel +BuildRequires: python-nose +BuildRequires: python-nosexcover BuildRequires: python-setuptools %if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} @@ -46,15 +51,17 @@ %prep %setup -q -n smmap-%{version} +%patch0 -p1 %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%fdupes %{buildroot}/%{_prefix} %check -python setup.py test +python setup.py -q test %files %defattr(-,root,root,-) ++++++ delete_platform_specific_test.patch ++++++ Remove a test that fails on powerpc and probably any non x86 platform. Index: b/smmap/test/test_util.py =================================================================== --- a/smmap/test/test_util.py +++ b/smmap/test/test_util.py @@ -76,14 +76,6 @@ class TestMMan(TestBase): assert rfull.includes_ofs(0) and rfull.includes_ofs(fc.size - 1) and rfull.includes_ofs(half_size) assert not rfull.includes_ofs(-1) and not rfull.includes_ofs(sys.maxsize) - # with the values we have, this test only works on windows where an alignment - # size of 4096 is assumed. - # We only test on linux as it is inconsitent between the python versions - # as they use different mapping techniques to circumvent the missing offset - # argument of mmap. - if sys.platform != 'win32': - assert rhalfofs.includes_ofs(rofs) and not rhalfofs.includes_ofs(0) - # END handle platforms # auto-refcount assert rfull.client_count() == 1 ++++++ smmap-0.8.2.tar.gz -> smmap-0.9.0.tar.gz ++++++ ++++ 3554 lines of diff (skipped)
