repo/proj/guru:dev commit in: sci-ml/ollama-bin/
"Adel KARA SLIMANE" <[email protected]> Wed, 05 Aug 2026 00:47:58 +0000 (UTC)
| Newsgroups | gmane.linux.gentoo.cvs |
|---|---|
| Message-ID | <1785890867.b0da3e0ee53fbc5ef75c15583dde11fae59d76fa.adel@gentoo> |
commit: b0da3e0ee53fbc5ef75c15583dde11fae59d76fa
Author: Adel KARA SLIMANE <adel.ks <AT> zegrapher <DOT> com>
AuthorDate: Wed Aug 5 00:47:10 2026 +0000
Commit: Adel KARA SLIMANE <adel <AT> karaslimane <DOT> com>
CommitDate: Wed Aug 5 00:47:47 2026 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b0da3e0e
sci-ml/ollama-bin: drop 0.31.1
Signed-off-by: Adel KARA SLIMANE <adel.ks <AT> zegrapher.com>
sci-ml/ollama-bin/Manifest | 2 -
sci-ml/ollama-bin/ollama-bin-0.31.1.ebuild | 74 ------------------------------
2 files changed, 76 deletions(-)
diff --git a/sci-ml/ollama-bin/Manifest b/sci-ml/ollama-bin/Manifest
index a0bf507a05..898ad47a56 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-amd64-0.32.5.tar.zst 1422353729 BLAKE2B 68c656fcf69fe4e9c80b54ddb4e2f184c7b6742fe6a6efc165d0da8529fb730e673761fb84bfda2ae14147a44dd4e91d0765e46e65fde8842b06c95e834b9cb1 SHA512 7cdb81a7d86565f2a40414abfe3f564361beaa73d70c31b823aed3d6db6eda18025152056ecb1d58fd752ee10f315a1ad82d8479613ca307091f64152ca90997
-DIST ollama-bin-rocm-amd64-0.31.1.tar.zst 1055132809 BLAKE2B 627a9ef077c201424b4b494f179e8f807f9e8157970bf6cce1abd2fa3a42ae81b912dd7ab691c4943f0fcc8f69ab60a0914d04ac534a837bb1086cb81720edf3 SHA512 7ac5b2d3ec6ebbe664e0b1aef91d774f633e7e48ff02b847eff69fd962dd1028e55b2f4c951fcee2e646e17623f94679a7df4e818ab9116e0c2f14384971824d
DIST ollama-bin-rocm-amd64-0.32.5.tar.zst 1047683394 BLAKE2B ceb42de9c377523fc837072dc183b44df9acc98628251d64d5a53eec1f34559e8dda001d81526c3c85eebe7dde57611ea7ad4e69a03759217a27680767a31fdb SHA512 70dddb5d1e44e1435800a5b587d79cccf6a2b47c8513b0a71ae2ec51d850fd2de3f66504522906e051d971659bd077f07861ac8c9ddbac3b474546f0d1fd6bb9
diff --git a/sci-ml/ollama-bin/ollama-bin-0.31.1.ebuild b/sci-ml/ollama-bin/ollama-bin-0.31.1.ebuild
deleted file mode 100644
index 01efe4a496..0000000000
--- a/sci-ml/ollama-bin/ollama-bin-0.31.1.ebuild
+++ /dev/null
@@ -1,74 +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
- -> ${PN}-amd64-${PV}.tar.zst
- )
- rocm? (
- https://github.com/ollama/ollama/releases/download/v${PV}/ollama-linux-amd64-rocm.tar.zst
- -> ${PN}-rocm-amd64-${PV}.tar.zst
- )
-"
-S="${WORKDIR}"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="-* ~amd64"
-IUSE="rocm cuda"
-
-RESTRICT="strip"
-
-BDEPEND="
- dev-util/patchelf
-"
-
-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
-
- # Shipped upstream libraries come with '$ORIGIN:/build/llama-server-cpu/bin:' set in their RUNPATH
- # scanelf complains about it during install, and we only need $ORIGIN
- # (all libs are in the same folder), so we set it to that
- for so in "${S}"/lib/ollama/*.so; do
- patchelf --set-rpath '$ORIGIN' "${so}" || die
- done
-}
-
-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"
-}