Sync from SUSE:SLFO:Main python-immutables revision a55093d7ab5f9fe07100bfd555796836

This commit is contained in:
Adrian Schröter 2024-12-13 11:34:39 +01:00
parent 4ff254258f
commit 26b6795059
4 changed files with 45 additions and 19 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Wed Oct 23 20:25:25 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.21:
* Drop typing_extensions dependency
* Replace `_PyLong_Format` with `PyNumber_ToBase`
-------------------------------------------------------------------
Fri Dec 1 16:59:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.20:
* Enable support for pattern matching (#96)
* add support for aix/sunos (#98)
* Python 3.12 compatibility (#105)
* Add __contains__ to MapKeys (#99)
* Add PEP 585 GenericAlias support (#101)
* Move metadata to `pyproject.toml`, fix test fixture inclusion
in sdist (#111)
- drop python312.patch (upstream)
-------------------------------------------------------------------
Mon Aug 14 20:48:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add python312.patch to fix build with python 3.12
-------------------------------------------------------------------
Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- limit to newer python versions, older are no longer needed
-------------------------------------------------------------------
Fri Apr 21 12:26:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
@ -31,6 +61,11 @@ Tue Jul 19 12:26:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
* Test on python 3.10
* consolidate mypy and pytest config into pyproject.toml
-------------------------------------------------------------------
Mon Apr 25 12:49:18 UTC 2022 - Pablo Suárez Hernández <pablo.suarezhernandez@suse.com>
- Add the package to SUSE Linux Enterprise 15 (jsc#SLE-24404)
-------------------------------------------------------------------
Tue Feb 22 09:01:33 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-immutables
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,25 +16,19 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-immutables
Version: 0.19
Version: 0.21
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 devel >= 3.8}
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
@ -49,9 +43,6 @@ export CFLAGS="%{optflags}"
%install
%python_install
%{python_expand rm %{buildroot}%{$python_sitearch}/immutables/*.[ch]
%fdupes %{buildroot}%{$python_sitearch}
}
%check
export IMMU_SKIP_MYPY_TESTS=1