diff options
author | Johannes Huber <johu@gentoo.org> | 2017-01-12 19:24:29 +0100 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2017-01-12 19:24:41 +0100 |
commit | 2066cf7b5a1da5ded50affbdc96467b431140f3e (patch) | |
tree | eec619c4a351b2aa2376ea6f0d543086f9b9c747 /kde-apps/cantor | |
parent | dev-python/bandit: bup (diff) | |
download | gentoo-2066cf7b5a1da5ded50affbdc96467b431140f3e.tar.gz gentoo-2066cf7b5a1da5ded50affbdc96467b431140f3e.tar.bz2 gentoo-2066cf7b5a1da5ded50affbdc96467b431140f3e.zip |
kde-apps: Version bump KDE Applications 16.12.1
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r-- | kde-apps/cantor/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/cantor/cantor-16.12.1.ebuild | 99 |
2 files changed, 100 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest index 2bc8b03b422e..a6d0fe461e16 100644 --- a/kde-apps/cantor/Manifest +++ b/kde-apps/cantor/Manifest @@ -1,2 +1,3 @@ DIST cantor-16.08.3.tar.xz 361368 SHA256 c702f5f94b68bc18414c3f193b93f431cb2063da9ce41c089478b77337695a44 SHA512 46ef9494ccc94bb849b551fa7b9e5a8bb43263ac5a5170d699ec9cfbace66ec56318ffa1b4c939cdb1e7887d5b6b8061a9361e6171a8decd7deb4079c45511d2 WHIRLPOOL fc11c8ed444fd2c61f49c54cd389fc640c14d43c91e6cd0e3ca89f81a4cff82ea4429b9428a6c92110f4111ff261c4b09faab4c311e8b8835ef7a3a955838350 DIST cantor-16.12.0.tar.xz 378424 SHA256 28f1bf0e757aa863d601d473e1722d1167dd5775a05d6771a833d2d85bd0374c SHA512 a4528d5ad640ba8617eec65b7690add67ab809c76ec1a4cd964fa2c06c87f45c6ad5d31abf9e2985de68f9d7c9c544aabe67bb67999a7bb6a9a85fa0af9539f1 WHIRLPOOL 33cb40d7d05e337fe586b0dcbce5e8f418bb540785ba97e3e8ace6d65c16ed768fe4781ffed92a08e4ab9cd62ea369590718af0e097e474d529bac1f2c2e9a12 +DIST cantor-16.12.1.tar.xz 378476 SHA256 5a8219129d2aa19220c13f5327c8fe2a10b4e7fdaf0e9e0f07069c3b803df6d4 SHA512 550a6a9d052108d7198fcf293a91adf2fa26ac706c4d2341454d06b364be68849452b6be9992ce867d28f19bdf087ff17edcee1b2904e6e95ad740f95a63393f WHIRLPOOL ca7863055cdb9df5869b06fee5185f7c833aa4ac3c4e8a1ce8fd8659c248136f59c0498c03f9698b284133c1abd20595b4b41ca1e38898db72559f4b2da25a0a diff --git a/kde-apps/cantor/cantor-16.12.1.ebuild b/kde-apps/cantor/cantor-16.12.1.ebuild new file mode 100644 index 000000000000..a6e74d95770b --- /dev/null +++ b/kde-apps/cantor/cantor-16.12.1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +KDE_HANDBOOK="forceoptional" +KDE_TEST="forceoptional" +PYTHON_COMPAT=( python2_7 ) +# FIXME: PYTHON_COMPAT=( python{2_7,3_4,3_5} ) +inherit kde5 python-r1 + +DESCRIPTION="Interface for doing mathematics and scientific computing" +HOMEPAGE="https://www.kde.org/applications/education/cantor https://edu.kde.org/cantor" +KEYWORDS="~amd64 ~x86" +IUSE="analitza julia lua postscript python qalculate +R" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) +# FIXME: $(python_gen_cond_dep 'dev-qt/qtdbus:5' 'python3*') +RDEPEND=" + $(add_frameworks_dep karchive) + $(add_frameworks_dep kcompletion) + $(add_frameworks_dep kconfig) + $(add_frameworks_dep kconfigwidgets) + $(add_frameworks_dep kcoreaddons) + $(add_frameworks_dep kcrash) + $(add_frameworks_dep ki18n) + $(add_frameworks_dep kiconthemes) + $(add_frameworks_dep kio) + $(add_frameworks_dep knewstuff) + $(add_frameworks_dep kparts) + $(add_frameworks_dep kpty) + $(add_frameworks_dep ktexteditor) + $(add_frameworks_dep kwidgetsaddons) + $(add_frameworks_dep kxmlgui) + $(add_qt_dep qtgui) + $(add_qt_dep qtprintsupport) + $(add_qt_dep qtsvg) + $(add_qt_dep qtwidgets) + $(add_qt_dep qtxml) + $(add_qt_dep qtxmlpatterns) + analitza? ( $(add_kdeapps_dep analitza) ) + julia? ( dev-lang/julia ) + lua? ( dev-lang/luajit:2 ) + qalculate? ( + sci-libs/cln + sci-libs/libqalculate:= + ) + postscript? ( app-text/libspectre ) + python? ( ${PYTHON_DEPS} ) + R? ( dev-lang/R ) +" +DEPEND="${RDEPEND} + dev-cpp/eigen:2 +" + +RESTRICT+=" test" + +pkg_pretend() { + kde5_pkg_pretend + + if ! has_version sci-mathematics/maxima && ! has_version sci-mathematics/octave && \ + ! use analitza && ! use julia && ! use lua && ! use python && ! use qalculate && ! use R; then + einfo "You have decided to build ${PN} with no backend." + einfo "To have this application functional, please enable one of the backends via USE flag:" + einfo " analitza, julia, lua, python, qalculate, R" + einfo "Alternatively, install one of these:" + einfo " # emerge sci-mathematics/maxima" + einfo " # emerge sci-mathematics/octave" + fi +} + +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/^/#/" \ + -i src/backends/CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package analitza Analitza5) + $(cmake-utils_use_find_package julia Julia) + $(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 Qalculate) + $(cmake-utils_use_find_package R R) + ) + kde5_src_configure +} |