From 6f0aac7ed35d949bbd854efd61758c854ebdee04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 4 Jul 2026 16:53:15 +0200 Subject: [PATCH] dev-python/typer: Remove old MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/typer/Manifest | 1 - dev-python/typer/typer-0.25.1.ebuild | 69 ---------------------------- 2 files changed, 70 deletions(-) delete mode 100644 dev-python/typer/typer-0.25.1.ebuild diff --git a/dev-python/typer/Manifest b/dev-python/typer/Manifest index b5e6f647557af..506e5f631e939 100644 --- a/dev-python/typer/Manifest +++ b/dev-python/typer/Manifest @@ -1,3 +1,2 @@ -DIST typer-0.25.1.tar.gz 122276 BLAKE2B 08089d17ca0c038806d0dcc5795d5f88cd0e0163697288b5ae003bdfcaf95537ff465874f1bb5510fe84e0ae1f7ea9c68ebe08639253a0575c220b26297abeb2 SHA512 26e9927a82d8e17e8eae370b7235a7481b6d875c77c5600f8390c22a5274b3a0e3abe14d1c2eae93850613bf685555afe67a2e495687328615c65fc8d27bcb7b DIST typer-0.26.7.tar.gz 201709 BLAKE2B 7c596ef29150726a82261b9f19374418a5380e3de6d8d43cb10299bf6f3afe3c428e92bdd3923ed0485819e0b68d5f0e93df567ef193294c6734dff2a9907186 SHA512 6efa29c2fc45d1c28acd6cbbe49e63784a51c26c833dff20e55281f45b2282838d5ebd7939693ffcc185a9a95ec00485c749183d19d6b33cd41eb402b314bbcc DIST typer-0.26.8.tar.gz 202097 BLAKE2B efe6413355b2db0cb8f4c6b2692ca9d5ec7fc89f789163711001ced9688337ff80b1ff351dfb6b55c42c9b301ef48f184b3bbdbd9ba636e7fcf3d733de773d95 SHA512 5550332a799655e25c85ee70f4904c4b0f8f6942c9815c09e10c2b3f5d0a9663165e78bb6b8bfaad5498b55bfd4e63abd5d733bd96cf1c05f2abc0e9adb32c18 diff --git a/dev-python/typer/typer-0.25.1.ebuild b/dev-python/typer/typer-0.25.1.ebuild deleted file mode 100644 index 47401bd49823d..0000000000000 --- a/dev-python/typer/typer-0.25.1.ebuild +++ /dev/null @@ -1,69 +0,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 shell-completion pypi - -DESCRIPTION="Build great CLIs. Easy to code. Based on Python type hints" -HOMEPAGE=" - https://typer.tiangolo.com/ - https://github.com/fastapi/typer/ - https://pypi.org/project/typer/ -" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64 ~arm arm64 x86" -IUSE="cli" - -RDEPEND=" - >=dev-python/annotated-doc-0.0.2[${PYTHON_USEDEP}] - >=dev-python/click-8.2.1[${PYTHON_USEDEP}] - >=dev-python/rich-13.8.0[${PYTHON_USEDEP}] - >=dev-python/shellingham-1.3.0[${PYTHON_USEDEP}] - cli? ( !dev-lang/erlang ) -" -BDEPEND=" - test? ( - dev-python/coverage[${PYTHON_USEDEP}] - ) -" - -EPYTEST_PLUGINS=() -EPYTEST_XDIST=1 -distutils_enable_tests pytest - -src_prepare() { - distutils-r1_src_prepare - - # LLM crap - rm -r typer/.agents || die - if ! use cli; then - sed -i -e '/typer\.cli/d' pyproject.toml || die - fi -} - -python_test() { - # See scripts/tests.sh - local -x TERMINAL_WIDTH=3000 - local -x _TYPER_FORCE_DISABLE_TERMINAL=1 - local -x _TYPER_RUN_INSTALL_COMPLETION_TESTS=1 - - epytest -} - -python_install() { - if use cli && [[ ! ${COMPLETIONS_INSTALLED} ]]; then - local -x _TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION=1 - newbashcomp - typer < <(typer --show-completion bash || die) - newzshcomp - typer < <(typer --show-completion zsh || die) - newfishcomp - typer < <(typer --show-completion fish || die) - COMPLETIONS_INSTALLED=1 - fi - - distutils-r1_python_install -}