From 40a24cd853e83ad16e9eba9fe0a94e251625366408a18c049ab4f64b00de9749 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 23 Jun 2025 01:33:02 +0000 Subject: [PATCH] - Switch to pyproject macros. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elementpath?expand=0&rev=47 --- python-elementpath.changes | 5 +++++ python-elementpath.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-elementpath.changes b/python-elementpath.changes index c04e693..f471995 100644 --- a/python-elementpath.changes +++ b/python-elementpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 23 01:30:07 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Mar 19 07:53:13 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-elementpath.spec b/python-elementpath.spec index 01e6f4b..218d89a 100644 --- a/python-elementpath.spec +++ b/python-elementpath.spec @@ -26,8 +26,10 @@ URL: https://github.com/sissaschool/elementpath Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +46,10 @@ data structures, both for the standard ElementTree library and for the rm tests/test_schema_proxy.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,6 +67,6 @@ donttest+=" or test_validate_json_to_xml" %doc CHANGELOG.rst README.rst %license LICENSE %{python_sitelib}/elementpath -%{python_sitelib}/elementpath-%{version}*-info +%{python_sitelib}/elementpath-%{version}.dist-info %changelog