diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-04-20 01:41:10 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-04-20 02:02:58 +0200 |
commit | 85b9b26001214e6fcc60a1c17dafe9f136bc0289 (patch) | |
tree | 1c12dc807b4db452ccd0f84bf56b380d18e52531 /sci-mathematics | |
parent | dev-python/ytmusicapi: bump to 1.0.1 (diff) | |
download | gentoo-85b9b26001214e6fcc60a1c17dafe9f136bc0289.tar.gz gentoo-85b9b26001214e6fcc60a1c17dafe9f136bc0289.tar.bz2 gentoo-85b9b26001214e6fcc60a1c17dafe9f136bc0289.zip |
sci-mathematics/cadabra: drop old 2.4.2.1-r1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/cadabra/Manifest | 1 | ||||
-rw-r--r-- | sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild | 104 |
2 files changed, 0 insertions, 105 deletions
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest index 517715df8c6b..3e5d8963098c 100644 --- a/sci-mathematics/cadabra/Manifest +++ b/sci-mathematics/cadabra/Manifest @@ -1,3 +1,2 @@ -DIST cadabra-2.4.2.1.tar.gz 25154623 BLAKE2B 99c24728c80c5909df338b9214774123c2aac63e475138b5059c0c7824685827765d7906c17200ab3bad63e08b3637c7eb67b2f25bb3477eab4ca02fcbedbb56 SHA512 9dd280dfaca3cf1def268bca7884b0d00287bba5bfb7b80e8bdf4759f91c83117d146af2a24e05d2a8bdc8a5be412529a805713861a56a7186c35fe07ff8d0db DIST cadabra-2.4.2.2.tar.gz 25156757 BLAKE2B 05d4e490d1fa740b3dd505b72d5f4f298e62e234859e81b5bdf865e895ab820b3cd5d6db3ecda1cac0426b031cc5c87428d464bdb66b24cb9b945ababc860a90 SHA512 c5c55abad090d72f981341d94d3e299583f446a4bff1df994a60c740cede9e543b5cdee146dae2a846deec4adf446172e62b0f12deab8c89e7a085ffa7006acf DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f diff --git a/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.ebuild deleted file mode 100644 index 729dbdb870fa..000000000000 --- a/sci-mathematics/cadabra/cadabra-2.4.2.1-r1.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_{9..11} ) - -inherit xdg-utils python-single-r1 cmake - -DESCRIPTION="Field-theory motivated approach to computer algebra" -HOMEPAGE="https://cadabra.science/" - -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="gtk +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}] ) - ') - gtk? ( 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 ) - -# Because we do not want to pull in "_XDG_DEPEND" dependencies with USE="-gtk" -xdg_update() { - if use gtk ; 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 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 gtk) - -DENABLE_PY_JUPYTER=$(usex jupyter) - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - python_optimize -} - -pkg_postinst() { - xdg_update -} - -pkg_postrm() { - xdg_update -} |