mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
dev-python/cmd2: Bump to 4.2.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,4 @@ DIST cmd2-4.1.2.tar.gz 848904 BLAKE2B 515fb26b4df87be2d646ca2fbaf8b26acddb2f79b5
|
||||
DIST cmd2-4.2.1.tar.gz 854163 BLAKE2B f1dea29bf9aae55b27d87e0ce01d4668bda416e4fd66508b399d498a692fa2f6574115b12770347d1b43d9d77ae58dc919f9d44aacc881db6484a4f228b82611 SHA512 6f9543b354c448582247d004e7f0c876219827a28b88118b0f359d87e0750a2fd6cea1eadab5aaaa40bd1b0c4c0c406e48a38cd50b810071d2dfcc2098d74338
|
||||
DIST cmd2-4.2.2.tar.gz 856874 BLAKE2B f4ae9262dfe765693c33e9503c1835adbbada66de5ae8f82d0ae2920915b1bb4fea2d69b2f553b21671895f37c096a77e34db1f026a502808b03bbe8a1163bf8 SHA512 2b337ad2e9f18cf39ed76388a1733f76458509ecbc812f1aa828d6acc781a0bf82b7659ebe4c3ed79a1fdbb5332af9fd831312293214e4780d8698e59b4a64c5
|
||||
DIST cmd2-4.2.3.tar.gz 733039 BLAKE2B a1d1891838f289da18f0760e69db663cb4a67c348e114312a6fdd15894aeaf1859c759cf45f1b995b479c64a2a8cd74c3f5226b5511f5e5cb327ef537edff0ff SHA512 7569f148ea001cf805a71639b0b0930d5d3958fc4dbc115adc80d8caeb0aa0f36743d48e7bda63f17118efafcce5cbef1b1713c7c616f8b060f5f9400222f0c6
|
||||
DIST cmd2-4.2.4.tar.gz 737716 BLAKE2B 2c6903498ac2ff2c14edc3a708e84cf7cefffcc8df88487cb6542f49a016ed61d2c1edc6f49aee5e01dc5bcf3ca801ddc06804b9970453e263e3152b4d941bea SHA512 1364e213c1badaaffa5cedafad13eecb76707c9ab5ea2e8dee47ec16b83e1eacb5464e52bcd311f00d1783d982caacb9f97d096404175b6293a7b6dbd2f879ca
|
||||
|
||||
59
dev-python/cmd2/cmd2-4.2.4.ebuild
Normal file
59
dev-python/cmd2/cmd2-4.2.4.ebuild
Normal file
@@ -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_{12..15} )
|
||||
|
||||
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.53[${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
|
||||
}
|
||||
Reference in New Issue
Block a user