Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
kdevelop-python


Commits:
860b4608 by Antonio Rojas at 2024-11-17T12:48:48+01:00
upgpkg: 24.08.3-2: Python 3.13 rebuild

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + python-3.13.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = kdevelop-python
        pkgdesc = Python language and documentation plugin for KDevelop
        pkgver = 24.08.3
-       pkgrel = 1
+       pkgrel = 2
        url = https://www.kdevelop.org/
        arch = x86_64
        groups = kde-applications
@@ -24,10 +24,12 @@ pkgbase = kdevelop-python
        optdepends = python-pycodestyle: for Python style checking
        source = 
https://download.kde.org/stable/release-service/24.08.3/src/kdev-python-24.08.3.tar.xz
        source = 
https://download.kde.org/stable/release-service/24.08.3/src/kdev-python-24.08.3.tar.xz.sig
+       source = python-3.13.patch
        validpgpkeys = CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7
        validpgpkeys = F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87
        validpgpkeys = D81C0CB38EB725EF6691C385BB463350D6EF31EF
        sha256sums = 
05644c30030bfd51cb541f803f05a42014cb5edf9ff5ebc23858211ace0ddcc2
        sha256sums = SKIP
+       sha256sums = 
06f8e8cd1f6a8bb47753fafc01267bd5ea3974c54b559a35d21fcaaa71e95589
 
 pkgname = kdevelop-python


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=kdevelop-python
 pkgver=24.08.3
-pkgrel=1
+pkgrel=2
 pkgdesc='Python language and documentation plugin for KDevelop'
 arch=(x86_64)
 url='https://www.kdevelop.org/'
@@ -25,15 +25,18 @@ makedepends=(extra-cmake-modules)
 optdepends=('python-pycodestyle: for Python style checking')
 groups=(kde-applications
         kdevelop)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/kdev-python-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/kdev-python-$pkgver.tar.xz{,.sig}
+        python-3.13.patch)
 sha256sums=('05644c30030bfd51cb541f803f05a42014cb5edf9ff5ebc23858211ace0ddcc2'
-            'SKIP')
+            'SKIP'
+            '06f8e8cd1f6a8bb47753fafc01267bd5ea3974c54b559a35d21fcaaa71e95589')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 
<[email protected]>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck 
<[email protected]>
               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker 
<[email protected]>
 
 prepare() {
-  sed -e 's|<3.12|<3.13|' -i kdev-python-$pkgver/CMakeLists.txt # Accept 
Python 3.12
+  sed -e 's|<3.13|<3.14|' -i kdev-python-$pkgver/CMakeLists.txt # Accept 
Python 3.13
+  patch -d kdev-python-$pkgver -p1 < python-3.13.patch
 }
 
 build() {


=====================================
python-3.13.patch
=====================================
@@ -0,0 +1,16 @@
+diff --git a/parser/python_header.h b/parser/python_header.h
+index 90dea6a5..6fef957a 100644
+--- a/parser/python_header.h
++++ b/parser/python_header.h
+@@ -13,11 +13,6 @@
+ 
+ #include <language/duchain/duchainlock.h>
+ 
+-#include "pyport.h"
+-#ifndef _WIN32
+-#include "pyconfig.h"
+-#endif
+-
+ #include "Python.h"
+ 
+ #include "ast.h"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kdevelop-python/-/commit/860b46087c154045679857e41ff2eba89464ada5

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/kdevelop-python/-/commit/860b46087c154045679857e41ff2eba89464ada5
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to