kdevelop-python: rebuild for python3-3.13

This commit is contained in:
Andrew J. Hesford 2024-11-16 09:29:11 -05:00
parent a2c64c36e1
commit 5cb1085d52
2 changed files with 27 additions and 1 deletions

View file

@ -0,0 +1,26 @@
diff -ur a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt 2024-08-15 18:29:03.000000000 -0400
+++ b/CMakeLists.txt 2024-11-23 10:07:32.447444759 -0500
@@ -42,7 +42,7 @@
set(Python3_USE_STATIC_LIBS FALSE)
set(Python3_FIND_STRATEGY VERSION)
-find_package(Python3 3.4.3...<3.13 COMPONENTS Interpreter Development REQUIRED)
+find_package(Python3 3.4.3...<3.14 COMPONENTS Interpreter Development REQUIRED)
configure_file(kdevpythonversion.h.cmake "${CMAKE_CURRENT_BINARY_DIR}/kdevpythonversion.h" @ONLY)
diff -ur a/parser/python_header.h b/parser/python_header.h
--- a/parser/python_header.h 2024-11-23 10:06:59.481365933 -0500
+++ b/parser/python_header.h 2024-11-23 10:07:26.155429709 -0500
@@ -14,10 +14,6 @@
#include <language/duchain/duchainlock.h>
#include <sys/types.h> /* define ssize_t with musl libc */
-#include "pyport.h"
-#ifndef _WIN32
-#include "pyconfig.h"
-#endif
#include "Python.h"

View file

@ -1,7 +1,7 @@
# Template file for 'kdevelop-python'
pkgname=kdevelop-python
version=24.08.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake"
pycompile_dirs="usr/share/kdevpythonsupport"