diff --git a/nocasedict-2.0.5.tar.gz b/nocasedict-2.0.5.tar.gz deleted file mode 100644 index 144922bd0b44896ff7e431479608ba82cef63b04..0000000000000000000000000000000000000000 Binary files a/nocasedict-2.0.5.tar.gz and /dev/null differ diff --git a/nocasedict-2.1.0.tar.gz b/nocasedict-2.1.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..f91412563ce31903a0154cc5196736097ac2e858 Binary files /dev/null and b/nocasedict-2.1.0.tar.gz differ diff --git a/python-nocasedict.spec b/python-nocasedict.spec index f0be10f92904e1f488607ac6efd6e7ed9d4b6bcb..ca56722a79a402d7fc45e5f1315075819e3871f3 100644 --- a/python-nocasedict.spec +++ b/python-nocasedict.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-nocasedict -Version: 2.0.5 +Version: 2.1.0 Release: 1 Summary: A case-insensitive ordered dictionary for Python License: LGPL-2.0-only and LGPL-2.1-only and LGPL-2.0-or-later URL: https://github.com/pywbem/nocasedict -Source0: https://files.pythonhosted.org/packages/e5/22/e63ec53117720d4e0ec4fbb907e0283ebd2036d75e4c019b506aca304253/nocasedict-2.0.5.tar.gz +Source0: https://files.pythonhosted.org/packages/e5/22/e63ec53117720d4e0ec4fbb907e0283ebd2036d75e4c019b506aca304253/nocasedict-%{version}.tar.gz BuildArch: noarch %description @@ -34,6 +34,7 @@ Requires: python3-pathlib2 Requires: python3-pytest Requires: python3-virtualenv Requires: python3-pluggy +Requires: python3-typing-extensions %description -n python3-nocasedict A case-insensitive ordered dictionary for Python. @@ -45,12 +46,14 @@ A case-insensitive ordered dictionary for Python. %prep %autosetup -n nocasedict-%{version} +sed -i 's/"version", *//g' pyproject.toml +sed -i '/^\[project\]/a version = "%{version}"' pyproject.toml %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -78,15 +81,23 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %check -%{__python3} setup.py test +%pytest %files -n python3-nocasedict -f filelist.lst %dir %{python3_sitelib}/* +%{python3_sitelib}/nocasedict/__pycache__/*.pyc %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Sep 11 2025 liutao1 liutao1@kylinos.cn - 2.1.0-1 +- Update package to version 2.1.0 +- Dropped support for Python 3.6+3.7; Upgraded code to Python 3.8 +- Added support for Python 3.13 +- Fixed steps to start new version; added types to _version.py +- Upgraded safety; Fixed safety issues & dependencies + * Thu Jun 19 2025 guochao - 2.0.5-1 - Update package to version 2.0.5