From 51e9c97abe1fbc9ef3b5f4169016a66d0a290a75341a1c27ebeb5aaa875ccbc7 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 1 Mar 2024 20:23:03 +0000 Subject: [PATCH] Accepting request 1153608 from home:bnavigator:branches:devel:languages:python:mailman - Build PEP517 wheel OBS-URL: https://build.opensuse.org/request/show/1153608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailmanclient?expand=0&rev=37 --- python-mailmanclient.changes | 5 +++++ python-mailmanclient.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-mailmanclient.changes b/python-mailmanclient.changes index f545345..96ea138 100644 --- a/python-mailmanclient.changes +++ b/python-mailmanclient.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 29 20:26:33 UTC 2024 - Ben Greiner + +- Build PEP517 wheel + ------------------------------------------------------------------- Tue Feb 20 13:23:35 UTC 2024 - Markéta Machová diff --git a/python-mailmanclient.spec b/python-mailmanclient.spec index 1afa14b..4667da8 100644 --- a/python-mailmanclient.spec +++ b/python-mailmanclient.spec @@ -25,7 +25,9 @@ License: LGPL-3.0-only Group: Productivity/Networking/Email/Mailinglists URL: https://www.list.org/ Source: https://files.pythonhosted.org/packages/source/m/mailmanclient/mailmanclient-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests @@ -59,10 +61,10 @@ sed -i 's/six.moves.urllib_error/urllib.error/' src/mailmanclient/tests/test_dom %build export LC_ALL=C.UTF-8 -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -78,6 +80,6 @@ export LC_ALL=C.UTF-8 %doc README.rst %license COPYING.LESSER %{python_sitelib}/mailmanclient -%{python_sitelib}/mailmanclient-%{version}*-info +%{python_sitelib}/mailmanclient-%{version}.dist-info %changelog