public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde-sunset:master commit in: kde-apps/cantor/
@ 2021-02-01 20:22 Andreas Sturmlechner
  0 siblings, 0 replies; only message in thread
From: Andreas Sturmlechner @ 2021-02-01 20:22 UTC (permalink / raw
  To: gentoo-commits

commit:     77c36e481f2aab5be821e2cb1e73e726264ee3c4
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  1 20:21:05 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Feb  1 20:21:54 2021 +0000
URL:        https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=77c36e48

kde-apps/cantor: Drop IUSE=python backend

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/cantor/cantor-4.14.3.ebuild | 25 ++++++++-----------------
 1 file 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-01 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-01 20:22 [gentoo-commits] proj/kde-sunset:master commit in: kde-apps/cantor/ Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox