From f2b1b48c4064bd9ef19e18f3dfd53135b7c7a8215b2991302c4b4967371bbe17 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 8 May 2024 02:17:09 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=202.0.3:=20=20=20*=20Installati?= =?UTF-8?q?on=20of=20this=20package=20using=20=E2=80=9Csetup.py=E2=80=9D?= =?UTF-8?q?=20is=20no=20longer=20supported.=20=20=20*=20Fixed=20issues=20r?= =?UTF-8?q?esulting=20from=20removal=20of=20support=20for=20pytest.warns(N?= =?UTF-8?q?one)=20=20=20=20=20in=20pytest=20version=208.=20=20=20*=20Added?= =?UTF-8?q?=20support=20for=20Python=203.12.=20-=20Switch=20to=20pyproject?= =?UTF-8?q?=20macros.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nocasedict?expand=0&rev=11 --- nocasedict-2.0.1.tar.gz | 3 --- nocasedict-2.0.3.tar.gz | 3 +++ python-nocasedict.changes | 10 ++++++++++ python-nocasedict.spec | 15 ++++++++------- 4 files changed, 21 insertions(+), 10 deletions(-) delete mode 100644 nocasedict-2.0.1.tar.gz create mode 100644 nocasedict-2.0.3.tar.gz diff --git a/nocasedict-2.0.1.tar.gz b/nocasedict-2.0.1.tar.gz deleted file mode 100644 index fba690e..0000000 --- a/nocasedict-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:960cb699f1209da80ac39e3ab50aa7342fe8ca9f70606c23447a510550435e50 -size 40660 diff --git a/nocasedict-2.0.3.tar.gz b/nocasedict-2.0.3.tar.gz new file mode 100644 index 0000000..6cdb5e8 --- /dev/null +++ b/nocasedict-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c9226c7f5a8a97ad51dcb0ae3157a720e3f7cb9c4568d22ea3a05e3f85658a9 +size 40678 diff --git a/python-nocasedict.changes b/python-nocasedict.changes index a84ed34..99a9ed2 100644 --- a/python-nocasedict.changes +++ b/python-nocasedict.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed May 8 02:15:26 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-nocasedict.spec b/python-nocasedict.spec index b573e12..98226f0 100644 --- a/python-nocasedict.spec +++ b/python-nocasedict.spec @@ -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