From 71543a8cf8bb76562933202d979dcb45e380d3443a5753fefe0d8189a9f3b426 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 15 May 2025 15:17:31 +0000 Subject: [PATCH] Accepting request 1277735 from home:mcalabkova:branches:devel:languages:python - Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277735 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-case?expand=0&rev=17 --- python-case.changes | 5 +++++ python-case.spec | 11 +++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/python-case.changes b/python-case.changes index d3a23e9..375f97c 100644 --- a/python-case.changes +++ b/python-case.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 15 12:51:38 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Sun Jun 11 13:54:56 UTC 2023 - ecsos diff --git a/python-case.spec b/python-case.spec index 4eb42b3..192914e 100644 --- a/python-case.spec +++ b/python-case.spec @@ -1,7 +1,7 @@ # # spec file for package python-case # -# Copyright (c) 2022 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 @@ -28,7 +28,9 @@ Source: https://files.pythonhosted.org/packages/source/c/case/case-%{ver Patch0: remove_unittest2.patch Patch1: remove_coverage.patch Patch2: remove-nose.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest @@ -45,10 +47,10 @@ Python unittest Utilities. %autopatch -p1 %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} #%%check no tests exist https://github.com/celery/case/issues/8 @@ -56,6 +58,7 @@ Python unittest Utilities. %files %{python_files} %license LICENSE %doc Changelog README.rst -%{python_sitelib}/* +%{python_sitelib}/case +%{python_sitelib}/case-%{version}*-info %changelog