From b405759bb031a7502047ecf1a1491a7e4bf67e9387d1fd8b9b4ad464def623a7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 Jan 2024 17:48:41 +0000 Subject: [PATCH] - drop revert-back-to-pdm-pep517.patch: try to resolve build cycle differently - Update to 0.2.2 - Initial packaging for findpython 0.1.6. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-findpython?expand=0&rev=17 --- python-findpython.changes | 10 ++++++++-- python-findpython.spec | 6 ++---- revert-back-to-pdm-pep517.patch | 13 ------------- 3 files changed, 10 insertions(+), 19 deletions(-) delete mode 100644 revert-back-to-pdm-pep517.patch diff --git a/python-findpython.changes b/python-findpython.changes index 0944d40..dbadffc 100644 --- a/python-findpython.changes +++ b/python-findpython.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 5 17:47:42 UTC 2024 - Dirk Müller + +- drop revert-back-to-pdm-pep517.patch: + try to resolve build cycle differently + ------------------------------------------------------------------- Mon Dec 11 07:18:35 UTC 2023 - Steve Kowalik @@ -40,7 +46,7 @@ Fri Jan 20 12:13:56 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Tue Nov 8 00:26:09 UTC 2022 - Yogalakshmi Arunachalam -- Update to 0.2.2 +- Update to 0.2.2 * Prevent find_all exception when a clean pyenv is present - by @ferminho in #11 * Don't parse as LegacyVersion - by @frostming (e3466) @@ -57,4 +63,4 @@ Mon Aug 15 16:16:58 UTC 2022 - Ben Greiner ------------------------------------------------------------------- Tue Jun 14 06:06:48 UTC 2022 - Steve Kowalik -- Initial packaging for findpython 0.1.6. +- Initial packaging for findpython 0.1.6. diff --git a/python-findpython.spec b/python-findpython.spec index 198fb9e..8528604 100644 --- a/python-findpython.spec +++ b/python-findpython.spec @@ -1,7 +1,7 @@ # # spec file for package python-findpython # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,11 +24,9 @@ Summary: Utility to find python versions on your system License: MIT URL: https://github.com/frostming/findpython Source: https://files.pythonhosted.org/packages/source/f/findpython/findpython-%{version}.tar.gz -# PATCH-FIX-OPENSUSE pdm requires findpython, so we need to use pdm-pep517 -Patch0: revert-back-to-pdm-pep517.patch BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module packaging >= 20} -BuildRequires: %{python_module pdm-pep517} +BuildRequires: %{python_module pdm-backend} BuildRequires: %{python_module pip} BuildRequires: fdupes BuildRequires: git diff --git a/revert-back-to-pdm-pep517.patch b/revert-back-to-pdm-pep517.patch deleted file mode 100644 index d5e0a4d..0000000 --- a/revert-back-to-pdm-pep517.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: findpython-0.4.1/pyproject.toml -=================================================================== ---- findpython-0.4.1.orig/pyproject.toml -+++ findpython-0.4.1/pyproject.toml -@@ -81,6 +81,6 @@ known-first-party = [ - - [build-system] - requires = [ -- "pdm-backend", -+ "pdm-pep517", - ] --build-backend = "pdm.backend" -+build-backend = "pdm.pep517.api"