Sync from SUSE:SLFO:Main python-immutables revision 2cea91cc61e3990b5a4fb514f24087ef

This commit is contained in:
Adrian Schröter 2024-05-03 21:02:22 +02:00
commit 4ff254258f
4 changed files with 189 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

BIN
immutables-0.19.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

97
python-immutables.changes Normal file
View File

@ -0,0 +1,97 @@
-------------------------------------------------------------------
Fri Apr 21 12:26:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:42:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Wed Oct 12 03:36:57 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 0.19
* Support for Python 3.11
-------------------------------------------------------------------
Mon Aug 22 22:16:34 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Don't do mypy static type checking of the sources in order to
avoid mypy in Ring1. The functionality of the binary rpm package
is not affected by properly typed python sources.
- Remove obsolete setup.py sed fix
- Don't catchall sitearch files in %files section
-------------------------------------------------------------------
Tue Jul 19 12:26:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.18:
* Fix iteration when tree is 7 levels deep and has collissions
* Test on python 3.10
* consolidate mypy and pytest config into pyproject.toml
-------------------------------------------------------------------
Tue Feb 22 09:01:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.16:
* Refactor typings
* Update Python 3.10 support, drop Python 3.5
* Fix test_none_collisions on 32-bit systems
* Clarify the license of the included pythoncapi_compat.h header
* Use cibuildwheel to build wheels
- drop skip_32bit_tests.patch, test_none_collisions-32-bit.patch (upstream)
-------------------------------------------------------------------
Thu Aug 5 06:23:30 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Upstream fixed problems with 32bit systems
(gh#MagicStack/immutables#69) so we have removed
skip_32bit_tests.patch and added new solution which actually fixes the
issue: test_none_collisions-32-bit.patch.
-------------------------------------------------------------------
Thu Apr 22 20:28:33 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 0.15
* python 3.9 support
-------------------------------------------------------------------
Mon Dec 7 15:34:37 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add skip_32bit_tests.patch (gh#MagicStack/immutables#53) to skip tests
which fail on 32bit architectures.
-------------------------------------------------------------------
Tue Oct 13 07:42:13 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- skip tests that fail on 32bit
-------------------------------------------------------------------
Wed Sep 16 11:27:37 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.14:
* python 3.8 support
* Various improvements w.r.t. type annotations & typing
* Fix pure-Python implementation to accept keyword argument
* Fix the mutation API to maintain elements count correctly
* Allow None to be used as key in pure-Python implementation.
- remove py38.patch (upstream)
-------------------------------------------------------------------
Mon Mar 9 08:33:40 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.11:
* Python 3.8 fixes
- Add one more py38 patch:
* py38.patch
-------------------------------------------------------------------
Tue Sep 10 13:49:53 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Format with spec-cleaner
-------------------------------------------------------------------
Sun Apr 14 10:46:18 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.9

66
python-immutables.spec Normal file
View File

@ -0,0 +1,66 @@
#
# spec file for package python-immutables
#
# Copyright (c) 2023 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-immutables
Version: 0.19
Release: 0
Summary: Immutable collections for Python
License: Apache-2.0
URL: https://github.com/MagicStack/immutables
Source: https://files.pythonhosted.org/packages/source/i/immutables/immutables-%{version}.tar.gz
BuildRequires: %{python_module devel >= 3.6}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %python_version_nodots < 38
Requires: python-typing-extensions >= 3.7.4.3
%endif
%python_subpackages
%description
Immutable collections for Python.
%prep
%autosetup -p1 -n immutables-%{version}
%build
export CFLAGS="%{optflags}"
%python_build
%install
%python_install
%{python_expand rm %{buildroot}%{$python_sitearch}/immutables/*.[ch]
%fdupes %{buildroot}%{$python_sitearch}
}
%check
export IMMU_SKIP_MYPY_TESTS=1
%pyunittest discover -v
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/immutables
%{python_sitearch}/immutables-%{version}*-info
%changelog