mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
Revert "acct-{user,group}/ollama: treeclean, now in ::gentoo"
This reverts commit261e9ea227. Based on2e79ca38f1, let's keep this for now given the differences should be reconciled. Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
8
acct-group/ollama/metadata.xml
Normal file
8
acct-group/ollama/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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>
|
||||
9
acct-group/ollama/ollama-0.ebuild
Normal file
9
acct-group/ollama/ollama-0.ebuild
Normal file
@@ -0,0 +1,9 @@
|
||||
# Copyright 2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit acct-group
|
||||
|
||||
DESCRIPTION="A group for ollama"
|
||||
ACCT_GROUP_ID=-1
|
||||
8
acct-user/ollama/metadata.xml
Normal file
8
acct-user/ollama/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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
acct-user/ollama/ollama-3.ebuild
Normal file
31
acct-user/ollama/ollama-3.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user