From 83f1634bf98594a45ba08e1b29f954a0cd92bf31a75b61cc86f6a7607022b8db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 15 May 2025 10:46:47 +0000 Subject: [PATCH] Accepting request 1277692 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277692 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-application?expand=0&rev=5 --- python-application.changes | 5 +++++ python-application.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-application.changes b/python-application.changes index 6627661..d1cd104 100644 --- a/python-application.changes +++ b/python-application.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue May 13 13:46:31 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Mon Aug 30 09:56:56 UTC 2021 - Matej Cepl diff --git a/python-application.spec b/python-application.spec index e425ee4..b7d3acd 100644 --- a/python-application.spec +++ b/python-application.spec @@ -1,7 +1,7 @@ # # spec file for package python-application # -# Copyright (c) 2021 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-application Version: 3.0.3 Release: 0 @@ -28,9 +27,13 @@ Source: https://github.com/AGProjects/python3-application/archive/refs/t # PATCH-FIX-UPSTREAM examples_to_py3k.patch gh#AGProjects/python3-application#2 mcepl@suse.com # Replace py2k shebangs with py3k ones Patch0: examples_to_py3k.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-zope.interface +BuildArch: noarch %python_subpackages %description @@ -52,10 +55,10 @@ handle the following tasks: %autosetup -p1 -n python3-application-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check