14
0

- Update to 2021.2.3:

* Support pytools.tag in persistent_dict
  * Add a backport of pkgutil.resolve_name
  * Add persistent_dict.KeyBuilder.new_hash for hash alg customization
  * Use unordered_hash in KeyBuilder hashing frozenset
  * Drop dependency on, included obsolete copy of 'decorator' pypi module
  * make obj_array_vectorize work on class methods 
- Don't build for Python 3.6, due to no NumPy.
- Remove decorator from {Build,}Requires

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=36
This commit is contained in:
2021-04-19 02:03:20 +00:00
committed by Git OBS Bridge
parent 698bf5c6f7
commit 4f4cd46fd3
4 changed files with 18 additions and 7 deletions

View File

@@ -18,17 +18,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
Name: python-pytools
Version: 2021.1
Version: 2021.2.3
Release: 0
Summary: A collection of tools for Python
License: MIT
Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/pytools
Source0: https://files.pythonhosted.org/packages/source/p/pytools/pytools-%{version}.tar.gz
BuildRequires: %{python_module appdirs >= 1.4.0}
BuildRequires: %{python_module base}
BuildRequires: %{python_module decorator >= 3.2.0}
BuildRequires: %{python_module numpy >= 1.6.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -37,7 +36,6 @@ BuildRequires: python-rpm-macros
BuildRequires: ( python3-dataclasses >= 0.7 if python3-base <= 3.6 )
BuildRequires: ( python36-dataclasses >= 0.7 if python36-base )
Requires: python-appdirs >= 1.4.0
Requires: python-decorator >= 3.2.0
Requires: python-numpy >= 1.6.0
%if %{python_version_nodots} <= 36
Requires: python-dataclasses >= 0.7