diff options
author | 2021-02-01 21:21:05 +0100 | |
---|---|---|
committer | 2021-02-01 21:21:54 +0100 | |
commit | 77c36e481f2aab5be821e2cb1e73e726264ee3c4 (patch) | |
tree | edfaf49288c98f34b1c7b573d2b9f238d0646b75 | |
parent | net-dns/avahi: 0.8-r2 version bump re-enabled with IUSE=qt4 (diff) | |
download | kde-sunset-77c36e481f2aab5be821e2cb1e73e726264ee3c4.tar.gz kde-sunset-77c36e481f2aab5be821e2cb1e73e726264ee3c4.tar.bz2 kde-sunset-77c36e481f2aab5be821e2cb1e73e726264ee3c4.zip |
kde-apps/cantor: Drop IUSE=python backend
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r-- | kde-apps/cantor/cantor-4.14.3.ebuild | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/kde-apps/cantor/cantor-4.14.3.ebuild b/kde-apps/cantor/cantor-4.14.3.ebuild index 94b2ab6f..62c550b3 100644 --- a/kde-apps/cantor/cantor-4.14.3.ebuild +++ b/kde-apps/cantor/cantor-4.14.3.ebuild @@ -1,30 +1,26 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 KDE_HANDBOOK="optional" -PYTHON_COMPAT=( python2_7 ) -inherit kde4-base python-single-r1 +inherit kde4-base DESCRIPTION="KDE4 interface for doing mathematics and scientific computing" -HOMEPAGE="https://www.kde.org/applications/education/cantor https://edu.kde.org/cantor" +HOMEPAGE="https://apps.kde.org/en/cantor https://edu.kde.org/cantor" KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="analitza debug postscript python qalculate +R" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +IUSE="analitza debug postscript qalculate +R" # TODO Add Sage Mathematics Software backend (http://www.sagemath.org) RDEPEND=" + dev-qt/qtxmlpatterns:4 analitza? ( $(add_kdeapps_dep analitza) ) qalculate? ( sci-libs/cln sci-libs/libqalculate ) postscript? ( app-text/libspectre ) - python? ( ${PYTHON_DEPS} ) R? ( dev-lang/R ) - dev-qt/qtxmlpatterns:4 " DEPEND="${RDEPEND} >=dev-cpp/eigen-2.0.3:2 @@ -32,16 +28,11 @@ DEPEND="${RDEPEND} RESTRICT="test" -pkg_setup() { - use python && python-single-r1_pkg_setup - kde4-base_pkg_setup -} - src_configure() { local mycmakeargs=( $(cmake-utils_use_with analitza) $(cmake-utils_use_with postscript LibSpectre) - $(cmake-utils_use_with python PythonLibs) + -DWITH_PythonLibs=OFF $(cmake-utils_use_with qalculate) $(cmake-utils_use_with R) ) @@ -51,11 +42,11 @@ src_configure() { pkg_postinst() { kde4-base_pkg_postinst - if ! use analitza && ! use python && ! use qalculate && ! use R; then + if ! use analitza && ! use qalculate && ! use R; then echo ewarn "You have decided to build ${PN} with no backend." ewarn "To have this application functional, please do one of below:" - ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'python', 'qalculate' or 'R' USE flag enabled" + ewarn " # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'qalculate' or 'R' USE flag enabled" ewarn " # emerge -vaDu sci-mathematics/maxima" echo fi |