From 0760f2e111d013c61c21cf9ce9871598e0a2ea8ae87ce10ab2a756dff015e640 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 22 Apr 2024 07:35:32 +0000 Subject: [PATCH 1/3] Accepting request 1169488 from home:ecsos:python - Add %{?sle15_python_module_pythons} OBS-URL: https://build.opensuse.org/request/show/1169488 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=27 --- python-toolz.changes | 5 +++++ python-toolz.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-toolz.changes b/python-toolz.changes index 738fa1a..133dde5 100644 --- a/python-toolz.changes +++ b/python-toolz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 21 11:20:54 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + ------------------------------------------------------------------- Sat Mar 16 13:43:28 UTC 2024 - Dirk Müller diff --git a/python-toolz.spec b/python-toolz.spec index 77e44a1..58959b7 100644 --- a/python-toolz.spec +++ b/python-toolz.spec @@ -16,8 +16,7 @@ # -%{?!python_module:%define python_module() python3-%{**}} -%global skip_python2 1 +%{?sle15_python_module_pythons} Name: python-toolz Version: 0.12.1 Release: 0 From 78b1c4b2e6634c6e7a86b51a37c850d091786753e3116ddc2a00e74213c6da25 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Jun 2024 07:27:00 +0000 Subject: [PATCH 2/3] 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 From 8bed3e037e7723453adf59e5b113080c933938018c5d83ba2d0bea7dfa462c65 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 12 Jun 2024 07:27:09 +0000 Subject: [PATCH 3/3] - switch to PEP517 build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-toolz?expand=0&rev=29 --- python-toolz.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/python-toolz.changes b/python-toolz.changes index 133dde5..3421178 100644 --- a/python-toolz.changes +++ b/python-toolz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 12 07:27:01 UTC 2024 - Dirk Müller + +- switch to PEP517 build + ------------------------------------------------------------------- Sun Apr 21 11:20:54 UTC 2024 - ecsos