From b4e3c82bba05127c47cc3cd021c6ae52d4d835e5707338e9cac245c03638eba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 6 May 2025 11:14:39 +0000 Subject: [PATCH] Accepting request 1274881 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1274881 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pweave?expand=0&rev=20 --- python-Pweave.changes | 5 +++++ python-Pweave.spec | 13 +++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/python-Pweave.changes b/python-Pweave.changes index f4ac177..32c645d 100644 --- a/python-Pweave.changes +++ b/python-Pweave.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 6 09:45:31 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Wed Mar 13 10:09:40 UTC 2024 - Dirk Müller diff --git a/python-Pweave.spec b/python-Pweave.spec index 639640d..07043ae 100644 --- a/python-Pweave.spec +++ b/python-Pweave.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pweave # -# Copyright (c) 2024 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 @@ -17,8 +17,6 @@ %{?sle15_python_module_pythons} -# missing jupyter_ikernel -%global skip_python39 1 Name: python-Pweave Version: 0.30.3 Release: 0 @@ -28,7 +26,9 @@ URL: https://github.com/mpastell/Pweave Source: https://files.pythonhosted.org/packages/source/P/Pweave/Pweave-%{version}.tar.gz # PATCH-FIX-UPSTREAM https://github.com/mpastell/Pweave/pull/167 Adjust for API changes in Python-Markdown 3.0 Patch0: markdown.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Markdown @@ -75,10 +75,10 @@ with e.g. Sphinx or rest2web. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %python_clone -a %{buildroot}%{_bindir}/pweave %python_clone -a %{buildroot}%{_bindir}/ptangle @@ -110,6 +110,7 @@ with e.g. Sphinx or rest2web. %python_alternative %{_bindir}/ptangle %python_alternative %{_bindir}/pypublish %python_alternative %{_bindir}/pweave-convert -%{python_sitelib}/* +%{python_sitelib}/pweave +%{python_sitelib}/[Pp]weave-%{version}*info %changelog