14
0

Accepting request 1285981 from devel:languages:python

- Switch to pyroject macros.

OBS-URL: https://build.opensuse.org/request/show/1285981
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphobjinv?expand=0&rev=7
This commit is contained in:
2025-06-16 09:13:17 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 16 06:28:07 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyroject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 24 12:49:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com> Thu Apr 24 12:49:55 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -22,9 +22,9 @@ Version: 2.3.1.2
Release: 0 Release: 0
Summary: Sphinx objectsinv Inspection/Manipulation Tool Summary: Sphinx objectsinv Inspection/Manipulation Tool
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/bskinn/sphobjinv URL: https://github.com/bskinn/sphobjinv
Source: https://github.com/bskinn/sphobjinv/archive/refs/tags/v%{version}.tar.gz#/sphobjinv-%{version}.tar.gz Source: https://github.com/bskinn/sphobjinv/archive/refs/tags/v%{version}.tar.gz#/sphobjinv-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -55,10 +55,10 @@ Sphinx objects.inv Inspection/Manipulation Tool
sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py sed -i '1{/^#!/d}' src/sphobjinv/_vendored/fuzzywuzzy/*.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_clone -a %{buildroot}%{_bindir}/sphobjinv %python_clone -a %{buildroot}%{_bindir}/sphobjinv
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -82,6 +82,6 @@ donttest="test_name_lead_chars"
%license LICENSE.txt %license LICENSE.txt
%python_alternative %{_bindir}/sphobjinv %python_alternative %{_bindir}/sphobjinv
%{python_sitelib}/sphobjinv %{python_sitelib}/sphobjinv
%{python_sitelib}/sphobjinv-%{version}*-info %{python_sitelib}/sphobjinv-%{version}.dist-info
%changelog %changelog