commit 22b89ae8f62ed1945f25a7c70cec4c949f46480a1cd03efebbaecbf329865eb4 Author: Markéta Machová Date: Tue Jan 7 14:03:01 2025 +0000 - Update to 5.0.2 * Update CI, in line with gitdb by @EliahKagan in (#53) * No longer treat 3.12 as experimental on smmap CI by @EliahKagan in (#54) * Bump actions/setup-python from 4 to 5 by @dependabot in (#55) * Replace use of mktemp by @EliahKagan in (#56) * Use SPDX identifier by @Shortfinga in (#57) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-smmap?expand=0&rev=31 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-smmap.changes b/python-smmap.changes new file mode 100644 index 0000000..ffc3096 --- /dev/null +++ b/python-smmap.changes @@ -0,0 +1,136 @@ +------------------------------------------------------------------- +Tue Jan 7 13:27:14 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 5.0.2 + * Update CI, in line with gitdb by @EliahKagan in (#53) + * No longer treat 3.12 as experimental on smmap CI + by @EliahKagan in (#54) + * Bump actions/setup-python from 4 to 5 by @dependabot in (#55) + * Replace use of mktemp by @EliahKagan in (#56) + * Use SPDX identifier by @Shortfinga in (#57) + +------------------------------------------------------------------- +Mon Nov 27 16:06:42 UTC 2023 - Dirk Müller + +- update to 5.0.1: + * Added support for Python 3.12 + +------------------------------------------------------------------- +Fri Apr 21 12:34:14 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 13 22:44:56 UTC 2023 - Matej Cepl + +- Make calling of %{sle15modernpython} optional. + +------------------------------------------------------------------- +Tue Feb 22 12:21:00 UTC 2022 - Dirk Müller + +- update to 5.0.0: + * Dropped support 3.5 + * Added support for Python 3.10 + +------------------------------------------------------------------- +Mon Jul 19 06:53:42 UTC 2021 - Dirk Müller + +- update to 4.0.0: + * drop python 2 support + +------------------------------------------------------------------- +Mon Feb 1 18:17:09 UTC 2021 - Dirk Müller + +- update to 3.0.5: + - Restored Python 2 support removed in v3.0.2 + +------------------------------------------------------------------- +Sun Aug 16 20:46:09 UTC 2020 - John Vandenberg + +- Replace nose with pytest + +------------------------------------------------------------------- +Sun Jun 14 09:32:19 UTC 2020 - Dirk Mueller + +- update to 3.0.4 + * minor changes + +------------------------------------------------------------------- +Wed Apr 15 14:43:21 UTC 2020 - Marketa Calabkova + +- update to 3.0.2 + * Add github actions + * Remove basestring reference, no py2 support + * Update badges to represent reality + * Change required key to 2CF*, which seems to be the only good one + +------------------------------------------------------------------- +Mon Mar 30 10:58:58 UTC 2020 - Tomáš Chvátal + +- Install doc/license +- Sync the package with smmap2 to have the same fixes in + +------------------------------------------------------------------- +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 + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Tue Aug 15 17:49:10 UTC 2017 - daniel.molkentin@suse.com + +- Converted to python singlespec + +------------------------------------------------------------------- +Tue May 5 17:54:52 UTC 2015 - benoit.monin@gmx.fr + +- 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 + +------------------------------------------------------------------- +Thu Oct 24 11:14:45 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Wed Mar 14 13:40:44 UTC 2012 - saschpe@suse.de + +- Use upstream tarball +- Simplified macro usage +- Run testsuite + +------------------------------------------------------------------- +Thu Jan 19 02:02:31 UTC 2012 - alexandre@exatati.com.br + +- Update to 0.8.2: + - Sorry, no changelog yet. + +------------------------------------------------------------------- +Wed Jul 6 22:09:01 UTC 2011 - alexandre@exatati.com.br + +- Initial package (0.8.1) for openSUSE. diff --git a/python-smmap.spec b/python-smmap.spec new file mode 100644 index 0000000..04e2388 --- /dev/null +++ b/python-smmap.spec @@ -0,0 +1,66 @@ +# +# spec file for package python-smmap +# +# Copyright (c) 2025 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-smmap +Version: 5.0.2 +Release: 0 +Summary: A pure python implementation of a sliding window memory map manager +License: BSD-2-Clause +URL: https://github.com/gitpython-developers/smmap +Source: https://files.pythonhosted.org/packages/source/s/smmap/smmap-%{version}.tar.gz +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: dos2unix +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildArch: noarch +%python_subpackages + +%description +When reading from many possibly large files in a fashion similar to random +access, it is usually the fastest and most efficient to use memory maps. +Although memory maps have many advantages, they represent a very limited +system resource as every map uses one file descriptor, whose amount is +limited per process. On 32 bit systems, the amount of memory you can have +mapped at a time is naturally limited to theoretical 4GB of memory, which +may not be enough for some applications. + +The documentation can be found here: http://packages.python.org/smmap + +%prep +%setup -q -n smmap-%{version} +dos2unix README.md + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/smmap +%{python_sitelib}/smmap-%{version}-py*-info + +%changelog diff --git a/smmap-5.0.1.tar.gz b/smmap-5.0.1.tar.gz new file mode 100644 index 0000000..90f3cfd --- /dev/null +++ b/smmap-5.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dceeb6c0028fdb6734471eb07c0cd2aae706ccaecab45965ee83f11c8d3b1f62 +size 22291 diff --git a/smmap-5.0.2.tar.gz b/smmap-5.0.2.tar.gz new file mode 100644 index 0000000..2b5d91a --- /dev/null +++ b/smmap-5.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:26ea65a03958fa0c8a1c7e8c7a58fdc77221b8910f6be2131affade476898ad5 +size 22329