From a64a862868bcd64ad7cf84ffacf9ef692e438c6ae1edfc797335e381639dda11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 23 Jan 2025 12:57:22 +0000 Subject: [PATCH] Accepting request 1239841 from home:glaubitz:branches:devel:languages:python - Update to 1.0.1 * Add support for Python 3.13 - Switch package to modern Python Stack on SLE-15 * Use Python 3.11 on SLE-15 by default * Drop support for older Python versions - Switch build system from setuptools to pyproject.toml * Add python-pip and python-wheel to BuildRequires * Replace %python_build with %pyproject_wheel * Replace %python_install with %pyproject_install OBS-URL: https://build.opensuse.org/request/show/1239841 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cytoolz?expand=0&rev=20 --- cytoolz-1.0.0.tar.gz | 3 --- cytoolz-1.0.1.tar.gz | 3 +++ python-cytoolz.changes | 13 +++++++++++++ python-cytoolz.spec | 12 +++++++----- 4 files changed, 23 insertions(+), 8 deletions(-) delete mode 100644 cytoolz-1.0.0.tar.gz create mode 100644 cytoolz-1.0.1.tar.gz diff --git a/cytoolz-1.0.0.tar.gz b/cytoolz-1.0.0.tar.gz deleted file mode 100644 index 2122bfd..0000000 --- a/cytoolz-1.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd -size 626708 diff --git a/cytoolz-1.0.1.tar.gz b/cytoolz-1.0.1.tar.gz new file mode 100644 index 0000000..b631f75 --- /dev/null +++ b/cytoolz-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6 +size 626652 diff --git a/python-cytoolz.changes b/python-cytoolz.changes index 0a11a56..22520cf 100644 --- a/python-cytoolz.changes +++ b/python-cytoolz.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 23 11:13:46 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.0.1 + * Add support for Python 3.13 +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install + ------------------------------------------------------------------- Thu Oct 10 15:41:06 UTC 2024 - Dirk Müller diff --git a/python-cytoolz.spec b/python-cytoolz.spec index a2436e1..c774cd0 100644 --- a/python-cytoolz.spec +++ b/python-cytoolz.spec @@ -1,7 +1,7 @@ # # spec file for package python-cytoolz # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,9 @@ # -%define skip_python2 1 +%{?sle15_python_module_pythons} Name: python-cytoolz -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: High performance python functional utilities in Cython License: BSD-3-Clause @@ -26,9 +26,11 @@ URL: https://github.com/pytoolz/cytoolz Source: https://files.pythonhosted.org/packages/source/c/cytoolz/cytoolz-%{version}.tar.gz BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.5} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module toolz} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-toolz @@ -44,10 +46,10 @@ dictionaries. %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand rm -r %{buildroot}%{$python_sitearch}/cytoolz/tests %python_expand %fdupes %{buildroot}%{$python_sitearch}