summaryrefslogtreecommitdiff
path: root/kde-apps/cantor/cantor-9999.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-20 20:48:11 +0100
committerAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-25 14:21:47 +0100
commit29f1bba8540d704ff85472599b57c5f3f90697d9 (patch)
tree125a24f09c8e60dcb09ac9588d75e0bcbc83ee38 /kde-apps/cantor/cantor-9999.ebuild
parentb04e8ce223219345b475c3fc77d6c5bcc027ac0e (diff)
downloadkde-29f1bba8540d704ff85472599b57c5f3f90697d9.tar.gz
kde-29f1bba8540d704ff85472599b57c5f3f90697d9.tar.bz2
kde-29f1bba8540d704ff85472599b57c5f3f90697d9.zip
kde-apps: Add 16.04 stable branch
With a few exceptions: - kde-runtime: No commits since 15.12 - kde-baseapps: No commits since 15.12 - kdeaccessibility-meta: No commits since 15.12 - kdewebdev-meta: No commits in years - libkdeedu:4: Slated for removal in 16.08 but already unused Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/cantor/cantor-9999.ebuild')
-rw-r--r--kde-apps/cantor/cantor-9999.ebuild26
1 files changed, 19 insertions, 7 deletions
diff --git a/kde-apps/cantor/cantor-9999.ebuild b/kde-apps/cantor/cantor-9999.ebuild
index ee203282584..3cdcedc7155 100644
--- a/kde-apps/cantor/cantor-9999.ebuild
+++ b/kde-apps/cantor/cantor-9999.ebuild
@@ -2,12 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
-KDE_HANDBOOK="true"
-KDE_TEST="true"
+KDE_HANDBOOK="forceoptional"
+KDE_TEST="forceoptional"
PYTHON_COMPAT=( python2_7 )
-# FIXME: PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+# FIXME: PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
inherit kde5 python-r1
DESCRIPTION="Interface for doing mathematics and scientific computing"
@@ -28,6 +28,7 @@ RDEPEND="
$(add_frameworks_dep kcrash)
$(add_frameworks_dep kdelibs4support)
$(add_frameworks_dep ki18n)
+ $(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kparts)
$(add_frameworks_dep kpty)
@@ -55,15 +56,26 @@ DEPEND="${RDEPEND}
RESTRICT="test"
+PATCHES=( "${FILESDIR}/${PN}-15.12.3-tests.patch" )
+
pkg_setup() {
use python && python_setup
kde5_pkg_setup
}
src_prepare() {
+ kde5_src_prepare
+
# FIXME: shipped FindPythonLibs3.cmake does not work for Gentoo
- sed -e '/^find_package(PythonLibs3)/ s/^/#/' \
+ sed -e "/^find_package(PythonLibs3)/ s/^/#/" \
-i src/backends/CMakeLists.txt || die
+
+ if ! use test ; then
+ sed -e "/add_subdirectory(test)/ s/^/#DONT/" \
+ -i src/lib/CMakeLists.txt || die
+ sed -e "/add_subdirectory(tests)/ s/^/#DONT/" \
+ -i src/backends/python3/CMakeLists.txt || die
+ fi
}
src_configure() {
@@ -72,8 +84,8 @@ src_configure() {
$(cmake-utils_use_find_package lua LuaJIT)
$(cmake-utils_use_find_package postscript LibSpectre)
$(cmake-utils_use_find_package python PythonLibs)
- $(cmake-utils_use_find_package qalculate)
- $(cmake-utils_use_find_package R)
+ $(cmake-utils_use_find_package qalculate Qalculate)
+ $(cmake-utils_use_find_package R R)
)
kde5_src_configure
}