# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) DISTUTILS_USE_PEP517=pdm-backend inherit distutils-r1 DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints." HOMEPAGE=" https://typer.tiangolo.com/ https://github.com/tiangolo/typer https://pypi.org/project/typer/ " SRC_URI=" https://github.com/tiangolo/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~arm64" IUSE="+rich shell-detection" RDEPEND=" $(python_gen_cond_dep ' dev-python/click[${PYTHON_USEDEP}] dev-python/typing-extensions[${PYTHON_USEDEP}] rich? ( dev-python/rich[${PYTHON_USEDEP}] ) shell-detection? ( dev-python/shellingham[${PYTHON_USEDEP}] ) ') "