Install this version:
emerge -a =dev-python/spandrel-0.4.2-r1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/spandrel-0.4.2-r1
Or alternatively:
emerge --autounmask-write -a =dev-python/spandrel-0.4.2-r1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.4.2-r1 | 8 | ~amd64 | 0 |
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
DESCRIPTION="PyTorch architecture support for AI Super-Resolution and restoration"
HOMEPAGE="https://github.com/chaiNNer-org/spandrel"
SRC_URI="https://github.com/chaiNNer-org/spandrel/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
sci-ml/pytorch
sci-ml/torchvision
dev-python/safetensors[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/einops[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
sci-ml/pytorch sci-ml/torchvision dev-python/safetensors[] dev-python/numpy[] dev-python/einops[] dev-python/typing-extensions[]
sci-ml/pytorch sci-ml/torchvision dev-python/safetensors[] dev-python/numpy[] dev-python/einops[] dev-python/typing-extensions[]