public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Robin H. Johnson" <robbat2@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/cantor/
Date: Sat, 18 Jan 2014 04:34:00 +0000 (UTC)	[thread overview]
Message-ID: <1389865214.b307d5142d2489770953f97c0917dab54630fdfd.robbat2@gentoo> (raw)

commit:     b307d5142d2489770953f97c0917dab54630fdfd
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 09:40:14 2014 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 09:40:14 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b307d514

[kde-base/cantor] Add support for python backend wrt bug #493262.

Package-Manager: portage-2.2.7

---
 kde-base/cantor/cantor-4.12.1.ebuild       | 13 +++++++++----
 kde-base/cantor/cantor-4.12.49.9999.ebuild | 13 +++++++++----
 kde-base/cantor/cantor-9999.ebuild         | 13 +++++++++----
 3 files changed, 27 insertions(+), 12 deletions(-)

diff --git a/kde-base/cantor/cantor-4.12.1.ebuild b/kde-base/cantor/cantor-4.12.1.ebuild
index cb07cc7..a279e96 100644
--- a/kde-base/cantor/cantor-4.12.1.ebuild
+++ b/kde-base/cantor/cantor-4.12.1.ebuild
@@ -5,12 +5,15 @@
 EAPI=5
 
 KDE_HANDBOOK="optional"
-inherit kde4-base
+PYTHON_COMPAT=( python2_7 )
+inherit kde4-base python-single-r1
 
 DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
 HOMEPAGE="http://www.kde.org/applications/education/cantor http://edu.kde.org/cantor"
 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="analitza debug postscript qalculate +R"
+IUSE="analitza debug postscript python qalculate +R"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
 RDEPEND="
@@ -20,6 +23,7 @@ RDEPEND="
 		sci-libs/libqalculate
 	)
 	postscript? ( app-text/libspectre )
+	python? ( ${PYTHON_DEPS} )
 	R? ( dev-lang/R )
 	dev-qt/qtxmlpatterns:4
 "
@@ -33,6 +37,7 @@ src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with analitza)
 		$(cmake-utils_use_with postscript LibSpectre)
+		$(cmake-utils_use_with python PythonLibs)
 		$(cmake-utils_use_with qalculate)
 		$(cmake-utils_use_with R)
 	)
@@ -42,11 +47,11 @@ src_configure() {
 pkg_postinst() {
 	kde4-base_pkg_postinst
 
-	if ! use analitza && ! use qalculate && ! use R; then
+	if ! use analitza && ! use python && ! 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', 'qalculate' or 'R' USE flag enabled"
+		ewarn "    # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'python', 'qalculate' or 'R' USE flag enabled"
 		ewarn "    # emerge -vaDu sci-mathematics/maxima"
 		echo
 	fi

diff --git a/kde-base/cantor/cantor-4.12.49.9999.ebuild b/kde-base/cantor/cantor-4.12.49.9999.ebuild
index 300af29..6e4a22f 100644
--- a/kde-base/cantor/cantor-4.12.49.9999.ebuild
+++ b/kde-base/cantor/cantor-4.12.49.9999.ebuild
@@ -5,12 +5,15 @@
 EAPI=5
 
 KDE_HANDBOOK="optional"
-inherit kde4-base
+PYTHON_COMPAT=( python2_7 )
+inherit kde4-base python-single-r1
 
 DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
 HOMEPAGE="http://www.kde.org/applications/education/cantor http://edu.kde.org/cantor"
 KEYWORDS=""
-IUSE="analitza debug postscript qalculate +R"
+IUSE="analitza debug postscript python qalculate +R"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
 RDEPEND="
@@ -20,6 +23,7 @@ RDEPEND="
 		sci-libs/libqalculate
 	)
 	postscript? ( app-text/libspectre )
+	python? ( ${PYTHON_DEPS} )
 	R? ( dev-lang/R )
 	dev-qt/qtxmlpatterns:4
 "
@@ -33,6 +37,7 @@ src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with analitza)
 		$(cmake-utils_use_with postscript LibSpectre)
+		$(cmake-utils_use_with python PythonLibs)
 		$(cmake-utils_use_with qalculate)
 		$(cmake-utils_use_with R)
 	)
@@ -42,11 +47,11 @@ src_configure() {
 pkg_postinst() {
 	kde4-base_pkg_postinst
 
-	if ! use analitza && ! use qalculate && ! use R; then
+	if ! use analitza && ! use python && ! 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', 'qalculate' or 'R' USE flag enabled"
+		ewarn "    # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'python', 'qalculate' or 'R' USE flag enabled"
 		ewarn "    # emerge -vaDu sci-mathematics/maxima"
 		echo
 	fi

diff --git a/kde-base/cantor/cantor-9999.ebuild b/kde-base/cantor/cantor-9999.ebuild
index 300af29..6e4a22f 100644
--- a/kde-base/cantor/cantor-9999.ebuild
+++ b/kde-base/cantor/cantor-9999.ebuild
@@ -5,12 +5,15 @@
 EAPI=5
 
 KDE_HANDBOOK="optional"
-inherit kde4-base
+PYTHON_COMPAT=( python2_7 )
+inherit kde4-base python-single-r1
 
 DESCRIPTION="KDE4 interface for doing mathematics and scientific computing"
 HOMEPAGE="http://www.kde.org/applications/education/cantor http://edu.kde.org/cantor"
 KEYWORDS=""
-IUSE="analitza debug postscript qalculate +R"
+IUSE="analitza debug postscript python qalculate +R"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
 # TODO Add Sage Mathematics Software backend (http://www.sagemath.org)
 RDEPEND="
@@ -20,6 +23,7 @@ RDEPEND="
 		sci-libs/libqalculate
 	)
 	postscript? ( app-text/libspectre )
+	python? ( ${PYTHON_DEPS} )
 	R? ( dev-lang/R )
 	dev-qt/qtxmlpatterns:4
 "
@@ -33,6 +37,7 @@ src_configure() {
 	mycmakeargs=(
 		$(cmake-utils_use_with analitza)
 		$(cmake-utils_use_with postscript LibSpectre)
+		$(cmake-utils_use_with python PythonLibs)
 		$(cmake-utils_use_with qalculate)
 		$(cmake-utils_use_with R)
 	)
@@ -42,11 +47,11 @@ src_configure() {
 pkg_postinst() {
 	kde4-base_pkg_postinst
 
-	if ! use analitza && ! use qalculate && ! use R; then
+	if ! use analitza && ! use python && ! 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', 'qalculate' or 'R' USE flag enabled"
+		ewarn "    # emerge -va1 '='${CATEGORY}/${P} with 'analitza', 'python', 'qalculate' or 'R' USE flag enabled"
 		ewarn "    # emerge -vaDu sci-mathematics/maxima"
 		echo
 	fi


             reply	other threads:[~2014-01-18  4:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18  4:34 Robin H. Johnson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-07-28  8:05 [gentoo-commits] proj/kde:master commit in: kde-base/cantor/ Michael Palimaka
2013-07-31 19:53 Johannes Huber
2013-03-05 18:26 Michael Palimaka
2012-07-29 17:19 Michael Palimaka
2012-06-16 16:52 Michael Palimaka
2011-12-15 22:59 Andreas Hüttel
2011-11-06 14:03 Johannes Huber
2011-10-25 20:16 Andreas Hüttel
2011-06-11 11:06 Marc Schiffbauer
2011-05-26 21:14 Jorge Manuel B. S. Vicetto
2011-04-10 23:04 Alexey Shvetsov
2011-04-08 20:58 Andreas K. Huettel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389865214.b307d5142d2489770953f97c0917dab54630fdfd.robbat2@gentoo \
    --to=robbat2@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox