14
0

- 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
This commit is contained in:
2024-01-05 17:48:41 +00:00
committed by Git OBS Bridge
parent 482f1c4d7a
commit b405759bb0
3 changed files with 10 additions and 19 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jan 5 17:47:42 UTC 2024 - Dirk Müller <dmueller@suse.com>
- drop revert-back-to-pdm-pep517.patch:
try to resolve build cycle differently
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Dec 11 07:18:35 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> Mon Dec 11 07:18:35 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-findpython # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 License: MIT
URL: https://github.com/frostming/findpython URL: https://github.com/frostming/findpython
Source: https://files.pythonhosted.org/packages/source/f/findpython/findpython-%{version}.tar.gz 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 base >= 3.7}
BuildRequires: %{python_module packaging >= 20} BuildRequires: %{python_module packaging >= 20}
BuildRequires: %{python_module pdm-pep517} BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: git BuildRequires: git

View File

@@ -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"