diff options
| author | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-07-10 03:04:33 -0500 |
| commit | ed2e0f29bf24219e96271574d9c99c971dff3698 (patch) | |
| tree | aa4cdcbf1a9384d5495104e034018b2d6fadcaac /dev-python/cmd2 | |
| parent | a96a971c845e2cd3ffad3b8f63558c6408897f0a (diff) | |
| download | baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.gz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.tar.xz baldeagleos-repo-ed2e0f29bf24219e96271574d9c99c971dff3698.zip | |
Adding metadata
Diffstat (limited to 'dev-python/cmd2')
| -rw-r--r-- | dev-python/cmd2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/cmd2/cmd2-4.1.1.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/cmd2/Manifest b/dev-python/cmd2/Manifest index 087b65502232..e2c68260ef8a 100644 --- a/dev-python/cmd2/Manifest +++ b/dev-python/cmd2/Manifest @@ -2,3 +2,4 @@ DIST cmd2-2.6.2.tar.gz 592373 BLAKE2B 917ecd684c60c0a6c1b273ef52fa1e317f71522dfd DIST cmd2-3.5.1.tar.gz 707325 BLAKE2B 5fd287a1a984c425cc7fdb3ef6c1f709b4af470b3280e715bcbad8200b52d5f8d698716eb540a9c9603ed090e2394b3aac319aaf80afc652459c127d968020bc SHA512 30414090390c1087173d2a259b5af2dc12228ab16892ea8617ec4168882565ebeef7e76a2c86b6e614fe45e3e454f74c49b633358b5da84d57365e7e70432054 DIST cmd2-4.0.0.tar.gz 813155 BLAKE2B b9b61d8a2e302f2acaee8420077f48d92728e910a73bbba9195600ed1dc7c4695abcdec5f0a08928798d24f83b333de076bc9f7d4c281c5cd502d1fd05be752b SHA512 a1df4bb215a098e2902826ff4686ec10664a4b9d8e0433c6103ba395f325ae56d8c4fa2d83d770b4cc9e4c1e5b456fa03a6bac6af9b7f8398a5fc61394cf15f7 DIST cmd2-4.1.0.tar.gz 849590 BLAKE2B c737f00ce542cefb2cde94fc07c0b7c09e00d7756bc0e14889a48b7ec785fad3c0109aa27ca3047f9d2ac8ae1e93ecbd8ef7ca268acd8230089edce3d4d3f16c SHA512 f688d8c66021fc347d86b2a00bfe7f65813f11295eb1ba4bdf4d1b12cc5fe00a1cf14189dec49f5681ba46870b60f1aecdc86c88a7cf59b453dcf88343cda0b6 +DIST cmd2-4.1.1.tar.gz 850451 BLAKE2B 61cbe7954a3de634be97cfc5da61025f2144da222d80e4b3e527668a3d97b48b07966d27df1f670aa30c64738844cf36bfa6c79ad9a4aeda916a3526c33dd746 SHA512 c087c83167abeb99f24b369a9af910ca47686f5f4dec7db61f4e49653c375b048c9c6f6fe33dc113ab48264225bcc784a02776086df7e8bb029fdd59b933cf51 diff --git a/dev-python/cmd2/cmd2-4.1.1.ebuild b/dev-python/cmd2/cmd2-4.1.1.ebuild new file mode 100644 index 000000000000..dadcd6a482d2 --- /dev/null +++ b/dev-python/cmd2/cmd2-4.1.1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 optfeature virtualx pypi + +DESCRIPTION="Extra features for standard library's cmd module" +HOMEPAGE=" + https://github.com/python-cmd2/cmd2/ + https://pypi.org/project/cmd2/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~x86" + +RDEPEND=" + >=dev-python/prompt-toolkit-3.0.52[${PYTHON_USEDEP}] + >=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}] + >=dev-python/rich-15.0.0[${PYTHON_USEDEP}] + >=dev-python/rich-argparse-1.7.2[${PYTHON_USEDEP}] +" +# pyperclip uses clipboard backends in the following preference order: +# pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4. +# klipper is known to be broken in Xvfb, and therefore causes test +# failures. to avoid them, we must ensure that one of the backends +# preferred to it is available (i.e. xclip or xsel). +BDEPEND=" + dev-python/setuptools-scm[${PYTHON_USEDEP}] + test? ( + || ( + x11-misc/xclip + x11-misc/xsel + ) + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_RERUNS=5 +distutils_enable_tests pytest + +src_test() { + # tests rely on very specific text wrapping... + local -x COLUMNS=80 + virtx distutils-r1_src_test +} + +python_test() { + # TODO: tests_isolated? + nonfatal epytest -o addopts= tests || die +} + +pkg_postinst() { + optfeature "IPython shell integration" dev-python/ipython +} |
