From 280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 17 Aug 2023 03:31:10 +0100 Subject: gentoo auto-resync : 17:08:2023 - 03:31:10 --- sci-mathematics/Manifest.gz | Bin 19013 -> 19012 bytes sci-mathematics/yacas/Manifest | 4 +- sci-mathematics/yacas/metadata.xml | 2 +- sci-mathematics/yacas/yacas-1.9.1-r1.ebuild | 76 ++++++++++++++++++++++++++++ sci-mathematics/yacas/yacas-1.9.1.ebuild | 75 --------------------------- 5 files changed, 79 insertions(+), 78 deletions(-) create mode 100644 sci-mathematics/yacas/yacas-1.9.1-r1.ebuild delete mode 100644 sci-mathematics/yacas/yacas-1.9.1.ebuild (limited to 'sci-mathematics') diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz index d058bf0103ec..fdd2beb2ce2f 100644 Binary files a/sci-mathematics/Manifest.gz and b/sci-mathematics/Manifest.gz differ diff --git a/sci-mathematics/yacas/Manifest b/sci-mathematics/yacas/Manifest index 4162ebe57c26..daeb645cf11e 100644 --- a/sci-mathematics/yacas/Manifest +++ b/sci-mathematics/yacas/Manifest @@ -1,3 +1,3 @@ DIST yacas-1.9.1.tar.gz 38815043 BLAKE2B 09ec83591a9c11220f4e74ea07f1cad679cfef8c7a679c379f9bbc5708a70ccf9eb09a2ec6ca3fee7d76bc86082afcbd03e3d20df2e703dc579d93e94feee3e1 SHA512 1af1d7d490cf2d98fa861c476c7a7051a28535edc815f69a58edd2d96053332a8de7125017f18acbe2bf7b4eaf561cdf4e22d3c3f8e6656aaa3fbc46d0f633ef -EBUILD yacas-1.9.1.ebuild 1902 BLAKE2B 7ef3b36037a404f7ffbd852f2a7f44896c282e055b97bbc7fa2f95b81bdf211edce3ca3ae55c46b26b691f1321c876ff357427afddbf5c76d510607a68657ed3 SHA512 bff260ab24aa703ccfce84f29cd71b7245925af957110744be03e1ef2684b4cf33bc53bc1ddbbeb665bd1062f141ab5ce0e0e3b05245c427671f9612d2f04f44 -MISC metadata.xml 850 BLAKE2B ae5238a5de38646997fdc6ccfa9085d56cefc395295fc2372e049de80547cd75870dedb075ed011084ad686bb51c27dc182a879c07ae1fcd942c0b1520d89ebb SHA512 c2d259bc09555b6aeeee9d922b8a1a6a13c637999b30b47534f810a9b8994e351328add99f789d72a7c09326d98771b4e8e94d7698da5422965fcaa84bcc42de +EBUILD yacas-1.9.1-r1.ebuild 1936 BLAKE2B 1b6bcfc4cde1f5df554cde4231e90e45bb821a200db29e549c1b31f1db013026135f51c0eb1d6da13257415d19821ebb3a137044fe716ed0ab8c09d3ab7c05d9 SHA512 4b94dc3bc45733bdf6ca555eafa90409d3f0f3749c7cee9b4b4411a78882c939007c021b7f54f85694297a5f88b8fe1cdb1a0e2c8eabcbb023d4afb3d9b9943b +MISC metadata.xml 859 BLAKE2B 1b93464f515ea7e413f80b281c1d341d3c91cf7f3e2bf13ebc7678c851bb71206b9c9d063ebd99565b6a5c9de15e5dcd8d18f922d28193ccafe980d30d7374ee SHA512 f93801595d7bb087b2a9bf41cbe735fbf1080b41772b6d29f250bf47048694f09f7ea46b98d121ba389f2ea5832d54e73f3b9a55006162e8fb0dffcb3983bd91 diff --git a/sci-mathematics/yacas/metadata.xml b/sci-mathematics/yacas/metadata.xml index 784b9fa19db1..8b5431a3a89a 100644 --- a/sci-mathematics/yacas/metadata.xml +++ b/sci-mathematics/yacas/metadata.xml @@ -17,6 +17,6 @@ Add support for jupyter notebook - yacas + grzegorzmazur/yacas diff --git a/sci-mathematics/yacas/yacas-1.9.1-r1.ebuild b/sci-mathematics/yacas/yacas-1.9.1-r1.ebuild new file mode 100644 index 000000000000..56679b940c84 --- /dev/null +++ b/sci-mathematics/yacas/yacas-1.9.1-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Sphinx doc building is not compatible with in-tree version of sphinx-bibtex: +# Extension error: You must configure the bibtex_bibfiles setting +# +# PYTHON_COMPAT=( python3_{8..10} ) +# DOCS_BUILDER="sphinx" +# DOCS_DEPEND=" +# dev-python/sphinxcontrib-bibtex +# dev-python/sphinx-rtd-theme +# " + +inherit cmake xdg # python-any-r1 docs + +DESCRIPTION="General purpose computer algebra system" +HOMEPAGE="https://www.yacas.org/" +SRC_URI="https://github.com/grzegorzmazur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2 gui? ( MIT Apache-2.0 OFL-1.1 )" +SLOT="0/1" +KEYWORDS="~amd64 ~x86" +IUSE="gui +jupyter static-libs test" +RESTRICT="!test? ( test )" + +# Upstream bundles MathJax-2.x +DEPEND=" + gui? ( + =net-libs/zmqpp-4.1.2 + ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + # respect DESTDIR. avoid sandbox violation + sed -i -e 's/${CMAKE_INSTALL_PREFIX}/\\$ENV{DESTDIR}\/${CMAKE_INSTALL_PREFIX}/g' \ + cyacas/yacas-gui/resources/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # TODO: Unbundle CodeMirror + local mycmakeargs=( + -DENABLE_CYACAS_BENCHMARKS=OFF + -DENABLE_DOCS=OFF + # -DENABLE_DOCS=$(usex doc) + -DENABLE_JYACAS=OFF # requires manual install + -DENABLE_CYACAS_GUI=$(usex gui) + # use system version of mathjax instead + -DENABLE_CYACAS_GUI_PRIVATE_MATHJAX=OFF + -DMATHJAX_PATH="${EPREFIX}/usr/share/mathjax/MathJax.js" + -DENABLE_CYACAS_KERNEL=$(usex jupyter) + -DENABLE_CYACAS_UNIT_TESTS=$(usex test) + ) + cmake_src_configure +} diff --git a/sci-mathematics/yacas/yacas-1.9.1.ebuild b/sci-mathematics/yacas/yacas-1.9.1.ebuild deleted file mode 100644 index ae07a43527f5..000000000000 --- a/sci-mathematics/yacas/yacas-1.9.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Sphinx doc building is not compatible with in-tree version of sphinx-bibtex: -# Extension error: You must configure the bibtex_bibfiles setting -# -# PYTHON_COMPAT=( python3_{8..10} ) -# DOCS_BUILDER="sphinx" -# DOCS_DEPEND=" -# dev-python/sphinxcontrib-bibtex -# dev-python/sphinx-rtd-theme -# " - -inherit cmake xdg # python-any-r1 docs - -DESCRIPTION="General purpose computer algebra system" -HOMEPAGE="https://www.yacas.org/" -SRC_URI="https://github.com/grzegorzmazur/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2 gui? ( MIT Apache-2.0 OFL-1.1 )" -SLOT="0/1" -KEYWORDS="~amd64 ~x86" -IUSE="gui +jupyter static-libs test" -RESTRICT="!test? ( test )" - -DEPEND=" - gui? ( - dev-libs/mathjax - dev-qt/qtcore:5[icu] - dev-qt/qtgui:5 - dev-qt/qtmultimedia:5 - dev-qt/qtnetwork:5 - dev-qt/qtopengl:5 - dev-qt/qtprintsupport:5 - dev-qt/qtsql:5 - dev-qt/qtsvg:5 - dev-qt/qtwebengine:5[widgets] - dev-qt/qtwidgets:5 - ) - jupyter? ( - dev-libs/boost:= - dev-libs/jsoncpp:= - dev-libs/openssl:0= - dev-python/jupyter - net-libs/zeromq - >=net-libs/zmqpp-4.1.2 - ) -" -RDEPEND="${DEPEND}" - -src_prepare() { - # respect DESTDIR. avoid sandbox violation - sed -i -e 's/${CMAKE_INSTALL_PREFIX}/\\$ENV{DESTDIR}\/${CMAKE_INSTALL_PREFIX}/g' \ - cyacas/yacas-gui/resources/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # TODO: Unbundle CodeMirror - local mycmakeargs=( - -DENABLE_CYACAS_BENCHMARKS=OFF - -DENABLE_DOCS=OFF - # -DENABLE_DOCS=$(usex doc) - -DENABLE_JYACAS=OFF # requires manual install - -DENABLE_CYACAS_GUI=$(usex gui) - # use system version of mathjax instead - -DENABLE_CYACAS_GUI_PRIVATE_MATHJAX=OFF - -DMATHJAX_PATH="${EPREFIX}/usr/share/mathjax/MathJax.js" - -DENABLE_CYACAS_KERNEL=$(usex jupyter) - -DENABLE_CYACAS_UNIT_TESTS=$(usex test) - ) - cmake_src_configure -} -- cgit v1.2.3