summaryrefslogtreecommitdiff
path: root/sci-mathematics/cadabra
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-25 22:43:50 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-25 22:43:50 +0000
commit6566922a3f59282ca6faed226f6e5665f04bcd58 (patch)
tree13936a1c84db440066163e22fb82efb2880fdcc1 /sci-mathematics/cadabra
parentfe641adc6a5e3f54d9c6b8b3521afb17d49f7185 (diff)
gentoo auto-resync : 25:01:2024 - 22:43:50
Diffstat (limited to 'sci-mathematics/cadabra')
-rw-r--r--sci-mathematics/cadabra/Manifest4
-rw-r--r--sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild (renamed from sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild)37
2 files changed, 24 insertions, 17 deletions
diff --git a/sci-mathematics/cadabra/Manifest b/sci-mathematics/cadabra/Manifest
index 197ed6c5b9ef..a71f9048a471 100644
--- a/sci-mathematics/cadabra/Manifest
+++ b/sci-mathematics/cadabra/Manifest
@@ -1,6 +1,6 @@
AUX cadabra2-CMake.patch 3184 BLAKE2B afa702834d5eb82a8056307b419fc20bbc2d45b0474994328b70fee383dff415ea37ef2e70c83e9cb7776e06f9295cf5cb9afddddaf857227f7a72f362b61726 SHA512 ddd6b451f81e465d4fef9401340808922bcb1074895173d83d699614e0c967024863848fabdd207f7124ff6396e8c2c75d2ed1425ba73d7bb6d5ac6fe56a87f1
-DIST cadabra-2.4.3.2.tar.gz 25157173 BLAKE2B 895b91a01f5dedc87294903959ee3aca0234016fce0094f4288c07e2d265f90f834670b9c50dcfa059e46564c773f73f049cf65db74f49932e442d15d68ecd88 SHA512 21c76804442397fa3d5fa407fc74395fc800d01c2a5d84270e9cf3abd875c8ff96e2ba8f8349037797ff4ef3d2b9033c2a1a6af45bb75c3a201acdd7357adb6f
DIST cadabra-2.4.4.1.tar.gz 25171405 BLAKE2B 7505b5b56c4b9f18c63535cac1854a8926f985729ac9b284146d7d604c4774436510f1fa04c615efb4e06ae4b077859e391046b2d07565586afc0d9dac66156a SHA512 9e81889dabeff1ad93f4d8fc01960c11747d2a19d0cb6d8f872cff217ffe7bd6b92fcd5ce49cf5f2c089c440a3abdb0358f5f470b4de616ce17c42a23864caf6
-EBUILD cadabra-2.4.3.2-r1.ebuild 2329 BLAKE2B 877d2060a10c388f43d1723f0830cfdb9a67426af825d7fb16709978b8f1f77888de668f676c76f60e652252261074e60b8087cf144e8f0d1add2db74656e67e SHA512 d081f07f31259e6bf596f6ed3e0362e426b83e02aa99d51cf51601f1654bead5c1d6e5e8a1bd0be000b2237018eab41c9cd00cb6141a76473bed3f1cbaec106f
+DIST cadabra-2.4.5.4.tar.gz 26825874 BLAKE2B 90562e4ddb08a99a38f32d5cf3fe237b2ca5ece80e4bf70caa8db23a2b6af246b289eb41e7d366c5a242e6e06a680ab0917deb43f29efcf7d6703338c7e97d00 SHA512 907e291880aac84a4f5695f77dd34512c13dba320b38fee59c765b070235c9ef777f6e188c675c8247f56144624edb84459d8b500e4c074731633a2b9cf9ee74
EBUILD cadabra-2.4.4.1.ebuild 2329 BLAKE2B 877d2060a10c388f43d1723f0830cfdb9a67426af825d7fb16709978b8f1f77888de668f676c76f60e652252261074e60b8087cf144e8f0d1add2db74656e67e SHA512 d081f07f31259e6bf596f6ed3e0362e426b83e02aa99d51cf51601f1654bead5c1d6e5e8a1bd0be000b2237018eab41c9cd00cb6141a76473bed3f1cbaec106f
+EBUILD cadabra-2.4.5.4.ebuild 2350 BLAKE2B 746bc61fbbb5baad3b8de19d799953a7eca481fc12f8258c26b680e21c43d83b408d92914d8d1b0362c43ebb306c6ece07b94423dc3cb9eb966ee652382f3dcb SHA512 6496cc099b3a7e6dbfd0c71e2845f01b8b444dea01662306f22277b6c925de7ab0766a5ac47161eadd8fb6e6423a83ce910725112fa0364c34078fede05b678a
MISC metadata.xml 1342 BLAKE2B 2f34aae73fc01d4b8fd4326505b7b0785663c62593641d1d0a01f64adc12cbc8676271612ce91258927ac22957a8d5aba53dd2627130582c744bc32c28e0e207 SHA512 41dffbcfae16f8f0702df5a1837b225100761d48817a2d70fa03aca6246b9d3184d60989cf265282286b02a77a126ac82695c2d74c6de91da45e8f64fcb91811
diff --git a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
index dc848e56ac06..674e4a11293b 100644
--- a/sci-mathematics/cadabra/cadabra-2.4.3.2-r1.ebuild
+++ b/sci-mathematics/cadabra/cadabra-2.4.5.4.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-MAJOR=$(ver_cut 1)
-CADABRA=${PN}${MAJOR}
+MAJOR="$(ver_cut 1)"
+CADABRA="${PN}${MAJOR}"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit xdg-utils python-single-r1 cmake
@@ -20,8 +20,9 @@ if [[ "${PV}" == *9999* ]] ; then
else
SRC_URI="https://github.com/kpeeters/${CADABRA}/archive/${PV}.tar.gz
-> ${P}.tar.gz"
- S="${WORKDIR}"/${CADABRA}-${PV}
- KEYWORDS="amd64 ~x86"
+ S="${WORKDIR}/${CADABRA}-${PV}"
+
+ KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
@@ -46,12 +47,18 @@ RDEPEND="
dev-python/sympy[${PYTHON_USEDEP}]
jupyter? ( dev-python/jupyter[${PYTHON_USEDEP}] )
')
- gui? ( dev-cpp/gtkmm:3.0 )
+ gui? (
+ dev-cpp/gtkmm:3.0
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
"
-DEPEND="${RDEPEND}"
-BDEPEND="$(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')"
-PATCHES=( "${FILESDIR}"/${CADABRA}-CMake.patch )
+PATCHES=( "${FILESDIR}/${CADABRA}-CMake.patch" )
DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md JUPYTER.rst README.rst )
@@ -65,11 +72,11 @@ xdg_update() {
src_prepare() {
# Clean postinst script which calls libtool and icon-cache update
- echo '#!/bin/sh' > "${S}"/config/postinst.in || die
+ 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
+ "${S}/jupyterkernel/kernelspec/kernel.json.in" || die
cmake_src_prepare
}
@@ -83,9 +90,9 @@ src_configure() {
-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)
+ -DBUILD_TESTS="$(usex test)"
+ -DENABLE_FRONTEND="$(usex gui)"
+ -DENABLE_PY_JUPYTER="$(usex jupyter)"
)
cmake_src_configure
}