diff options
| author | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 03:01:38 -0500 |
|---|---|---|
| committer | BaldEagleOS Migration <dev@baldeagleos.com> | 2026-06-03 03:01:38 -0500 |
| commit | 46b253445e4dc73ee69188755ecbd45f6782960c (patch) | |
| tree | 93de0bfac271d3fa0e9e3ab52f60c169a3e81199 /dev-python/typer | |
| parent | 51bf2274747e1d7dc41c145ccf95055c1b9d763b (diff) | |
| download | baldeagleos-repo-46b253445e4dc73ee69188755ecbd45f6782960c.tar.gz baldeagleos-repo-46b253445e4dc73ee69188755ecbd45f6782960c.tar.xz baldeagleos-repo-46b253445e4dc73ee69188755ecbd45f6782960c.zip | |
Adding metadata
Diffstat (limited to 'dev-python/typer')
| -rw-r--r-- | dev-python/typer/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/typer/typer-0.24.2.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/typer/typer-0.25.1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/typer/typer-0.26.4.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/typer/typer-0.26.5.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/typer/typer-0.26.6.ebuild | 71 |
6 files changed, 76 insertions, 4 deletions
diff --git a/dev-python/typer/Manifest b/dev-python/typer/Manifest index 876c973e04b2..8d566af1665a 100644 --- a/dev-python/typer/Manifest +++ b/dev-python/typer/Manifest @@ -2,3 +2,4 @@ DIST typer-0.24.2.tar.gz 119849 BLAKE2B baa49b38a5d813278cf1cd98b4a354582902e192 DIST typer-0.25.1.tar.gz 122276 BLAKE2B 08089d17ca0c038806d0dcc5795d5f88cd0e0163697288b5ae003bdfcaf95537ff465874f1bb5510fe84e0ae1f7ea9c68ebe08639253a0575c220b26297abeb2 SHA512 26e9927a82d8e17e8eae370b7235a7481b6d875c77c5600f8390c22a5274b3a0e3abe14d1c2eae93850613bf685555afe67a2e495687328615c65fc8d27bcb7b DIST typer-0.26.4.tar.gz 201191 BLAKE2B f3daacfdc11eb94431fea1b4b06e8d1c348815a5442cc79e18a5b353864f5edd08a74dbdd039cf4a4f63fa90440b8305f1230facdac8371673c11ee31a1fd8f8 SHA512 05ebdebab17831f8d044ca2513931c789191ca680fbcde0068475917a47d7a252a09c7c1849a4c4153f917c7ec9f147bc476738d5922e73adb686db1ad736ec3 DIST typer-0.26.5.tar.gz 201494 BLAKE2B 1db1fba0fb41340b5fa76ead3529e77c6a776cd8b3230ddb9d31f8e78b894935cc596b25d102baf49411f272013b7d95a466c09233eef558ad4bcf412d260649 SHA512 ea5c335fdc6a864bc6f9e0ff3a5b81c0e621484c8c33883375080ed97bc5a6de86a5a88d5aa048f6eb145fbeb442b7262da98154e097b5fda31a070392430e51 +DIST typer-0.26.6.tar.gz 201595 BLAKE2B 8876972ad0a676ddca9f67c243d820e36dc5c147ece11a797914dd64abf413f0c51f57d7695009b2683c3415010b2ab10c33f36bd853f277f03abee6d0bc7632 SHA512 35acd70290b7318f86f51d7b3a31a12bea719df3ec684f3099cd75ef49eff28700a3f40b1f92bcef855f5087f68a7e7cd367a7ae660850814085b7a7bb2821bc diff --git a/dev-python/typer/typer-0.24.2.ebuild b/dev-python/typer/typer-0.24.2.ebuild index 01d10edb4926..ef16cd680351 100644 --- a/dev-python/typer/typer-0.24.2.ebuild +++ b/dev-python/typer/typer-0.24.2.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 shell-completion pypi diff --git a/dev-python/typer/typer-0.25.1.ebuild b/dev-python/typer/typer-0.25.1.ebuild index 45e4f75e1004..88fedb07f9fe 100644 --- a/dev-python/typer/typer-0.25.1.ebuild +++ b/dev-python/typer/typer-0.25.1.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 shell-completion pypi diff --git a/dev-python/typer/typer-0.26.4.ebuild b/dev-python/typer/typer-0.26.4.ebuild index 210d2d34238d..7e07856e9a6c 100644 --- a/dev-python/typer/typer-0.26.4.ebuild +++ b/dev-python/typer/typer-0.26.4.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{11..14} ) +PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 shell-completion pypi diff --git a/dev-python/typer/typer-0.26.5.ebuild b/dev-python/typer/typer-0.26.5.ebuild index 6015f907cafc..7e07856e9a6c 100644 --- a/dev-python/typer/typer-0.26.5.ebuild +++ b/dev-python/typer/typer-0.26.5.ebuild @@ -4,7 +4,7 @@ EAPI=8 DISTUTILS_USE_PEP517=pdm-backend -PYTHON_COMPAT=( python3_{12..14} ) +PYTHON_COMPAT=( python3_{13..14} ) inherit distutils-r1 shell-completion pypi diff --git a/dev-python/typer/typer-0.26.6.ebuild b/dev-python/typer/typer-0.26.6.ebuild new file mode 100644 index 000000000000..f875bee44d47 --- /dev/null +++ b/dev-python/typer/typer-0.26.6.ebuild @@ -0,0 +1,71 @@ +# 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_{13..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/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 + + # needed to import tests.util somewhere deep in tests + local -x PYTHONPATH=${S} + + 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 +} |
