commit 6d372e39ea11df996300797a0c5690a0e69610de1bd38027ebb460544e4a263b Author: Christophe Marin Date: Thu Aug 22 12:50:37 2024 +0000 KDE Release gear 24.08.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kdevelop-plugin-python3?expand=0&rev=1 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.08.0.tar.xz b/kdev-python-24.08.0.tar.xz new file mode 100644 index 0000000..ef6b419 --- /dev/null +++ b/kdev-python-24.08.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:203f2267f9f24c57ec41549968389548177118231c7d2da8cb3f0722a09d5cee +size 1101512 diff --git a/kdev-python-24.08.0.tar.xz.sig b/kdev-python-24.08.0.tar.xz.sig new file mode 100644 index 0000000..c831936 --- /dev/null +++ b/kdev-python-24.08.0.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+4JUACgkQu0YzUNbv +Me+RwA//Wtj0XWo5rFM+O/K3vhZ2JXET1zzi0fNW93ZvPWIxya5hjA0hK5pHENM9 +RSwRz3ruXJ8r5jEMrU37Imd1ncdtfY0ICHWlnFzL7FXl4Vonl5HkZls9UviIaKEk +urI7fh8AXUOeWZAAuCVB0wu9H8rp0c8ioOgGFiHmH59GOluI0R1BAr7f93uEuRe6 +Q+wlPJj0IyMRVPWHXSytvQY5QvNdPCGzi2OR/K9Gfv93mHBExvxiRwdwkwUlJCWk +TSPkbeK3PyLTnQXEcV/g0wSUHJm7u0V0n6v/ycLAOndv5+BR/iEcjRT/Al1Qp2AS +Zm/ylCzIBT0vuENBkQS6B7n8r0IQXJ7qF+MVyZsFRjWxjEYiTSmqAUGLenn32tV5 +5G+aihMM4ddGBGAa8if7e4qQW6khqa+c2QcB9Zz0ezlktUHTxsY728Rlx8qOp4Yo +wn1qb76SKOWffpPh0FrPzCuzEqY/DMwM57WqmsxLU5JBFoW7BJTF1JFT4tBQM1zk +yCpAS8jjHvVbgD7cOir5c6u5gw/TQt/XrihZgGGmvnQ5kMuXdvE74AuTr6lV2n1O +HkI/fYsTiwrPdBNHAX0niFBVsR/wRJMTpSRUPD1Gikv1HWTzcW9uEyA2Gv1//mBO +NT/teoIceitfyFU3mGJ9K54sVzAbrHjM1EsP9X/D6ZJQMXBXOrM= +=/Ea9 +-----END PGP SIGNATURE----- diff --git a/kdevelop-plugin-python.changes b/kdevelop-plugin-python.changes new file mode 100644 index 0000000..0ee385a --- /dev/null +++ b/kdevelop-plugin-python.changes @@ -0,0 +1,629 @@ +------------------------------------------------------------------- +Mon Aug 19 07:51:59 UTC 2024 - Christophe Marin + +- Update to 24.08.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/gear/24.08.0/ +- Too many changes to list here. + +------------------------------------------------------------------- +Fri Jul 19 12:05:39 UTC 2024 - Christophe Marin + +- Rename kdevelop5-plugin-python3 to kdevelop-plugin-python3 + +------------------------------------------------------------------- +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/kdevelop-plugin-python3.spec b/kdevelop-plugin-python3.spec new file mode 100644 index 0000000..d7b8532 --- /dev/null +++ b/kdevelop-plugin-python3.spec @@ -0,0 +1,112 @@ +# +# spec file for package kdevelop-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 +%define kf6_version 6.3.0 +%define qt6_version 6.6.0 + +%bcond_without released +Name: kdevelop-plugin-python3 +Version: 24.08.0 +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: %{mypython} >= 3.4.3 +BuildRequires: %{mypython}-devel >= 3.4.3 +BuildRequires: fdupes +BuildRequires: kdevelop >= 6.0 +BuildRequires: kf6-extra-cmake-modules >= %{kf6_version} +BuildRequires: cmake(KDevPlatform) +BuildRequires: cmake(KF6I18n) >= %{kf6_version} +BuildRequires: cmake(KF6TextEditor) >= %{kf6_version} +BuildRequires: cmake(KF6ThreadWeaver) >= %{kf6_version} +BuildRequires: cmake(Qt6Core) >= %{qt6_version} +BuildRequires: cmake(Qt6Test) >= %{qt6_version} +BuildRequires: cmake(Qt6Widgets) >= %{qt6_version} +Requires: kdevelop5 +Recommends: %{mypython}-pep8 +Provides: kdevelop4-plugin-python = %{version} +Obsoletes: kdevelop4-plugin-python < %{version} +Obsoletes: kdevelop5-plugin-python3 +# Only build on archs where Qt6WebEngine is available +ExclusiveArch: aarch64 x86_64 %{x86_64} riscv64 + +%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 +Obsoletes: kdevelop5-plugin-python3-lang +Provides: %{name}-lang-all = %{version} +BuildArch: noarch + +%description lang +Provides translations to the package %{name} + +%prep +%autosetup -p1 -n %{rname}-%{version} + +%build +%cmake_kf6 + +%kf6_build + +%install +%kf6_install + +# Remove obsolete docs +rm -r %{buildroot}%{_kf6_sharedir}/kdevpythonsupport/documentation_files/{PyKDE4,PyQt4} + +%find_lang kdevpython %{name}.lang + +%fdupes %{buildroot} + +%ldconfig_scriptlets + +%files +%license LICENSES/* +%doc README +%{_kf6_appstreamdir}/org.kde.kdev-python.metainfo.xml +%{_kf6_debugdir}/kdevpythonsupport.categories +%{_kf6_libdir}/libkdevpythoncompletion.so +%{_kf6_libdir}/libkdevpythonduchain.so +%{_kf6_libdir}/libkdevpythonparser.so +%{_kf6_plugindir}/kdevplatform/ +%dir %{_kf6_sharedir}/kdevappwizard +%dir %{_kf6_sharedir}/kdevappwizard/templates +%{_kf6_sharedir}/kdevappwizard/templates/django_project.tar.bz2 +%{_kf6_sharedir}/kdevappwizard/templates/qtdesigner_app.tar.bz2 +%{_kf6_sharedir}/kdevappwizard/templates/simple_pythonapp.tar.bz2 +%{_kf6_sharedir}/kdevpythonsupport/ + +%files lang -f %{name}.lang + +%changelog