- Update to 2.0.3:

* Installation of this package using “setup.py” is no longer supported.
  * Fixed issues resulting from removal of support for pytest.warns(None)
    in pytest version 8.
  * Added support for Python 3.12.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nocasedict?expand=0&rev=11
This commit is contained in:
Steve Kowalik 2024-05-08 02:17:09 +00:00 committed by Git OBS Bridge
parent bedc41b887
commit f2b1b48c40
4 changed files with 21 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:960cb699f1209da80ac39e3ab50aa7342fe8ca9f70606c23447a510550435e50
size 40660

3
nocasedict-2.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9
size 40678

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed May 8 02:15:26 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.0.3:
* Installation of this package using “setup.py” is no longer supported.
* Fixed issues resulting from removal of support for pytest.warns(None)
in pytest version 8.
* Added support for Python 3.12.
- Switch to pyproject macros.
-------------------------------------------------------------------
Thu Sep 14 11:43:21 UTC 2023 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-nocasedict
#
# 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
@ -17,15 +17,16 @@
Name: python-nocasedict
Version: 2.0.1
Version: 2.0.3
Release: 0
Summary: A case-insensitive ordered dictionary for Python
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: https://github.com/pywbem/nocasedict
Source: https://files.pythonhosted.org/packages/source/n/nocasedict/nocasedict-%{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
@ -39,19 +40,19 @@ the original lexical case of its keys.
%setup -q -n nocasedict-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%doc README.md
%license LICENSE
%{python_sitelib}/nocasedict
%{python_sitelib}/nocasedict-%{version}*info
%{python_sitelib}/nocasedict-%{version}.dist-info
%changelog