From a7115b4893f3aa6f5f079ca649866c833a8f967fc8ba9019dbb86df9fbc9523e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 26 May 2025 12:23:56 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docrepr?expand=0&rev=11 --- python-docrepr.changes | 5 +++++ python-docrepr.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-docrepr.changes b/python-docrepr.changes index 4d15a79..b8b3f7b 100644 --- a/python-docrepr.changes +++ b/python-docrepr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 26 12:23:45 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Dec 5 21:55:24 UTC 2023 - Dirk Müller diff --git a/python-docrepr.spec b/python-docrepr.spec index fdf34b8..6347240 100644 --- a/python-docrepr.spec +++ b/python-docrepr.spec @@ -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 From 3bba9400c593f6945dec2223ab19de7ac1349fd9bb517e4e71f5ceb40a0b62bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 26 May 2025 12:52:09 +0000 Subject: [PATCH 2/2] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docrepr?expand=0&rev=12 --- python-docrepr.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-docrepr.spec b/python-docrepr.spec index 6347240..2703538 100644 --- a/python-docrepr.spec +++ b/python-docrepr.spec @@ -59,6 +59,6 @@ the utils.inspector module developed for the Spyder IDE. %doc README.md RELEASE.md CHANGELOG.md %license LICENSE.txt %{python_sitelib}/docrepr -%{python_sitelib}/docrepr-%{version}-*info +%{python_sitelib}/docrepr-%{version}*info %changelog