From 4aedc8c7e742009a79d4dcbf13f4d406c9705d2b5dd74ccf2602ca8a6b3fd1a7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 7 Nov 2024 08:09:13 +0000 Subject: [PATCH] - update to 2.0.3: * Fixed safety issues up to 2024-08-18. * Fixed new issues from pylint 3.2. * Fixed missing Python 3.12 in Trove classifiers. * Increased vrsions of GitHub Actions plugins used, to eliminate warnings about node v16. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nocaselist?expand=0&rev=13 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + nocaselist-2.0.2.tar.gz | 3 ++ nocaselist-2.0.3.tar.gz | 3 ++ python-nocaselist.changes | 73 +++++++++++++++++++++++++++++++++++++++ python-nocaselist.spec | 63 +++++++++++++++++++++++++++++++++ 6 files changed, 166 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 nocaselist-2.0.2.tar.gz create mode 100644 nocaselist-2.0.3.tar.gz create mode 100644 python-nocaselist.changes create mode 100644 python-nocaselist.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/nocaselist-2.0.2.tar.gz b/nocaselist-2.0.2.tar.gz new file mode 100644 index 0000000..6047e3f --- /dev/null +++ b/nocaselist-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:32708b700a1a53133e6bb5cc53332c9775b0c7c959a5f9725793171fd2f4c8a5 +size 29729 diff --git a/nocaselist-2.0.3.tar.gz b/nocaselist-2.0.3.tar.gz new file mode 100644 index 0000000..71bf552 --- /dev/null +++ b/nocaselist-2.0.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55714da8433fb4843ce797404977e4385d5e3df9e4aa00f7dde983fd87410fef +size 29827 diff --git a/python-nocaselist.changes b/python-nocaselist.changes new file mode 100644 index 0000000..56b7402 --- /dev/null +++ b/python-nocaselist.changes @@ -0,0 +1,73 @@ +------------------------------------------------------------------- +Thu Nov 7 08:07:59 UTC 2024 - Dirk Müller + +- update to 2.0.3: + * Fixed safety issues up to 2024-08-18. + * Fixed new issues from pylint 3.2. + * Fixed missing Python 3.12 in Trove classifiers. + * Increased vrsions of GitHub Actions plugins used, to eliminate + warnings about node v16. + +------------------------------------------------------------------- +Tue Jun 4 20:40:32 UTC 2024 - Dirk Müller + +- update to 2.0.2: + * support python 3.12 + * cleanup pip backtracking + * Fix content type of pacakge description + * use f-streings + +------------------------------------------------------------------- +Tue May 7 20:23:22 UTC 2024 - Dirk Müller + +- update to 2.0.1: + * Installation of this package using “setup.py” is no longer + supported. Use “pip” instead. + * Test: Fixed issues resulting from removal of support for + pytest.warns(None) in pytest version 8 + * Fixed safety issues up to 2024-05-04 + +------------------------------------------------------------------- +Fri Dec 1 17:04:19 UTC 2023 - Dirk Müller + +- update to 2.0.0: + * typing hints + * Fixed coveralls issues with KeyError and HTTP 422 + Unprocessable Entity. + * Added support for passing slices to '__setitem__()' and + '__delitem__()'. Expanded the testcases accordingly. + * Fixed incorrect error handling when passing objects of + unsupported types to the right hand operand of the rich + comparison methods of NocaseList. This previously caused + AttributeError "'list' object has no attribute 'lower'" and + TypeError "'int' object is not iterable" to be raised which was + confusing. This is now handled by returning 'NotImplemented' + from these methods as recommended by Python, causing TypeError + with a proper message to be raised by Python.# + * Resurrected support for byte strings as list values in the + default implementation of the casefold method. The list can now + contains unicode strings and byte strings. + * Added type hints and type checking with MyPy (issue #96). + +------------------------------------------------------------------- +Sat Oct 1 13:01:45 UTC 2022 - Dirk Müller + +- update to 1.0.6: + * Mitigated coveralls issue with HTTP status 422 + * Add python 3.9 support + * Test suite cleanups, Pylint 2.10 fixes + * Python 3.10 support + +------------------------------------------------------------------- +Mon Feb 1 18:14:57 UTC 2021 - Dirk Müller + +- update to 1.0.4: + * Migrated from Travis and Appveyor to GitHub Actions. This required changes + in several areas including dependent packages used for testing and + coverage. This did not cause any changes on dependent packages used for the + installation of the package. + +------------------------------------------------------------------- +Tue Oct 13 14:42:53 UTC 2020 - Benjamin Greiner + +- initial specfile 1.0.3 diff --git a/python-nocaselist.spec b/python-nocaselist.spec new file mode 100644 index 0000000..27bc014 --- /dev/null +++ b/python-nocaselist.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-nocaselist +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-nocaselist +Version: 2.0.3 +Release: 0 +Summary: A case-insensitive list for Python +License: Apache-2.0 +Group: Development/Languages/Python +URL: https://github.com/pywbem/nocaselist +Source: https://files.pythonhosted.org/packages/source/n/nocaselist/nocaselist-%{version}.tar.gz +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} +BuildRequires: %{python_module typing-extensions} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-typing-extensions +BuildArch: noarch +%python_subpackages + +%description +Class `NocaseList`_ is a case-insensitive list that preserves the lexical case +of its items. + +%prep +%setup -q -n nocaselist-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/nocaselist +%{python_sitelib}/nocaselist-%{version}.dist-info + +%changelog