[packages/ka5-kdev-python] Rel 4; fix build

arekm arekm at pld-linux.org
Sat May 24 23:23:02 CEST 2025


commit aaa7db0fa20c0d00aa829bb94982bba0043630fb
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sat May 24 23:22:36 2025 +0200

    Rel 4; fix build

 ka5-kdev-python.spec |  4 +++-
 py13.patch           | 14 ++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/ka5-kdev-python.spec b/ka5-kdev-python.spec
index 473e7b7..39030a0 100644
--- a/ka5-kdev-python.spec
+++ b/ka5-kdev-python.spec
@@ -11,11 +11,12 @@ Summary:	KDE Integrated Development Environment - python
 Summary(pl.UTF-8):	Zintegrowane środowisko programisty dla KDE - python
 Name:		ka5-%{kaname}
 Version:	23.08.5
-Release:	3
+Release:	4
 License:	GPL
 Group:		X11/Development/Tools
 Source0:	https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
 # Source0-md5:	ed0af6c5062b18417f01e4520be61f40
+Patch0:		py13.patch
 URL:		http://www.kdevelop.org/
 BuildRequires:	Qt5Core-devel >= 5.15.2
 BuildRequires:	Qt5Gui-devel >= 5.15.2
@@ -54,6 +55,7 @@ KDE Integrated Development Environment - python.
 
 %prep
 %setup -q -n %{kaname}-%{version}
+%patch -P0 -p1
 
 %build
 %cmake \
diff --git a/py13.patch b/py13.patch
new file mode 100644
index 0000000..09bdcee
--- /dev/null
+++ b/py13.patch
@@ -0,0 +1,14 @@
+--- kdev-python-23.08.5/parser/python_header.h~	2024-02-10 00:19:32.000000000 +0100
++++ kdev-python-23.08.5/parser/python_header.h	2025-05-24 23:20:47.345904173 +0200
+@@ -13,11 +13,6 @@
+ 
+ #include <language/duchain/duchainlock.h>
+ 
+-#include "pyport.h"
+-#ifndef _WIN32
+-#include "pyconfig.h"
+-#endif
+-
+ #include "Python.h"
+ 
+ #include "ast.h"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka5-kdev-python.git/commitdiff/aaa7db0fa20c0d00aa829bb94982bba0043630fb



More information about the pld-cvs-commit mailing list