Install this version:
emerge -a =sci-ml/segment-anything-1.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-ml/segment-anything-1.0
Or alternatively:
emerge --autounmask-write -a =sci-ml/segment-anything-1.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.0 | 8 | ~amd64 | 0 |
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
MY_PN=segment-anything
MY_P=${MY_PN}-${PV}
DESCRIPTION="Meta AI Segment Anything Model (SAM)"
HOMEPAGE="https://github.com/facebookresearch/segment-anything"
SRC_URI="https://files.pythonhosted.org/packages/source/s/${MY_PN}/${PN//-/_}-${PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}/${PN//-/_}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="
${PYTHON_DEPS}
virtual/pytorch
"
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | segment-anything-1.0.tar.gz | 31191 bytes | https://files.pythonhosted.org/packages/source/s/segment-anything/segment_anything-1.0.tar.gz |