From 925550316a8ae9da6556c22a7b00712e5ae73d4907a3c8d710fedd850bda6b5c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 11 Jun 2025 06:34:37 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyzmq?expand=0&rev=121 --- python-pyzmq.changes | 5 +++++ python-pyzmq.spec | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-pyzmq.changes b/python-pyzmq.changes index 1332bc9..743c87e 100644 --- a/python-pyzmq.changes +++ b/python-pyzmq.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:39 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Thu Mar 28 12:47:25 UTC 2024 - ecsos diff --git a/python-pyzmq.spec b/python-pyzmq.spec index 18d72f9..3105811 100644 --- a/python-pyzmq.spec +++ b/python-pyzmq.spec @@ -1,7 +1,7 @@ # # spec file for package python-pyzmq # -# 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 @@ -37,7 +37,9 @@ Source1: https://raw.githubusercontent.com/zeromq/pyzmq/v%{version}/pytes BuildRequires: %{python_module Cython} BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: zeromq-devel @@ -105,10 +107,10 @@ no_libzmq_extension = True %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %if %{with tests} @@ -135,7 +137,7 @@ popd %license LICENSE.BSD LICENSE.LESSER %doc AUTHORS.md README.md examples %{python_sitearch}/zmq -%{python_sitearch}/pyzmq-%{version}-py*.egg-info +%{python_sitearch}/pyzmq-%{version}.dist-info %exclude %{python_sitearch}/zmq/utils/*.h %exclude %{python_sitearch}/zmq/backend/cffi/_cdefs.h