diff --git a/srcpkgs/kdevelop-python/patches/musl-headers-for-python3-devel.patch b/srcpkgs/kdevelop-python/patches/musl-headers-for-python3-devel.patch new file mode 100644 index 00000000000..821f183930c --- /dev/null +++ b/srcpkgs/kdevelop-python/patches/musl-headers-for-python3-devel.patch @@ -0,0 +1,10 @@ +--- a/parser/python_header.h ++++ b/parser/python_header.h +@@ -13,6 +13,7 @@ + + #include + ++#include /* define ssize_t with musl libc */ + #include "pyport.h" + #ifndef _WIN32 + #include "pyconfig.h" diff --git a/srcpkgs/kdevelop-python/template b/srcpkgs/kdevelop-python/template index e5c3c7094e8..27282d45ca7 100644 --- a/srcpkgs/kdevelop-python/template +++ b/srcpkgs/kdevelop-python/template @@ -1,7 +1,7 @@ # Template file for 'kdevelop-python' pkgname=kdevelop-python -version=5.6.2 -revision=2 +version=22.12.2 +revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" pycompile_dirs="usr/share/kdevpythonsupport" @@ -14,10 +14,10 @@ short_desc="Python 3 language and Django project support for KDevelop" maintainer="yopito " license="LGPL-2.0-or-later, GPL-2.0-or-later" homepage="https://www.kdevelop.org/" -distfiles="${KDE_SITE}/kdevelop/${version}/src/kdev-python-${version}.tar.xz" -checksum=20f9b771b961262ded986a4f32b8d259ad9f7bc48bb29eac0a5d5853be1d917f +changelog="https://kde.org/announcements/changelogs/gear/${version}/#kdev-python" +distfiles="${KDE_SITE}/release-service/${version}/src/kdev-python-${version}.tar.xz" +checksum=2521f2f2a7174dfb2bf1d962c460d40addc3bb486e9823c2b2707ced33456430 python_version=3 -broken="relies on parser headers removed in python 3.10, no upstream fix yet" post_install() { # don't install this python2 script: generates documentation_files, useless at runtime