17
0

Accepting request 983896 from home:bnavigator:branches:KDE:Applications

- Build for Python 3.9 instead of Python3.10
  * https://invent.kde.org/kdevelop/kdev-python/-/issues/4
  * bpo#40939
  * rh#1898116

OBS-URL: https://build.opensuse.org/request/show/983896
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdevelop5-plugin-python3?expand=0&rev=21
This commit is contained in:
2022-06-20 09:35:18 +00:00
committed by Git OBS Bridge
parent 954fd386cb
commit 1497df0aa6
2 changed files with 18 additions and 3 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Jun 20 08:52:27 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Build for Python 3.9 instead of Python3.10
* https://invent.kde.org/kdevelop/kdev-python/-/issues/4
* bpo#40939
* rh#1898116
-------------------------------------------------------------------
Wed Jun 8 09:54:01 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@@ -17,6 +17,13 @@
%define rname kdev-python
%if 0%{suse_version} >= 1550
# Not compatible with Python 3.10 rh#1898116 #bpo40939
# https://invent.kde.org/kdevelop/kdev-python/-/issues/4
%define mypython python39
%else
%define mypython python3
%endif
%bcond_without released
Name: kdevelop5-plugin-python3
Version: 22.04.2
@@ -34,8 +41,8 @@ BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: kdevelop5
BuildRequires: kf5-filesystem
BuildRequires: python3 >= 3.4.3
BuildRequires: python3-devel >= 3.4.3
BuildRequires: %mypython >= 3.4.3
BuildRequires: %mypython-devel >= 3.4.3
BuildRequires: cmake(KDevPlatform)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5TextEditor)
@@ -45,7 +52,7 @@ BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(Qt5Widgets)
Requires: kdevelop5
Recommends: %{name}-lang
Recommends: python3-pep8
Recommends: %mypython-pep8
Provides: kdevelop4-plugin-python = %{version}
Obsoletes: kdevelop4-plugin-python < %{version}
# The following are needed due to old unstable packages in KDE repositories