17
0

Accepting request 1287769 from devel:languages:python

- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1287769
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elementpath?expand=0&rev=24
This commit is contained in:
2025-06-24 18:45:43 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 23 01:30:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Wed Mar 19 07:53:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

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