From b716d14a9d030809ac30148db108c65aeb627c0fe449b2072558bc8e4bc80104 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 4 Jun 2025 06:23:11 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=29 --- python-txaio.changes | 5 +++++ python-txaio.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-txaio.changes b/python-txaio.changes index 730a2ad..bd1b95b 100644 --- a/python-txaio.changes +++ b/python-txaio.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 4 06:08:04 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Mon Feb 20 04:48:22 UTC 2023 - Steve Kowalik diff --git a/python-txaio.spec b/python-txaio.spec index 53c735a..9b30322 100644 --- a/python-txaio.spec +++ b/python-txaio.spec @@ -1,7 +1,7 @@ # # spec file for package python-txaio # -# Copyright (c) 2023 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 @@ -23,8 +23,10 @@ Summary: WebSocket and WAMP in Python for Twisted and asyncio License: MIT URL: https://github.com/crossbario/txaio Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module testsuite} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Recommends: python-Twisted >= 20.3.0 @@ -46,10 +48,10 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check