From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3BC8E158091 for ; Fri, 20 Jun 2025 22:47:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2798F341F9A for ; Fri, 20 Jun 2025 22:47:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id EE7261104DC; Fri, 20 Jun 2025 22:47:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id DF4001104DC for ; Fri, 20 Jun 2025 22:47:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 76BB9341F95 for ; Fri, 20 Jun 2025 22:47:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 166D11B90 for ; Fri, 20 Jun 2025 22:47:25 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1750459639.8d443ccbb74e809335a4f1991b3722bc610a9e6d.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/typer/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/typer/Manifest dev-python/typer/metadata.xml dev-python/typer/typer-0.15.3.ebuild X-VCS-Directories: dev-python/typer/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 8d443ccbb74e809335a4f1991b3722bc610a9e6d X-VCS-Branch: dev Date: Fri, 20 Jun 2025 22:47:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 137caabd-5590-41cc-bb17-94dd9f1f6192 X-Archives-Hash: c619e5fa8fa10530c30849152abf5555 commit: 8d443ccbb74e809335a4f1991b3722bc610a9e6d Author: David Roman gmail com> AuthorDate: Fri Jun 20 22:47:19 2025 +0000 Commit: David Roman gmail com> CommitDate: Fri Jun 20 22:47:19 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d443ccb dev-python/typer: treeclean Signed-off-by: David Roman gmail.com> dev-python/typer/Manifest | 1 - dev-python/typer/metadata.xml | 20 -------- dev-python/typer/typer-0.15.3.ebuild | 92 ------------------------------------ 3 files changed, 113 deletions(-) diff --git a/dev-python/typer/Manifest b/dev-python/typer/Manifest deleted file mode 100644 index 230682e9b5..0000000000 --- a/dev-python/typer/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST typer-0.15.3.tar.gz 101641 BLAKE2B c400974553ecaa1aa8ebeacc0042b50b5c7805dadbeca33225d9bedff415b10ce644b384fc699660a34f1d3a5049ceff67e682a5e7fb5910d7b264b49ce0e4ef SHA512 0562b8305bb8d494112919962aa74ca750ecdef2f70c0fd1f956101d2b81c28e9f31b94c8258eaa7f3cf7c3f685e48c86d8469a63c9d0e65eb1b49d79e6220c6 diff --git a/dev-python/typer/metadata.xml b/dev-python/typer/metadata.xml deleted file mode 100644 index 3e3c35e14d..0000000000 --- a/dev-python/typer/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Oz Tiram - oz.tiram@gmail.com - - - Proxy Maintainers - proxy-maint@gentoo.org - - - Rich text output via dev-python/rich - detect current shell with dev-python/shellingham for completions - - - tiangolo/typer - typer - - diff --git a/dev-python/typer/typer-0.15.3.ebuild b/dev-python/typer/typer-0.15.3.ebuild deleted file mode 100644 index 70c0e3d29b..0000000000 --- a/dev-python/typer/typer-0.15.3.ebuild +++ /dev/null @@ -1,92 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..13} ) -DISTUTILS_USE_PEP517=pdm-backend - -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/tiangolo/typer - https://pypi.org/project/typer/ -" -SRC_URI="$(pypi_sdist_url "${PN}" "${PV}")" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -IUSE="+rich shell-detection test" - -BDEPEND=" - test? ( - $(python_gen_cond_dep ' - dev-python/coverage[${PYTHON_USEDEP}] - dev-python/shellingham[${PYTHON_USEDEP}] - ') - ) -" -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}] ) - ') -" - -distutils_enable_tests pytest - -src_test() { - export TERMINAL_WIDTH=3000 - export _TYPER_FORCE_DISABLE_TERMINAL=1 - - distutils-r1_src_test "${@}" -} - -src_compile() { - distutils-r1_src_compile "${@}" - - local shell - for shell in bash zsh fish; do - typer_gencomp ${shell} - done -} - -typer_get_comp() { - local COMPLETIONSDIR="${WORKDIR}/comp" - local shell="$1" - - case "${shell}" in - bash) echo "${COMPLETIONSDIR}/${PN}" ;; - zsh) echo "${COMPLETIONSDIR}/_${PN}" ;; - fish) echo "${COMPLETIONSDIR}/${PN}.fish" ;; - *) die "unknown shell: ${shell}" ;; - esac -} - -typer_gencomp() { - local COMPLETIONSDIR="${WORKDIR}/comp" - mkdir "${COMPLETIONSDIR}" 2> /dev/null - local shell="$1" - - compfile="$(typer_get_comp "${@}")" - - _TYPER_COMPLETE_TEST_DISABLE_SHELL_DETECTION=1 python -m typer --show-completion "${shell}" | - sed 's/python -m //g ; s/_PYTHON _M //g ; s/python_m//g ; s/TYPER_COMPLETE/_TYPER_COMPLETE/' > "${compfile}" || - die "failed to generate ${shell} completion" - - einfo "generated completion script for ${shell}: ${compfile}" -} - -src_install() { - distutils-r1_src_install "${@}" - - dobashcomp "$(typer_get_comp bash)" - dozshcomp "$(typer_get_comp zsh)" - dofishcomp "$(typer_get_comp fish)" -}