From 7fe6ddf75d068fa4a7eec649e707f72dc6e4d754a64795a7fbcf1d9b4cf86c55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 2 Jun 2025 09:04:18 +0000 Subject: [PATCH] - Convert to pip-based build OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs-bootstrap?expand=0&rev=6 --- python-mkdocs-bootstrap.changes | 5 +++++ python-mkdocs-bootstrap.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-mkdocs-bootstrap.changes b/python-mkdocs-bootstrap.changes index 7d9dbc6..05615e1 100644 --- a/python-mkdocs-bootstrap.changes +++ b/python-mkdocs-bootstrap.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 2 09:03:57 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Thu Dec 7 22:30:18 UTC 2023 - Dirk Müller diff --git a/python-mkdocs-bootstrap.spec b/python-mkdocs-bootstrap.spec index 91a95c4..8894f6f 100644 --- a/python-mkdocs-bootstrap.spec +++ b/python-mkdocs-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package python-mkdocs-bootstrap # -# 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 @@ -24,7 +24,9 @@ License: BSD-2-Clause URL: https://mkdocs.github.io/mkdocs-bootstrap/ Source: https://files.pythonhosted.org/packages/source/m/mkdocs-bootstrap/mkdocs-bootstrap-%{version}.tar.gz BuildRequires: %{python_module mkdocs >= 1.1} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-mkdocs >= 1.1 @@ -38,10 +40,10 @@ Bootstrap theme for MkDocs %setup -q -n mkdocs-bootstrap-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files}