15
0

- update to 24.0.0:

* Per the RFC in issue [#365][i339], boltons is now **Python 3
    only**. 3.7+ for now.
  * Added Python 3.12 support ([#361][i361])
  * Fix [dictutils.OneToOne][dictutils.OneToOne]'s `update()`
    behavior with empty iterables

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-boltons?expand=0&rev=26
This commit is contained in:
2024-04-20 13:55:41 +00:00
committed by Git OBS Bridge
parent 8c4e8afcc6
commit 3022664fff
4 changed files with 20 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-boltons
#
# 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
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-boltons
Version: 23.1.1
Version: 24.0.0
Release: 0
Summary: The "Boltons" utility package for Python
License: BSD-3-Clause
URL: https://github.com/mahmoud/boltons
Source: https://files.pythonhosted.org/packages/source/b/boltons/boltons-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -40,10 +42,10 @@ http://boltons.readthedocs.org.
%autosetup -p1 -n boltons-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -53,6 +55,6 @@ http://boltons.readthedocs.org.
%license LICENSE
%doc README.md CHANGELOG.md docs/*.rst
%{python_sitelib}/boltons
%{python_sitelib}/boltons-%{version}*-info
%{python_sitelib}/boltons-%{version}.dist-info
%changelog