From f2ea509d6f4d7fb82e78b317c4118995bf251490a2d30509f17495f9e89a7eec Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Jun 2024 07:27:00 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=28 --- python-toolz.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/python-toolz.spec b/python-toolz.spec index 58959b7..02bb14d 100644 --- a/python-toolz.spec +++ b/python-toolz.spec @@ -25,7 +25,9 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/pytoolz/toolz/ Source: https://files.pythonhosted.org/packages/source/t/toolz/toolz-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,20 +43,20 @@ A set of python utility functions for iterators, functions, and dictionaries. %setup -q -n toolz-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest +%pytest -k "not test_inspect_wrapped_property" %files %{python_files} %doc README.rst %license LICENSE.txt %{python_sitelib}/toolz/ %{python_sitelib}/tlz/ -%{python_sitelib}/toolz-%{version}*-info/ +%{python_sitelib}/toolz-%{version}.dist-info %changelog