Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-firewall/
Date: Tue, 14 Mar 2023 20:21:42
Message-Id: 1678824955.f497b472082bd42e19f6a6d829b31bc15c17c6c1.asturm@gentoo
1 commit: f497b472082bd42e19f6a6d829b31bc15c17c6c1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 14 20:15:55 2023 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 14 20:15:55 2023 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f497b472
7
8 kde-plasma/plasma-firewall: drop 5.27.3
9
10 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
11
12 .../plasma-firewall/plasma-firewall-5.27.3.ebuild | 65 ----------------------
13 1 file changed, 65 deletions(-)
14
15 diff --git a/kde-plasma/plasma-firewall/plasma-firewall-5.27.3.ebuild b/kde-plasma/plasma-firewall/plasma-firewall-5.27.3.ebuild
16 deleted file mode 100644
17 index 8d777543ea..0000000000
18 --- a/kde-plasma/plasma-firewall/plasma-firewall-5.27.3.ebuild
19 +++ /dev/null
20 @@ -1,65 +0,0 @@
21 -# Copyright 1999-2023 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=8
25 -
26 -ECM_TEST="forceoptional"
27 -PYTHON_COMPAT=( python3_{9..11} )
28 -KFMIN=5.102.0
29 -QTMIN=5.15.7
30 -inherit ecm plasma.kde.org python-single-r1
31 -
32 -DESCRIPTION="Plasma frontend for Firewalld or UFW"
33 -HOMEPAGE="https://invent.kde.org/network/plasma-firewall"
34 -
35 -LICENSE="GPL-2+"
36 -SLOT="5"
37 -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
38 -IUSE="firewalld +ufw"
39 -
40 -REQUIRED_USE="${PYTHON_REQUIRED_USE} || ( firewalld ufw )"
41 -
42 -DEPEND="
43 - >=dev-qt/qtdbus-${QTMIN}:5
44 - >=dev-qt/qtdeclarative-${QTMIN}:5
45 - >=dev-qt/qtgui-${QTMIN}:5
46 - >=dev-qt/qtnetwork-${QTMIN}:5
47 - >=dev-qt/qtx11extras-${QTMIN}:5
48 - >=dev-qt/qtxml-${QTMIN}:5
49 - >=kde-frameworks/kauth-${KFMIN}:5
50 - >=kde-frameworks/kcmutils-${KFMIN}:5
51 - >=kde-frameworks/kconfig-${KFMIN}:5
52 - >=kde-frameworks/kcoreaddons-${KFMIN}:5
53 - >=kde-frameworks/kdeclarative-${KFMIN}:5
54 - >=kde-frameworks/ki18n-${KFMIN}:5
55 -"
56 -RDEPEND="${DEPEND}
57 - ${PYTHON_DEPS}
58 - firewalld? ( net-firewall/firewalld )
59 - ufw? ( net-firewall/ufw )
60 -"
61 -BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:5"
62 -
63 -src_prepare() {
64 - ecm_src_prepare
65 - # this kind of cmake magic doesn't work for us at all.
66 - sed -e "1 s:^.*$:\#\!/usr/bin/env ${EPYTHON}:" \
67 - -i kcm/backends/ufw/helper/kcm_ufw_helper.py.cmake || die
68 -}
69 -
70 -src_configure() {
71 - local mycmakeargs=(
72 - -DBUILD_FIREWALLD_BACKEND=$(usex firewalld)
73 - -DBUILD_UFW_BACKEND=$(usex ufw)
74 - )
75 - ecm_src_configure
76 -}
77 -
78 -pkg_postinst () {
79 - ecm_pkg_postinst
80 -
81 - if ! has_version sys-apps/systemd; then
82 - ewarn "${PN} is not functional without sys-apps/systemd at this point."
83 - ewarn "See also: https://bugs.gentoo.org/778527"
84 - fi
85 -}