From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3B70515807A for ; Mon, 7 Oct 2024 17:24:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 423F3E29AB; Mon, 7 Oct 2024 17:24:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24BBEE29AB for ; Mon, 7 Oct 2024 17:24:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 296B6343102 for ; Mon, 7 Oct 2024 17:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF7E61293 for ; Mon, 7 Oct 2024 17:24:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1728321624.7b334ffd4316e2846810968b0098fc192c34ef27.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/drkonqi/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/drkonqi/drkonqi-6.1.5-r1.ebuild X-VCS-Directories: kde-plasma/drkonqi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 7b334ffd4316e2846810968b0098fc192c34ef27 X-VCS-Branch: master Date: Mon, 7 Oct 2024 17:24:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5a2de540-b049-4211-8d90-eed3379f3739 X-Archives-Hash: e9601cdfbea4fe8e80badafdb902c411 commit: 7b334ffd4316e2846810968b0098fc192c34ef27 Author: Sam James gentoo org> AuthorDate: Mon Oct 7 17:20:24 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 7 17:20:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b334ffd kde-plasma/drkonqi: enable py3.13, drop sentry-sdk dep Per consultation with upstream, sentry-sdk is only used for reporting issues in the GDB Python script (gdb_preamble/preamble.py). This is pretty niche and not worth it given the issues mentioned in bug #937896. drkonqi does rely otherwise on sentry but it implements the protocol/format itself and not using the Python package. This unblocks py3.13 too. Bug: https://bugs.gentoo.org/937896 Signed-off-by: Sam James gentoo.org> kde-plasma/drkonqi/drkonqi-6.1.5-r1.ebuild | 90 ++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) diff --git a/kde-plasma/drkonqi/drkonqi-6.1.5-r1.ebuild b/kde-plasma/drkonqi/drkonqi-6.1.5-r1.ebuild new file mode 100644 index 000000000000..ebcf9493ea75 --- /dev/null +++ b/kde-plasma/drkonqi/drkonqi-6.1.5-r1.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +PYTHON_COMPAT=( python3_{11..13} ) +KFMIN=6.5.0 +QTMIN=6.7.2 +inherit ecm plasma.kde.org python-single-r1 systemd + +DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed" + +LICENSE="GPL-2" # TODO: CHECK +SLOT="6" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="systemd" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +RESTRICT="test" # bug 935362 + +COMMON_DEPEND="${PYTHON_DEPS} + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets] + >=dev-qt/qtdeclarative-${QTMIN}:6 + >=kde-frameworks/kconfig-${KFMIN}:6 + >=kde-frameworks/kcoreaddons-${KFMIN}:6 + >=kde-frameworks/kcrash-${KFMIN}:6 + >=kde-frameworks/ki18n-${KFMIN}:6 + >=kde-frameworks/kidletime-${KFMIN}:6 + >=kde-frameworks/kio-${KFMIN}:6 + >=kde-frameworks/kjobwidgets-${KFMIN}:6 + >=kde-frameworks/knotifications-${KFMIN}:6 + >=kde-frameworks/kstatusnotifieritem-${KFMIN}:6 + >=kde-frameworks/kwallet-${KFMIN}:6 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:6 + >=kde-frameworks/kwindowsystem-${KFMIN}:6 + >=kde-frameworks/syntax-highlighting-${KFMIN}:6 + systemd? ( + >=dev-qt/qtbase-${QTMIN}:6[network] + >=kde-frameworks/kservice-${KFMIN}:6 + sys-apps/systemd:= + >=sys-auth/polkit-qt-0.175.0[qt6(+)] + ) +" +DEPEND="${COMMON_DEPEND} + >=dev-qt/qtbase-${QTMIN}:6[concurrent] + test? ( >=dev-qt/qtbase-${QTMIN}:6[network] ) +" +RDEPEND="${COMMON_DEPEND} + >=kde-frameworks/kirigami-${KFMIN}:6 + >=kde-frameworks/kitemmodels-${KFMIN}:6 + $(python_gen_cond_dep ' + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/pygdbmi[${PYTHON_USEDEP}] + ') + || ( + dev-debug/gdb + dev-debug/lldb + ) +" + +pkg_setup() { + ecm_pkg_setup + python-single-r1_pkg_setup +} + +src_configure() { + local mycmakeargs=( + -DWITH_PYTHON_VENDORING=OFF + $(cmake_use_find_package systemd Systemd) + ) + ecm_src_configure +} + +src_test() { + # needs network access, bug #698510 + local myctestargs=( + -E "(connectiontest)" + ) + ecm_src_test +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]] && systemd_is_booted ; then + elog "For systemd, steps are needed for integration with systemd-coredumpd." + elog "As root, run the following:" + elog "1. systemctl enable drkonqi-coredump-processor@.service" + elog "2. systemctl --user enable --now --global drkonqi-coredump-launcher.socket" + fi +}