From 56dca280f63b775f719437c94fa83f94b12b8da38a10e9cf835ae610179a21ab Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Mon, 2 Jun 2025 20:00:23 +0000 Subject: [PATCH] Accepting request 1281775 from devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1281775 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-linetable?expand=0&rev=2 --- python-linetable.changes | 5 +++++ python-linetable.spec | 12 +++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-linetable.changes b/python-linetable.changes index ca8ca8b..e3f1806 100644 --- a/python-linetable.changes +++ b/python-linetable.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 07:52:16 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Mar 8 09:16:02 UTC 2023 - Dirk Müller diff --git a/python-linetable.spec b/python-linetable.spec index d0983d0..0002760 100644 --- a/python-linetable.spec +++ b/python-linetable.spec @@ -1,7 +1,7 @@ # # spec file for package python-linetable # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} Name: python-linetable Version: 0.0.3 Release: 0 @@ -24,7 +23,9 @@ Summary: library to manage Python Locations Table (co_linetable) License: MIT URL: https://github.com/amol-/linetable Source: https://files.pythonhosted.org/packages/source/l/linetable/linetable-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -37,14 +38,15 @@ library to manage Python Locations Table (co_linetable) %setup -q -n linetable-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/linetable +%{python_sitelib}/linetable-%{version}*-info %changelog