14
0

2 Commits

Author SHA256 Message Date
44728d57f5 Accepting request 1217421 from devel:languages:python
- update to 0.21:
  * Drop typing_extensions dependency
  * Replace `_PyLong_Format` with `PyNumber_ToBase`

OBS-URL: https://build.opensuse.org/request/show/1217421
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-immutables?expand=0&rev=16
2024-10-25 17:18:35 +00:00
7ee7d9c7c5 - update to 0.21:
* Drop typing_extensions dependency
  * Replace `_PyLong_Format` with `PyNumber_ToBase`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-immutables?expand=0&rev=32
2024-10-23 20:26:05 +00:00
2 changed files with 4 additions and 13 deletions

View File

@@ -1,9 +1,3 @@
-------------------------------------------------------------------
Wed Jul 2 05:34:49 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Actually run fdupes.
-------------------------------------------------------------------
Wed Oct 23 20:25:25 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-immutables
#
# Copyright (c) 2025 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
@@ -25,10 +25,8 @@ 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.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%python_subpackages
@@ -41,11 +39,10 @@ Immutable collections for Python.
%build
export CFLAGS="%{optflags}"
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_install
%check
export IMMU_SKIP_MYPY_TESTS=1
@@ -55,6 +52,6 @@ export IMMU_SKIP_MYPY_TESTS=1
%doc README.rst
%license LICENSE
%{python_sitearch}/immutables
%{python_sitearch}/immutables-%{version}.dist-info
%{python_sitearch}/immutables-%{version}*-info
%changelog