Sync from SUSE:SLFO:Main python-nocaselist revision d71a2fa0f262cca6c2b279b13b7a62b4
This commit is contained in:
parent
21cc19350a
commit
16bc353fe8
BIN
nocaselist-1.0.6.tar.gz
(Stored with Git LFS)
BIN
nocaselist-1.0.6.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
nocaselist-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
nocaselist-2.0.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,44 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 4 20:40:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
@ -14,9 +55,9 @@ Mon Feb 1 18:14:57 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
* 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.
|
||||
installation of the package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 13 14:42:53 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- initial specfile 1.0.3
|
||||
- initial specfile 1.0.3
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-nocaselist
|
||||
#
|
||||
# Copyright (c) 2022 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
|
||||
@ -16,19 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-nocaselist
|
||||
Version: 1.0.6
|
||||
Version: 2.0.2
|
||||
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
|
||||
|
||||
@ -40,19 +45,19 @@ of its items.
|
||||
%setup -q -n nocaselist-%{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}/nocaselist
|
||||
%{python_sitelib}/nocaselist-%{version}*info
|
||||
%{python_sitelib}/nocaselist-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user