summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-17 21:42:40 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-18 00:10:40 +0200
commit3a72f7a44aaab3c152fc7b3a4635972c28863eee (patch)
treeec4a332f3a5b84bbfd65b11cbe5d338998d91534 /sci-mathematics
parentsci-electronics/ghdl: bump to 4.1.0 (diff)
downloadgentoo-3a72f7a44aaab3c152fc7b3a4635972c28863eee.tar.gz
gentoo-3a72f7a44aaab3c152fc7b3a4635972c28863eee.tar.bz2
gentoo-3a72f7a44aaab3c152fc7b3a4635972c28863eee.zip
sci-mathematics/cadabra: drop old 2.4.4.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/cadabra/Manifest1
-rw-r--r--sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild104
2 files changed, 0 insertions, 105 deletions
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index f952e30338b3..7301e0ff56c0 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,2 +1 @@
-DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
diff --git a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
deleted file mode 100644
index dc848e56ac06..000000000000
--- a/sci-mathematics/cadabra/cadabra-2.4.4.1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
-
-PYTHON_COMPAT=( python3_{10..11} )
-
-inherit xdg-utils python-single-r1 cmake
-
-DESCRIPTION="Field-theory motivated approach to computer algebra"
-HOMEPAGE="https://cadabra.science/
- https://github.com/kpeeters/cadabra2/"
-
-if [[ "${PV}" == *9999* ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/kpeeters/${CADABRA}.git"
-else
- SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
- -> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="amd64 ~x86"
-fi
-
-LICENSE="GPL-3"
-SLOT="0/${MAJOR}"
-IUSE="gui +jupyter test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
- ${PYTHON_DEPS}
- app-text/dvipng
- dev-cpp/glibmm:2
- dev-db/sqlite:3=
- dev-libs/boost:=
- dev-libs/gmp:=[cxx]
- dev-libs/jsoncpp:=
- dev-libs/libsigc++:2
- dev-texlive/texlive-basic
- $(python_gen_cond_dep '
- dev-python/gmpy:2[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/sympy[${PYTHON_USEDEP}]
- jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
- ')
- gui? ( dev-cpp/gtkmm:3.0 )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
-
-DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
-
-xdg_update() {
- if use gui ; then
- xdg_icon_cache_update
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- fi
-}
-
-src_prepare() {
- # Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
-
- # Fix "PYTHON_EXECUTABLE" in Jupyter kernel
- sed -i "s|@PYTHON_EXECUTABLE@|${EPYTHON}|" \
- "${S}"/jupyterkernel/kernelspec/kernel.json.in || die
-
- cmake_src_prepare
-}
-
-src_configure() {
- local -a mycmakeargs=(
- -DENABLE_SYSTEM_JSONCPP=ON
- -DPACKAGING_MODE=ON
- -DUSE_PYTHON_3=ON
- -DBUILD_AS_CPP_LIBRARY=OFF
- -DENABLE_JUPYTER=OFF # special Xeus Jupyter kernel (uses xtl)
- -DENABLE_MATHEMATICA=OFF
- -DINSTALL_TARGETS_ONLY=OFF
- -DBUILD_TESTS=$(usex test)
- -DENABLE_FRONTEND=$(usex gui)
- -DENABLE_PY_JUPYTER=$(usex jupyter)
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
-}
-
-pkg_postinst() {
- xdg_update
-}
-
-pkg_postrm() {
- xdg_update
-}