Install this version:
emerge -a =dev-python/fastapi-cli-0.0.27
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/fastapi-cli-0.0.27
Or alternatively:
emerge --autounmask-write -a =dev-python/fastapi-cli-0.0.27
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.0.27 | 8 | ~amd64 | 0 |
# Copyright 2025-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Run and manage FastAPI apps from the command line with FastAPI CLI"
HOMEPAGE="
https://github.com/fastapi/fastapi-cli/
https://pypi.org/project/fastapi-cli/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
!!<dev-python/fastapi-0.115.11[${PYTHON_USEDEP}]
dev-python/fastapi[${PYTHON_USEDEP}]
>=dev-python/typer-0.16.0[${PYTHON_USEDEP}]
>=dev-python/uvicorn-0.15.0[${PYTHON_USEDEP}]
>=dev-python/rich-toolkit-0.14.8[${PYTHON_USEDEP}]
"
EPYTEST_DESELECT=(
# assumes fastapi-cloud-cli is installed
"tests/test_cli.py::test_version"
)
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_prepare_all() {
# clean up coverage
sed -i -e 's/"-m", "coverage", "run",//' tests/test_cli.py || die
distutils-r1_python_prepare_all
}
!!<dev-python/fastapi-0.115.11[] dev-python/fastapi[] >=dev-python/typer-0.16.0[] >=dev-python/uvicorn-0.15.0[] >=dev-python/rich-toolkit-0.14.8[]