From 56a5d6c1c50a1dcecc190e1cd06d3c005e293a39dd3b8d54215898b26040754d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Jun 2025 13:18:24 +0000 Subject: [PATCH 1/2] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-github-alt?expand=0&rev=11 --- python-sphinxcontrib-github-alt.changes | 5 +++++ python-sphinxcontrib-github-alt.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-sphinxcontrib-github-alt.changes b/python-sphinxcontrib-github-alt.changes index 448d072..542b272 100644 --- a/python-sphinxcontrib-github-alt.changes +++ b/python-sphinxcontrib-github-alt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 12 13:18:06 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Tue Jul 28 09:33:03 UTC 2020 - Marketa Calabkova diff --git a/python-sphinxcontrib-github-alt.spec b/python-sphinxcontrib-github-alt.spec index 34dfd39..747f370 100644 --- a/python-sphinxcontrib-github-alt.spec +++ b/python-sphinxcontrib-github-alt.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinxcontrib-github-alt # -# Copyright (c) 2020 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-%{**}} %bcond_with test Name: python-sphinxcontrib-github-alt Version: 1.2 @@ -28,7 +27,9 @@ URL: https://github.com/Calysto/octave_kernel Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_github_alt/sphinxcontrib_github_alt-%{version}.tar.gz 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-Sphinx @@ -47,10 +48,10 @@ and set the variable github_project_url: %setup -q -n sphinxcontrib_github_alt-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check From 217a53e38eeb56baea81e92b65b08efe8b656490efa7cc89c18bc16caa9fc885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 13 Jun 2025 13:05:23 +0000 Subject: [PATCH 2/2] fix build deps OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-github-alt?expand=0&rev=12 --- python-sphinxcontrib-github-alt.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-sphinxcontrib-github-alt.spec b/python-sphinxcontrib-github-alt.spec index 747f370..8d5f3c6 100644 --- a/python-sphinxcontrib-github-alt.spec +++ b/python-sphinxcontrib-github-alt.spec @@ -27,8 +27,8 @@ URL: https://github.com/Calysto/octave_kernel Source0: https://files.pythonhosted.org/packages/source/s/sphinxcontrib_github_alt/sphinxcontrib_github_alt-%{version}.tar.gz BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module docutils} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros