From 5fa4cdc9747a1be463c0da2f263025fc39b5663ed600abcea0f7cd0835f98628 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 16 Mar 2020 12:11:25 +0000 Subject: [PATCH] - update to 3.0.1: * Switched back to the smmap package name on PyPI and fixed the smmap2 mirror package (#44) * Fixed setup.py long_description rendering (#40) - remove delete_platform_specific_test.patch (upstream) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smmap?expand=0&rev=13 --- delete_platform_specific_test.patch | 21 --------------------- python-smmap.changes | 8 ++++++++ python-smmap.spec | 9 +++------ smmap-0.9.0.tar.gz | 3 --- smmap-3.0.1.tar.gz | 3 +++ 5 files changed, 14 insertions(+), 30 deletions(-) delete mode 100644 delete_platform_specific_test.patch delete mode 100644 smmap-0.9.0.tar.gz create mode 100644 smmap-3.0.1.tar.gz diff --git a/delete_platform_specific_test.patch b/delete_platform_specific_test.patch deleted file mode 100644 index 40beb1d..0000000 --- a/delete_platform_specific_test.patch +++ /dev/null @@ -1,21 +0,0 @@ -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 diff --git a/python-smmap.changes b/python-smmap.changes index 82ac8b4..181bed5 100644 --- a/python-smmap.changes +++ b/python-smmap.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Mar 16 12:09:46 UTC 2020 - Dirk Mueller + +- update to 3.0.1: + * Switched back to the smmap package name on PyPI and fixed the smmap2 mirror package (#44) + * Fixed setup.py long_description rendering (#40) +- remove delete_platform_specific_test.patch (upstream) + ------------------------------------------------------------------- Tue Dec 4 12:54:24 UTC 2018 - Matej Cepl diff --git a/python-smmap.spec b/python-smmap.spec index c86fcf1..88bbb9a 100644 --- a/python-smmap.spec +++ b/python-smmap.spec @@ -1,7 +1,7 @@ # # spec file for package python-smmap # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-smmap -Version: 0.9.0 +Version: 3.0.1 Release: 0 Summary: A pure git implementation of a sliding window memory map manager License: BSD-2-Clause Group: Development/Languages/Python -Url: https://github.com/gitpython-developers/smmap +URL: https://github.com/gitpython-developers/smmap Source: https://files.pythonhosted.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 BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION test requirements @@ -56,7 +54,6 @@ The documentation can be found here: http://packages.python.org/smmap %prep %setup -q -n smmap-%{version} -%patch0 -p1 %build %python_build diff --git a/smmap-0.9.0.tar.gz b/smmap-0.9.0.tar.gz deleted file mode 100644 index bd384b9..0000000 --- a/smmap-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e2b62b497bd5f0afebc002eda4d90df9d209c30ef257e8673c90a6b5c119d62 -size 22082 diff --git a/smmap-3.0.1.tar.gz b/smmap-3.0.1.tar.gz new file mode 100644 index 0000000..e0fc51a --- /dev/null +++ b/smmap-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:171484fe62793e3626c8b05dd752eb2ca01854b0c55a1efc0dc4210fccb65446 +size 23659