14
0

- update to 2024.1.1:

* move tests under package directory
  * PersistentDict: support frozendict, immutabledict, FrozenOrderedSet
  * Tag: implement eq, repr for DottedName
  * persistent_dict: separate different sources of KeyErrors
  * KeyBuilder: allow hashing of classes w/ update_persistent_hash
  * PersistentDict: replace _make_dir_recursively

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=43
This commit is contained in:
2024-03-21 09:32:45 +00:00
committed by Git OBS Bridge
parent c4b689f457
commit 90963d009c
4 changed files with 20 additions and 8 deletions

View File

@@ -16,10 +16,9 @@
#
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-pytools
Version: 2023.1.1
Version: 2024.1.1
Release: 0
Summary: A collection of tools for Python
License: MIT
@@ -27,10 +26,12 @@ URL: https://pypi.python.org/pypi/pytools
Source0: https://files.pythonhosted.org/packages/source/p/pytools/pytools-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module numpy >= 1.6.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module platformdirs >= 2.2.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions if %python-base < 3.11}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.6.0
@@ -58,10 +59,10 @@ nonetheless, here's what's on offer:
%setup -q -n pytools-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check