commit 6b36134e9726c8566bf466636d40d24eb509b57a1881ed58a51e54483f473f86 Author: Christophe Marin Date: Thu Jul 4 20:42:20 2024 +0000 KDE Release Gear 24.05.2 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdevelop5-plugin-python3?expand=0&rev=81 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/applications.keyring b/applications.keyring new file mode 100644 index 0000000..2998088 Binary files /dev/null and b/applications.keyring differ diff --git a/fix-for-python3.6.patch b/fix-for-python3.6.patch new file mode 100644 index 0000000..30d3bb5 --- /dev/null +++ b/fix-for-python3.6.patch @@ -0,0 +1,54 @@ +Allow building kdev-python with older python versions +Author: Antonio Larrosa + +Index: kdev-python-22.12.3/parser/python_grammar.h +=================================================================== +--- kdev-python-22.12.3.orig/parser/python_grammar.h ++++ kdev-python-22.12.3/parser/python_grammar.h +@@ -78,6 +78,14 @@ public: + PyObject* ast_List; + PyObject* ast_Tuple; + PyObject* ast_Slice; ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 8, 0) ++ PyObject* ast_Ellipsis; ++ PyObject* ast_NameConstant; ++#endif ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 9, 0) ++ PyObject* ast_ExtSlice; ++ PyObject* ast_Index; ++#endif + + // expr_context + PyObject* ast_expr_context; +@@ -250,6 +258,16 @@ public: + Py_GRAMMAR_GET(mod, List); + Py_GRAMMAR_GET(mod, Tuple); + Py_GRAMMAR_GET(mod, Slice); ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 8, 0) ++ Py_GRAMMAR_GET(mod, Ellipsis); ++ Py_GRAMMAR_GET(mod, NameConstant); ++#endif ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 9, 0) ++ Py_GRAMMAR_GET(mod, ExtSlice); ++ Py_GRAMMAR_GET(mod, Index); ++#endif ++ ++ + + Py_GRAMMAR_GET(mod, expr_context); + Py_GRAMMAR_GET(mod, Load); +@@ -397,6 +415,14 @@ public: + Py_XDECREF(ast_List); + Py_XDECREF(ast_Tuple); + Py_XDECREF(ast_Slice); ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 8, 0) ++ Py_XDECREF(ast_Ellipsis); ++ Py_XDECREF(ast_NameConstant); ++#endif ++#if PYTHON_VERSION < QT_VERSION_CHECK(3, 9, 0) ++ Py_XDECREF(ast_ExtSlice); ++ Py_XDECREF(ast_Index); ++#endif + + Py_XDECREF(ast_expr_context); + Py_XDECREF(ast_Load); diff --git a/kdev-python-24.05.2.tar.xz b/kdev-python-24.05.2.tar.xz new file mode 100644 index 0000000..2a108ec --- /dev/null +++ b/kdev-python-24.05.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c6a0cd1ae719bb90ddb0d8d952fc68122048dae30d1a3094049e457e563b13f +size 1098280 diff --git a/kdev-python-24.05.2.tar.xz.sig b/kdev-python-24.05.2.tar.xz.sig new file mode 100644 index 0000000..a2c92e8 --- /dev/null +++ b/kdev-python-24.05.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDnOQACgkQu0YzUNbv +Me9duw/+KlES9u0cwdqh+d+2UE6UdcMIR5vXOLQvIm/SfkJb26Oz/4N5KvsUu44W ++7yjZk1tT8ej4KpGHzlExECHZ5p10nShWnkZJHaDyiEA4zUJ3zpfkvVtgwX+Qhc8 +JsYnaWqzFjibHoi+j1Ka68b5XaTsko1vNIYjoa5OaFgQE9w9Uhm1XBdglcoXk4ci +niROafF9Vyx33UNvS5GIxkgA89xn8scN2bvkSczH0OpNcyp1PXLqchjcWaxKTN9C +xE4ID0t/o7FTSqZmngVml82SIsfba1xsy8Y6ULLm8/tLeXJdmJmz9AoFgsyAal4R +mUtIwcoFU61sSr5X31KP26ahRz/B7w1H6Sf6SARbWMVhUX9a9I4Gn7MRcs+NkTe/ +q1Jh+21Rckgiba6qVP4ipwO8OQVr6USNyM4sKec/Z1iAVNQSdmAnVuv8r+GNnkyo +9ItEGed3YAoDA7DDbBqw9heOM8rGT/cZyo0c4i4bIFXtOcJzZhwZmN495fVEaXp+ +GhnbROADJsVxakh263OA4dC3Feqe96r9Kpa7qECnwETGJSWpJwPfYM8S96uKAk6/ +rwwtK9B4k+p0qlpKUXjkXp9V1hOJaQAzJWCrW7difqNTPBib2HeVySsE9EJ+pPZ0 +dNkHlYTFJzUrUHFXEMPp6tylW4Q6SjeaOeeH2SolOOse2okiXT0= +=tRrW +-----END PGP SIGNATURE----- diff --git a/kdevelop5-plugin-python3.changes b/kdevelop5-plugin-python3.changes new file mode 100644 index 0000000..e90541f --- /dev/null +++ b/kdevelop5-plugin-python3.changes @@ -0,0 +1,615 @@ +------------------------------------------------------------------- +Tue Jul 2 13:54:12 UTC 2024 - Christophe Marin + +- Update to 24.05.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.2/ +- No code change since 24.05.1 + +------------------------------------------------------------------- +Wed Jun 12 07:33:03 UTC 2024 - Christophe Marin + +- Update to 24.05.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.05.1/ +- No code change since 24.05.0 + +------------------------------------------------------------------- +Sun May 19 09:55:52 UTC 2024 - Christophe Marin + +- Update to 24.05.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/24.05.0/ +- No code change since 24.04.80 + +------------------------------------------------------------------- +Fri May 3 09:15:38 UTC 2024 - Christophe Marin + +- Update to 24.04.80 + * New feature release +- Changes since 24.02.2: + * Use FindPython3 instead of FindPythonInterp and FindPythonLibs + +------------------------------------------------------------------- +Tue Apr 9 18:08:01 UTC 2024 - Christophe Marin + +- Update to 24.02.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.2/ +- No code change since 24.02.1 + +------------------------------------------------------------------- +Tue Mar 19 15:26:10 UTC 2024 - Christophe Marin + +- Update to 24.02.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/24.02.1/ +- No code change since 24.02.0 + +------------------------------------------------------------------- +Fri Feb 23 13:59:08 UTC 2024 - Christophe Marin + +- Update to 24.02.0 + * New feature release +- No code change since 24.01.95 + +------------------------------------------------------------------- +Fri Feb 9 16:08:15 UTC 2024 - Christophe Marin + +- Update to 24.01.95 + * https://kde.org/announcements/megarelease/6/rc2/ + +------------------------------------------------------------------- +Tue Dec 5 14:19:31 UTC 2023 - Christophe Marin + +- Update to 23.08.4 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.4/ +- No code change since 23.08.3 + +------------------------------------------------------------------- +Tue Nov 7 17:04:34 UTC 2023 - Christophe Marin + +- Update to 23.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.3/ +- No code change since 23.08.2 + +------------------------------------------------------------------- +Tue Oct 10 18:27:21 UTC 2023 - Christophe Marin + +- Update to 23.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.2/ +- No code change since 23.08.1 + +------------------------------------------------------------------- +Tue Sep 12 11:55:50 UTC 2023 - Christophe Marin + +- Update to 23.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.08.1/ +- No code change since 23.08.0 + +------------------------------------------------------------------- +Sun Aug 20 13:59:24 UTC 2023 - Christophe Marin + +- Update to 23.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.08.0/ +- No code change since 23.07.90 + +------------------------------------------------------------------- +Mon Aug 14 08:02:41 UTC 2023 - Christophe Marin + +- Update to 23.07.90 + * New feature release +- No code change since 23.07.80 + +------------------------------------------------------------------- +Tue Aug 1 10:13:43 UTC 2023 - Christophe Marin + +- Update to 23.07.80 + * New feature release +- Changes since 23.04.3: + * Add explicit moc includes to sources for moc-covered headers + +------------------------------------------------------------------- +Tue Jul 4 10:19:41 UTC 2023 - Christophe Marin + +- Update to 23.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.3/ +- No code change since 23.04.2 + +------------------------------------------------------------------- +Fri Jun 23 07:57:12 UTC 2023 - Christophe Marin + +- Use the latest python version on Tumbleweed + +------------------------------------------------------------------- +Tue Jun 6 20:00:58 UTC 2023 - Christophe Marin + +- Update to 23.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.2/ +- No code change since 23.04.1 + +------------------------------------------------------------------- +Tue May 9 10:46:55 UTC 2023 - Christophe Marin + +- Update to 23.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/23.04.1/ +- No code change since 23.04.0 + +------------------------------------------------------------------- +Sat Apr 15 08:45:42 UTC 2023 - Christophe Marin + +- Update to 23.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/23.04.0/ + +------------------------------------------------------------------- +Fri Mar 31 16:41:57 UTC 2023 - Christophe Marin + +- Update to 23.03.90 + * New feature release + +------------------------------------------------------------------- +Fri Mar 17 20:43:25 UTC 2023 - Christophe Marin + +- Update to 23.03.80 + * New feature release + +------------------------------------------------------------------- +Thu Mar 16 13:22:29 UTC 2023 - Antonio Larrosa + +- Add patch that fixes build with python < 3.9 as in SLE/Backports: + * fix-for-python3.6.patch + +------------------------------------------------------------------- +Tue Feb 28 09:45:56 UTC 2023 - Christophe Marin + +- Update to 22.12.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.3/ + +------------------------------------------------------------------- +Tue Jan 31 10:33:36 UTC 2023 - Christophe Marin + +- Update to 22.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.2/ + +------------------------------------------------------------------- +Tue Jan 3 10:19:59 UTC 2023 - Christophe Marin + +- Update to 22.12.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.12.1/ + +------------------------------------------------------------------- +Fri Dec 2 12:25:14 UTC 2022 - Christophe Marin + +- Update to 22.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.12.0/ + +------------------------------------------------------------------- +Sat Nov 26 16:44:55 UTC 2022 - Christophe Giboudeaux + +- Update to 22.11.90 + * New feature release + +------------------------------------------------------------------- +Sat Nov 12 08:54:02 UTC 2022 - Christophe Giboudeaux + +- Update to 22.11.80 + * New feature release + +------------------------------------------------------------------- +Tue Nov 1 11:20:23 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.3/ + +------------------------------------------------------------------- +Tue Oct 11 14:32:28 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.2/ + +------------------------------------------------------------------- +Tue Sep 6 15:19:38 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.08.1/ + +------------------------------------------------------------------- +Sun Aug 14 09:42:21 UTC 2022 - Christophe Giboudeaux + +- Update to 22.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.08.0/ + +------------------------------------------------------------------- +Fri Aug 5 12:10:47 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.90 + * New feature release + +------------------------------------------------------------------- +Sat Jul 16 08:28:01 UTC 2022 - Christophe Giboudeaux + +- Update to 22.07.80 + * New feature release + +------------------------------------------------------------------- +Tue Jul 5 17:03:12 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.3/ + +------------------------------------------------------------------- +Mon Jun 20 08:52:27 UTC 2022 - Ben Greiner + +- 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 + +- Update to 22.04.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.2/ + +------------------------------------------------------------------- +Tue May 10 16:29:56 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/22.04.1/ + +------------------------------------------------------------------- +Mon Apr 18 07:51:35 UTC 2022 - Christophe Giboudeaux + +- Update to 22.04.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/22.04.0/ + +------------------------------------------------------------------- +Fri Apr 8 18:18:41 UTC 2022 - Christophe Giboudeaux + +- Update to 22.03.90 + * New feature release + +------------------------------------------------------------------- +Wed Mar 23 08:14:03 UTC 2022 - Christophe Giboudeaux + +- Update to 22.03.80 + * New feature release +- Changes since 21.12.3: + * Add CI + +------------------------------------------------------------------- +Tue Mar 1 09:57:06 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.3 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.3/ +- No code change since 21.12.2 + +------------------------------------------------------------------- +Tue Feb 1 13:02:54 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.2 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.2/ +- No code change since 21.12.1 + +------------------------------------------------------------------- +Tue Jan 4 10:25:33 UTC 2022 - Christophe Giboudeaux + +- Update to 21.12.1 + * New bugfix release + * For more details please see: + * https://kde.org/announcements/gear/21.12.1/ +- No code change since 21.12.0 + +------------------------------------------------------------------- +Fri Dec 3 19:21:55 UTC 2021 - Christophe Giboudeaux + +- Update to 21.12.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/21.12.0/ +- No code change since 21.11.90 + +------------------------------------------------------------------- +Sat Nov 27 17:47:46 UTC 2021 - Christophe Giboudeaux + +- Update to 21.11.90 + * New feature release +- No code change since 21.11.80 + +------------------------------------------------------------------- +Sat Nov 13 18:07:45 UTC 2021 - Christophe Giboudeaux + +- Update to 21.11.80 + * New feature release + +------------------------------------------------------------------- +Wed Feb 3 10:33:42 UTC 2021 - wbauer@tmo.at + +- Update to 5.6.2 + * No code changes + +------------------------------------------------------------------- +Wed Dec 9 20:39:59 UTC 2020 - wbauer@tmo.at + +- Update to 5.6.1 + * Fix an incompatibility with Python versions earlier than 3.9.0, + which led to instability (kde#426292) + * Change PEP8 max line length configuration single steps to 1 + +------------------------------------------------------------------- +Tue Sep 8 11:36:22 UTC 2020 - wbauer@tmo.at + +- Update to 5.6.0 + * Support for Python 3.9 (kde#419290) + + Distro packages may be compiled against an earlier CPython + version, and thus not include this + * Set parser feature version correctly for Python 3.8+ + * Fix highlighting range bugs with CPython 3.8.2+ + +------------------------------------------------------------------- +Thu Aug 27 09:24:37 UTC 2020 - Christophe Giboudeaux + +- Spec cleanup + +------------------------------------------------------------------- +Tue Jun 2 14:13:25 UTC 2020 - wbauer@tmo.at + +- Update to 5.5.2 + * No code changes + +------------------------------------------------------------------- +Tue May 5 20:54:16 UTC 2020 - wbauer@tmo.at + +- Update to 5.5.1 + * No code changes + +------------------------------------------------------------------- +Mon Feb 3 06:48:13 UTC 2020 - wbauer@tmo.at + +- Update to 5.5.0 + * Initial Python 3.8 support (kde#411956) + +------------------------------------------------------------------- +Tue Jan 7 13:55:56 UTC 2020 - wbauer@tmo.at + +- Update to 5.4.6 + * No code changes + +------------------------------------------------------------------- +Mon Dec 2 17:33:21 UTC 2019 - wbauer@tmo.at + +- Update to 5.4.5 + * No code changes + +------------------------------------------------------------------- +Tue Nov 5 10:12:25 UTC 2019 - wbauer@tmo.at + +- Update to 5.4.4 + * No code changes + +------------------------------------------------------------------- +Tue Oct 22 10:55:35 UTC 2019 - wbauer@tmo.at + +- Update to 5.4.3 + * No code changes + +------------------------------------------------------------------- +Tue Sep 3 12:10:51 UTC 2019 - wbauer@tmo.at + +- Update to 5.4.2 + * no code changes + +------------------------------------------------------------------- +Tue Aug 13 08:14:54 UTC 2019 - Christophe Giboudeaux + +- Update to 5.4.1 + * no code changes + +------------------------------------------------------------------- +Tue Aug 6 11:46:22 UTC 2019 - wbauer@tmo.at + +- New upstream release 5.4.0 + * no code changes, just minor cleanups and adaptions to changes + in the kdevplatform API + +------------------------------------------------------------------- +Thu Jul 18 08:08:27 UTC 2019 - wbauer@tmo.at + +- New upstream release 5.3.3 + * Use KDE_INSTALL_LOGGINGCATEGORIESDIR for kdebugsettings + .categories file + +------------------------------------------------------------------- +Thu Mar 7 11:41:58 UTC 2019 - wbauer@tmo.at + +- New upstream release 5.3.2 + * Fix crash when finding context inside annotated assignments + (kde#403045) + +------------------------------------------------------------------- +Sat Dec 22 19:18:50 UTC 2018 - wbauer@tmo.at + +- New upstream release 5.3.1 + * Remove two outdated methods from shipped built-in documentation +- Run spec-cleaner + +------------------------------------------------------------------- +Wed Nov 14 10:28:19 UTC 2018 - wbauer@tmo.at + +- New upstream release 5.3.0 + * Inject environment profile variables into debug process + environment (kde#322477) + * Improve support for 'with' statements (kde#399533, kde#399534) +- Remove unnecessary build requirements + +------------------------------------------------------------------- +Tue Aug 21 10:57:17 UTC 2018 - wbauer@tmo.at + +- New upstream release 5.2.4 + * no code changes + +------------------------------------------------------------------- +Fri May 25 13:25:59 UTC 2018 - wbauer@tmo.at + +- New upstream release 5.2.3 (5.2.2 has been skipped) + * Ensure that codestyle.py always returns something on stdout to + unlock m_mutex (kde#392031) + * Fix crash with contexts opened in the baseclass list of a class + definition (kde#389326) + * Fix appstream metadata filename and some content, and install + it +- New upstream release 5.2.1 + * no code changes +- New upstream release 5.2.0 + * For a list of changes, see: + https://www.kdevelop.org/news/kdevelop-520-released + * Fixed a false-positive warning when a name used in a closure + was defined later in the file + * Fixed highlighting of local variables in comprehensions and of + parameters in lambda definitions + * Infer the correct type when slicing a tuple with constant + integers + * Infer the correct type from 'and' or 'or' expressions + * Internal code cleanups +- Remove superfluous python-qt5 requirement +- Install license file + +------------------------------------------------------------------- +Tue Aug 29 07:23:46 UTC 2017 - wbauer@tmo.at + +- New upstream release 5.1.2 + * no code changes + +------------------------------------------------------------------- +Sat May 27 14:07:48 UTC 2017 - wbauer@tmo.at + +- New upstream release 5.1.1 + * Fix crash (kde#378827) + * Pep8: Make pep8 warnings less annoying + +------------------------------------------------------------------- +Thu Mar 23 14:46:43 UTC 2017 - wbauer@tmo.at + +- New upstream release 5.1.0 + * For a list of changes, see: + https://www.kdevelop.org/news/kdevelop-510-released +- Drop build-with-py36.diff, included upstream +- Adjust minimum python3 version, 3.4.3 and higher is supported now + +------------------------------------------------------------------- +Sun Mar 5 13:49:52 UTC 2017 - wbauer@tmo.at + +- New upstream release 5.0.4 + * Update version number to 5.0.4 + * Fix crash when requesting raise items without the docfile being + parsed (kde#373349) +- Rebase build-with-py36.diff + +------------------------------------------------------------------- +Wed Feb 22 15:13:52 UTC 2017 - lbeltrame@kde.org + +- Add build-with-py36.diff: diff from upstream 50-python36 branch + to enable building with Python 3.6 + +------------------------------------------------------------------- +Fri Dec 2 14:55:35 UTC 2016 - wbauer@tmo.at + +- New upstream release 5.0.3 + * Fix some small issues in the standard library info + +------------------------------------------------------------------- +Wed Nov 16 10:42:16 UTC 2016 - wbauer@tmo.at + +- New upstream release 5.0.2 + * no code changes + +------------------------------------------------------------------- +Tue Oct 4 12:55:32 UTC 2016 - lbeltrame@kde.org + +- Add QtConcurrent to BuildRequires + +------------------------------------------------------------------- +Mon Oct 3 22:25:48 UTC 2016 - lbeltrame@kde.org + +- New upstream release 5.0.1 + * Fix imports sometimes not being found in kdev-python without + pressing F5 by hand + +------------------------------------------------------------------- +Fri Sep 23 14:49:03 UTC 2016 - lbeltrame@kde.org + +- Add conflicts with lang packages, to workaround a + submission bot bug + +------------------------------------------------------------------- +Wed Aug 24 19:50:06 UTC 2016 - lbeltrame@kde.org + +- Add Obsoletes/Provides for old kdevelop packages + +------------------------------------------------------------------- +Wed Aug 24 15:20:26 UTC 2016 - cgiboudeaux@gmx.com + +- Update to 5.0.0 + +------------------------------------------------------------------- +Sat Mar 19 15:19:28 UTC 2016 - fvogt@suse.com + +- Fix build by removing wrong %file entry + +------------------------------------------------------------------- +Thu Jan 28 10:45:07 UTC 2016 - tittiatcoke@gmail.com + +- Initial package for Python3 plugin for KDevelop based on Frameworks + * KDevelop 5 Beta 3 + diff --git a/kdevelop5-plugin-python3.spec b/kdevelop5-plugin-python3.spec new file mode 100644 index 0000000..375953b --- /dev/null +++ b/kdevelop5-plugin-python3.spec @@ -0,0 +1,105 @@ +# +# spec file for package kdevelop5-plugin-python3 +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define rname kdev-python +%define mypython python3 +%bcond_without released +Name: kdevelop5-plugin-python3 +Version: 24.05.2 +Release: 0 +Summary: Python support for KDevelop +License: GPL-2.0-or-later +URL: https://www.kdevelop.org +Source0: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig +Source2: applications.keyring +%endif +# PATCH-FIX-OPENSUSE +Patch0: fix-for-python3.6.patch +BuildRequires: extra-cmake-modules +BuildRequires: fdupes +BuildRequires: kdevelop5 +BuildRequires: kf5-filesystem +BuildRequires: %mypython >= 3.4.3 +BuildRequires: %mypython-devel >= 3.4.3 +BuildRequires: cmake(KDevPlatform) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5TextEditor) +BuildRequires: cmake(KF5ThreadWeaver) +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Test) +BuildRequires: cmake(Qt5Widgets) +Requires: kdevelop5 +Recommends: %{name}-lang +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 +Provides: kdevelop4-plugin-python3 = %{version} +Obsoletes: kdevelop4-plugin-python3 < %{version} +# Only build on archs where Qt5WebEngine is available +ExcludeArch: ppc ppc64 ppc64le s390 s390x + +%description +A KDevelop plugin which provides Python language support, including code completion and debugging using PDB. + +%package lang +Summary: Translations for package %{name} +Requires: %{name} = %{version} +Supplements: (bundle-lang-other and %{name}) +Conflicts: kdevelop4-plugin-python-lang +Provides: %{name}-lang-all = %{version} +BuildArch: noarch + +%description lang +Provides translations to the package %{name} + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf5 -d build +%make_build parser +%cmake_build + +%install +%kf5_makeinstall -C build + +# Remove obsolete docs +rm -r %{buildroot}%{_kf5_sharedir}/kdevpythonsupport/documentation_files/{PyKDE4,PyQt4} + +%find_lang kdevpython %{name}.lang + +%fdupes -s %{buildroot} + +%ldconfig_scriptlets + +%files +%license LICENSES/* +%doc README +%{_kf5_appstreamdir}/org.kde.kdev-python.metainfo.xml +%{_kf5_debugdir}/kdevpythonsupport.categories +%{_kf5_libdir}/libkdev*python*.so* +%{_kf5_plugindir}/kdevplatform/ +%{_kf5_sharedir}/kdevappwizard/ +%{_kf5_sharedir}/kdevpythonsupport/ + +%files lang -f %{name}.lang + +%changelog