14
0

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
This commit is contained in:
2025-06-02 20:00:23 +00:00
committed by Git OBS Bridge
parent 90ed881ab2
commit 56dca280f6
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 2 07:52:16 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Mar 8 09:16:02 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

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