Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: kde-plasma/plasma-workspace/
Date: Mon, 30 Nov 2020 00:52:22
Message-Id: 1606697512.a517cb5cff245df31e917e92e672baf85049fcee.asturm@gentoo
1 commit: a517cb5cff245df31e917e92e672baf85049fcee
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 14:54:44 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 00:51:52 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=a517cb5c
7
8 kde-plasma/plasma-workspace: Drop IUSE=python
9
10 Missing kde-apps/pykde4 and easier (non-)maintenance without python.
11
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 .../plasma-workspace-4.11.22.ebuild | 31 +++-------------------
16 1 file changed, 4 insertions(+), 27 deletions(-)
17
18 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild
19 index 6a10a6e7..d9cebfb0 100644
20 --- a/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild
21 +++ b/kde-plasma/plasma-workspace/plasma-workspace-4.11.22.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=5
28 @@ -7,16 +7,13 @@ DECLARATIVE_REQUIRED="always"
29 KDE_HANDBOOK="optional"
30 KMNAME="kde-workspace"
31 KMMODULE="plasma"
32 -PYTHON_COMPAT=( python2_7 )
33 OPENGL_REQUIRED="always"
34 WEBKIT_REQUIRED="always"
35 -inherit python-single-r1 kde4-meta
36 +inherit kde4-meta
37
38 DESCRIPTION="Plasma: KDE desktop framework"
39 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
40 -IUSE="debug gps json +pim python qalculate"
41 -
42 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
43 +IUSE="debug gps json +pim qalculate"
44
45 COMMONDEPEND="
46 dev-libs/libdbusmenu-qt[qt4]
47 @@ -38,11 +35,6 @@ COMMONDEPEND="
48 gps? ( >=sci-geosciences/gpsd-2.37 )
49 json? ( dev-libs/qjson )
50 pim? ( $(add_kdeapps_dep kdepimlibs) )
51 - python? (
52 - ${PYTHON_DEPS}
53 - >=dev-python/PyQt4-4.4.0[X,${PYTHON_SINGLE_USEDEP}]
54 - $(add_kdeapps_dep pykde4 "${PYTHON_SINGLE_USEDEP}")
55 - )
56 qalculate? ( sci-libs/libqalculate )
57 "
58 DEPEND="${COMMONDEPEND}
59 @@ -73,13 +65,6 @@ KMEXTRACTONLY="
60 ksysguard/
61 "
62
63 -pkg_setup() {
64 - if use python ; then
65 - python-single-r1_pkg_setup
66 - fi
67 - kde4-meta_pkg_setup
68 -}
69 -
70 src_unpack() {
71 if use handbook; then
72 KMEXTRA+=" doc/plasma-desktop"
73 @@ -91,23 +76,15 @@ src_unpack() {
74 src_configure() {
75 local mycmakeargs=(
76 -DWITH_NepomukCore=OFF
77 + -DWITH_PythonLibrary=OFF
78 -DWITH_Soprano=OFF
79 -DWITH_Xmms=OFF
80 $(cmake-utils_use_with gps libgps)
81 $(cmake-utils_use_with json QJSON)
82 $(cmake-utils_use_with pim Akonadi)
83 $(cmake-utils_use_with pim KdepimLibs)
84 - $(cmake-utils_use_with python PythonLibrary)
85 $(cmake-utils_use_with qalculate)
86 )
87
88 kde4-meta_src_configure
89 }
90 -
91 -src_install() {
92 - kde4-meta_src_install
93 -
94 - if use python; then
95 - python_optimize "${ED}"
96 - fi
97 -}