15
0

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docrepr?expand=0&rev=11
This commit is contained in:
2025-05-26 12:23:56 +00:00
committed by Git OBS Bridge
parent 4237bac66f
commit a7115b4893
2 changed files with 10 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-docrepr
#
# 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() python-%{**} python3-%{**}}
Name: python-docrepr
Version: 0.2.0
Release: 0
@@ -28,7 +27,9 @@ Source: https://github.com/spyder-ide/docrepr/archive/v%{version}.tar.gz
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Jinja2
@@ -46,10 +47,10 @@ the utils.inspector module developed for the Spyder IDE.
%setup -q -n docrepr-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no upstream tests