diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-apps/cantor | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-apps/cantor')
-rw-r--r-- | kde-apps/cantor/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/cantor/cantor-4.14.3.ebuild | 63 | ||||
-rw-r--r-- | kde-apps/cantor/metadata.xml | 10 |
3 files changed, 74 insertions, 0 deletions
diff --git a/kde-apps/cantor/Manifest b/kde-apps/cantor/Manifest new file mode 100644 index 000000000000..1580c8227f82 --- /dev/null +++ b/kde-apps/cantor/Manifest @@ -0,0 +1 @@ +DIST cantor-4.14.3.tar.xz 342140 SHA256 8fc81454666aa082ab392ae796f233acfb83a46fd9064952c643d89bed4565e1 SHA512 5da20030a74ef4f3b9d59f37d07b4a893b1f9cfea43728b4aa7c0aefe219d0de554201bbbf57ab9cd3e10a97ba381171cd2a907843246c42616da2a5d6b6afa9 WHIRLPOOL e5d46da3a7081d23fbb47e51c96ae58cac32a6d90354bc335bfb1926ec6586070da64ee7b973aeebbe75d81eea5858fdceadecc667f17c49bbb3fb48ea43db58 diff --git a/kde-apps/cantor/cantor-4.14.3.ebuild b/kde-apps/cantor/cantor-4.14.3.ebuild new file mode 100644 index 000000000000..f8f56c855797 --- /dev/null +++ b/kde-apps/cantor/cantor-4.14.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +KDE_HANDBOOK="optional" +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 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="analitza debug postscript python qalculate +R" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# TODO Add Sage Mathematics Software backend (http://www.sagemath.org) +RDEPEND=" + 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 +" + +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) + $(cmake-utils_use_with qalculate) + $(cmake-utils_use_with R) + ) + kde4-base_src_configure +} + +pkg_postinst() { + kde4-base_pkg_postinst + + 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', 'python', 'qalculate' or 'R' USE flag enabled" + ewarn " # emerge -vaDu sci-mathematics/maxima" + echo + fi +} diff --git a/kde-apps/cantor/metadata.xml b/kde-apps/cantor/metadata.xml new file mode 100644 index 000000000000..0bed71d37906 --- /dev/null +++ b/kde-apps/cantor/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>kde</herd> + <use> + <flag name="analitza">Enable <pkg>kde-base/analitza</pkg> backend support</flag> + <flag name="qalculate">Enable <pkg>sci-libs/libqalculate</pkg> backend support</flag> + <flag name="R">Enable <pkg>dev-lang/R</pkg> backend support</flag> + </use> +</pkgmetadata> |