1 |
commit: 77c36e481f2aab5be821e2cb1e73e726264ee3c4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 1 20:21:05 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 1 20:21:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=77c36e48 |
7 |
|
8 |
kde-apps/cantor: Drop IUSE=python backend |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
kde-apps/cantor/cantor-4.14.3.ebuild | 25 ++++++++----------------- |
14 |
1 file changed, 8 insertions(+), 17 deletions(-) |
15 |
|
16 |
diff --git a/kde-apps/cantor/cantor-4.14.3.ebuild b/kde-apps/cantor/cantor-4.14.3.ebuild |
17 |
index 94b2ab6f..62c550b3 100644 |
18 |
--- a/kde-apps/cantor/cantor-4.14.3.ebuild |
19 |
+++ b/kde-apps/cantor/cantor-4.14.3.ebuild |
20 |
@@ -1,30 +1,26 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
# Distributed under the terms of the GNU General Public License v2 |
24 |
|
25 |
EAPI=5 |
26 |
|
27 |
KDE_HANDBOOK="optional" |
28 |
-PYTHON_COMPAT=( python2_7 ) |
29 |
-inherit kde4-base python-single-r1 |
30 |
+inherit kde4-base |
31 |
|
32 |
DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" |
33 |
-HOMEPAGE="https://www.kde.org/applications/education/cantor https://edu.kde.org/cantor" |
34 |
+HOMEPAGE="https://apps.kde.org/en/cantor https://edu.kde.org/cantor" |
35 |
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
36 |
-IUSE="analitza debug postscript python qalculate +R" |
37 |
- |
38 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
39 |
+IUSE="analitza debug postscript qalculate +R" |
40 |
|
41 |
# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) |
42 |
RDEPEND=" |
43 |
+ dev-qt/qtxmlpatterns:4 |
44 |
analitza? ( $(add_kdeapps_dep analitza) ) |
45 |
qalculate? ( |
46 |
sci-libs/cln |
47 |
sci-libs/libqalculate |
48 |
) |
49 |
postscript? ( app-text/libspectre ) |
50 |
- python? ( ${PYTHON_DEPS} ) |
51 |
R? ( dev-lang/R ) |
52 |
- dev-qt/qtxmlpatterns:4 |
53 |
" |
54 |
DEPEND="${RDEPEND} |
55 |
>=dev-cpp/eigen-2.0.3:2 |
56 |
@@ -32,16 +28,11 @@ DEPEND="${RDEPEND} |
57 |
|
58 |
RESTRICT="test" |
59 |
|
60 |
-pkg_setup() { |
61 |
- use python && python-single-r1_pkg_setup |
62 |
- kde4-base_pkg_setup |
63 |
-} |
64 |
- |
65 |
src_configure() { |
66 |
local mycmakeargs=( |
67 |
$(cmake-utils_use_with analitza) |
68 |
$(cmake-utils_use_with postscript LibSpectre) |
69 |
- $(cmake-utils_use_with python PythonLibs) |
70 |
+ -DWITH_PythonLibs=OFF |
71 |
$(cmake-utils_use_with qalculate) |
72 |
$(cmake-utils_use_with R) |
73 |
) |
74 |
@@ -51,11 +42,11 @@ src_configure() { |
75 |
pkg_postinst() { |
76 |
kde4-base_pkg_postinst |
77 |
|
78 |
- if ! use analitza && ! use python && ! use qalculate && ! use R; then |
79 |
+ if ! use analitza && ! use qalculate && ! use R; then |
80 |
echo |
81 |
ewarn "You have decided to build ${PN} with no backend." |
82 |
ewarn "To have this application functional, please do one of below:" |
83 |
- ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'python', 'qalculate' or 'R' USE flag enabled" |
84 |
+ ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled" |
85 |
ewarn " # emerge -vaDu sci-mathematics/maxima" |
86 |
echo |
87 |
fi |