acct-{user,group}/ollama: treeclean, now in ::gentoo

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James committed 2026-07-12 21:17:03 +01:00
1 parent 518513b5d9
commit 261e9ea227
4 files changed
-56

No files matched your search

-8
View File
@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>negril.nx+gentoo@gmail.com</email>
<name>Paul Zander</name>
</maintainer>
</pkgmetadata>
-31
View File
@@ -1,31 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit acct-user
DESCRIPTION="A user for ollama"
ACCT_USER_ID=-1
ACCT_USER_HOME=/var/lib/ollama
ACCT_USER_HOME_PERMS=0750
ACCT_USER_GROUPS=( ollama )
KEYWORDS="~amd64"
IUSE="cuda"
acct-user_add_deps
RDEPEND+="
cuda? (
acct-group/video
)
"
pkg_setup() {
# sci-ml/ollama[cuda]
if use cuda; then
ACCT_USER_GROUPS+=( video )
fi
}