14
0

- update to 2022.1:

* use platformdirs
  * add typing to memoize_in
  * type annotations

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytools?expand=0&rev=38
This commit is contained in:
2022-02-15 09:05:59 +00:00
committed by Git OBS Bridge
parent 4f4cd46fd3
commit 5f16c4a753
4 changed files with 15 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytools
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,23 +20,23 @@
%define skip_python2 1
%define skip_python36 1
Name: python-pytools
Version: 2021.2.3
Version: 2022.1
Release: 0
Summary: A collection of tools for Python
License: MIT
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 numpy >= 1.6.0}
BuildRequires: %{python_module platformdirs >= 2.2.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
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-numpy >= 1.6.0
Requires: python-platformdirs
%if %{python_version_nodots} <= 36
Requires: python-dataclasses >= 0.7
%endif