diff --git a/sci-ml/ollama-bin/Manifest b/sci-ml/ollama-bin/Manifest index fe20d93a04..18dcd63bf3 100644 --- a/sci-ml/ollama-bin/Manifest +++ b/sci-ml/ollama-bin/Manifest @@ -1,4 +1,2 @@ DIST ollama-bin-amd64-0.31.1.tar.zst 1408625102 BLAKE2B afb359ccbc5082a4b29af7a8683156edc8115251dcf03c25c501d8335b32bbbb2a6c37302a786808987317b3e398aaf5f3720291ca7accc16ab5183ef4d30a8d SHA512 ad17888dbea1684fa58dddaf549c9d104c1b8afc6b8c0c5bd81bac09d2547c35905f6f4fa8d21be1f9822a37b090ae30be4e64b2c43591954442abf66268a25c DIST ollama-bin-rocm-amd64-0.31.1.tar.zst 1055132809 BLAKE2B 627a9ef077c201424b4b494f179e8f807f9e8157970bf6cce1abd2fa3a42ae81b912dd7ab691c4943f0fcc8f69ab60a0914d04ac534a837bb1086cb81720edf3 SHA512 7ac5b2d3ec6ebbe664e0b1aef91d774f633e7e48ff02b847eff69fd962dd1028e55b2f4c951fcee2e646e17623f94679a7df4e818ab9116e0c2f14384971824d -DIST ollama-linux-amd64-rocm.tar.zst 1054915494 BLAKE2B 1fbfae73191c95dd1e4c3223508e17014f73e8ee8dbd764e1a4e37ec3aa2c52e602ef13efba7e8b346e9a5cb85b66ea52d22870593e5e145e40951bc4a8e5c1f SHA512 4892cd136f0515ce13cdc6c31176f3380f74d9268753cbed0b7b537dbb8d7f2d8a8bd809fc255e2e4d5971644c4a1e6d9873fdbdef8be7b4df4881f3bf65a45e -DIST ollama-linux-amd64.tar.zst 1394175620 BLAKE2B 6aa59356c12263630630f8e8579cf9530649fdab0f88fadeddbdb7ff568697e0fb2f1826477c4fd2958f68107099a1fd16be29ec08e092e6c02ea273fa06e454 SHA512 8e235c13ab539706b696eac32123d933621fd612c1ae9356b3391904027e7ccb305ffcf1c17c3b236ae90f4ece8fc44a1a5fdaa10701cc70393efcbed6e70f8c diff --git a/sci-ml/ollama-bin/ollama-bin-0.30.5.ebuild b/sci-ml/ollama-bin/ollama-bin-0.30.5.ebuild deleted file mode 100644 index 59ddee9ef8..0000000000 --- a/sci-ml/ollama-bin/ollama-bin-0.30.5.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit unpacker systemd - -DESCRIPTION="Get up and running with local large language models." -HOMEPAGE="https://ollama.com" -SRC_URI=" - amd64? ( https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64.tar.zst ) - rocm? ( https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64-rocm.tar.zst ) -" -S="${WORKDIR}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="rocm cuda" - -RESTRICT="strip" - -RDEPEND=" - acct-group/ollama - acct-group/render - acct-group/video - app-arch/bzip2 - app-arch/xz-utils - app-arch/zstd - media-libs/vulkan-loader - sys-libs/zlib-ng - >=acct-user/ollama-3[cuda?] - cuda? ( - dev-util/nvidia-cuda-toolkit - ) -" - -QA_PREBUILT="*" - -src_prepare() { - default - if ! use cuda; then - rm -rf "${S}"/lib/ollama/{cuda_v12,cuda_v13} || die - fi - # no need to strip for rocm, because the folder containing it wouldn't even be fetched and unpacked -} - -src_install(){ - dodir /opt/ollama - cp -a bin lib "${ED}/opt/ollama/" || die "installing ollama blob failed" - - dosym ../../opt/ollama/bin/ollama /usr/bin/ollama - dosym ../../opt/ollama/lib/ollama/llama-server /usr/bin/llama-server - dosym ../../opt/ollama/lib/ollama/llama-quantize /usr/bin/llama-quantize - - systemd_dounit "${FILESDIR}/ollama.service" -}