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
This commit is contained in:
2024-03-01 20:23:03 +00:00
committed by Git OBS Bridge
parent d1f3093609
commit 51e9c97abe
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 29 20:26:33 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Build PEP517 wheel
-------------------------------------------------------------------
Tue Feb 20 13:23:35 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -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