summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2017-01-25 20:08:39 +0700
committerAndrey Grozin <grozin@gentoo.org>2017-01-25 20:09:30 +0700
commitef56c81e15f82171a04465585baa5902deb67f90 (patch)
tree2f1bff03e3b8215c600105f618939da0a9acb191 /sci-mathematics
parentsys-apps/epoch: Removed old files (diff)
downloadgentoo-ef56c81e15f82171a04465585baa5902deb67f90.tar.gz
gentoo-ef56c81e15f82171a04465585baa5902deb67f90.tar.bz2
gentoo-ef56c81e15f82171a04465585baa5902deb67f90.zip
sci-mathematics/yacas: bump to 1.6.1
Contributed by Petross404(Petros S) <petross404@gmail.com> Bug: 607108 Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/yacas/Manifest1
-rw-r--r--sci-mathematics/yacas/metadata.xml4
-rw-r--r--sci-mathematics/yacas/yacas-1.6.1.ebuild52
3 files changed, 57 insertions, 0 deletions
diff --git a/sci-mathematics/yacas/Manifest b/sci-mathematics/yacas/Manifest
index 53b2173f9a1..a010b3dd59b 100644
--- a/sci-mathematics/yacas/Manifest
+++ b/sci-mathematics/yacas/Manifest
@@ -1,3 +1,4 @@
DIST yacas-1.3.2.tar.gz 1292706 SHA256 82c7dc0de492b4290633e6abf18d35a2ec03117e6ea3e0f9418e6e85372c030e SHA512 29d7e439126352255cd80c5c441884179e0c7784e7a409b1f9d486916b17433ba9b642163238db5c1c7ac709248a146db93fa85b6c7f42e86365958f623d8fb9 WHIRLPOOL 49d0c69316cf2dbd05aed7be23e20cdde6d324b624f6e358afd96b9dc8889eb17456dd30b2953fa6dc8593d47872f8b8eec6eb1de05992e51bcc8ec66800b591
DIST yacas-1.3.3.tar.gz 1296777 SHA256 6c73c653c5e13567510888800a68c14d231b1ef4f2b33193a158b8caec142141 SHA512 a0c60f78a0d3f19d5fa820bdf62b2ae25ece00f985422a17a56f091ff240b74811af1c1480c24eff5dcb5cb021aa9709664e929913a33f411e6d2b64f37d3c70 WHIRLPOOL f1334fd7cd191b1e9448efaed0542f338f35cf769ef2c6e8ca43ab0a75994aa09286fb6e5688b78927980ba4967093f971be33785f4a3d92a377532dd5e09a34
DIST yacas-1.3.4.tar.gz 1582029 SHA256 11de62f7ff014bc8a14c5f48f9c34107509506636b4701999413d0cb4dac5c69 SHA512 9ec26e2c9d5355aa124a17f7dc4164c224fed880481ebd0a672c500dae9e066e37700cbd5bf896686f713a7615a58dde7be7a7a843ab236bfd0921774dc50a43 WHIRLPOOL 1d1028083ebdb1bb4d25346200b76ab76e807174886179194bc4fffb582771861535e738d47635c5df45e21edf942458dc58221cfa7826a53df0119b71c6dade
+DIST yacas-1.6.1.tar.gz 2611119 SHA256 6b94394f705bed70a9d104967073efd6c23e9eb1a832805c4d805ef875555ae5 SHA512 fffd15f76fef15aa8502053deefa6fee2a4f8b25414fa1209579351e36131b8117135e5f7009986ac8bb6af575d2e500a0d61c4996a8a50c767a5fa80ac1eff2 WHIRLPOOL 113cecc8b7af9a7569fbfd19366d96b66e698c6432776986a22fe76f29a991ed338d31656cbf50b0fd0c5baa5a5f1f4eb3f2171d6c4f4b657fc7891f0ea3255a
diff --git a/sci-mathematics/yacas/metadata.xml b/sci-mathematics/yacas/metadata.xml
index a246edd6b6e..0c833493ef8 100644
--- a/sci-mathematics/yacas/metadata.xml
+++ b/sci-mathematics/yacas/metadata.xml
@@ -14,6 +14,10 @@
algorithms.
</longdescription>
<use>
+ <flag name="doc">Generate HTML documentation</flag>
+ <flag name="gui">Build graphical interface for the native yacas engine. Requires Qt5</flag>
+ <flag name="java">Build the Java yacas engine and text console for it</flag>
+ <flag name="jupyter">Add support for jupyter notebook</flag>
<flag name="server">Build the network server version</flag>
</use>
<upstream>
diff --git a/sci-mathematics/yacas/yacas-1.6.1.ebuild b/sci-mathematics/yacas/yacas-1.6.1.ebuild
new file mode 100644
index 00000000000..67e0eda144c
--- /dev/null
+++ b/sci-mathematics/yacas/yacas-1.6.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+CMAKE_IN_SOURCE_BUILD=0
+
+inherit java-pkg-opt-2 cmake-utils
+
+DESCRIPTION="General purpose computer algebra system"
+HOMEPAGE="http://yacas.sourceforge.net/"
+SRC_URI="https://codeload.github.com/grzegorzmazur/yacas/tar.gz/v1.6.1 -> ${P}.tar.gz"
+
+SLOT="0/1"
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+IUSE="doc gui java +jupyter static-libs"
+
+DEPEND=" dev-libs/jsoncpp
+ gui? (
+ >=dev-qt/qtcore-5.5[icu]
+ >=dev-qt/qtgui-5.5
+ >=dev-qt/qtwidgets-5.5
+ >=dev-qt/qtnetwork-5.5
+ >=dev-qt/qtwebkit-5.5
+ >=dev-qt/qtmultimedia-5.5
+ >=dev-qt/qtsql-5.5
+ >=dev-qt/qtprintsupport-5.5
+ >=dev-qt/qtopengl-5.5
+ >=dev-qt/qtprintsupport-5.5
+)
+ jupyter? (
+ dev-python/jupyter
+ dev-libs/boost
+ dev-libs/openssl:0
+ net-libs/zeromq
+ >=net-libs/zmqpp-4.1.2
+)
+ java? ( >=virtual/jdk-1.6 )
+"
+RDEPEND="java? ( >=virtual/jre-1.6 )"
+
+src_configure() {
+ local mycmakeargs=(
+ --with-html-dir="/usr/share/doc/${PF}/html"
+ -DENABLE_DOCS=$(usex doc)
+ -DENABLE_CYACAS_GUI=$(usex gui)
+ -DENABLE_CYACAS_KERNEL=$(usex jupyter)
+ -DENABLE_JYACAS=$(usex java)
+ )
+ cmake-utils_src_configure
+}