mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/cmd2: Bump to 3.2.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,3 +3,4 @@ DIST cmd2-3.1.0.tar.gz 1002416 BLAKE2B d21981abc56e7493f725a7b6adfca8d46c6940560
|
||||
DIST cmd2-3.1.2.tar.gz 708232 BLAKE2B 45f66f9c78b6f2dc244ed03f924b504c9c4435e8927b9d45a29888e9964918a4c646869a3ce12e4b483cfed97290ecc19036157041810d57f4ea91e37463cbe4 SHA512 383c627d92477f71bd4cb571873da3066ba91cd26865c45356519d744b004b5034a35ab59a2928c057b60fc4d7aa8a96d44185144dae1a684f2d12f8794566b1
|
||||
DIST cmd2-3.1.3.tar.gz 709193 BLAKE2B a2856db6e6554138b3cc9b4c0cfd4ab71eae5eebb66802a4f51dc983a31f706c2c0cfd27992ebcc08b01e65aa74b3c5ca1b7f21cf66d56e9c7ebd211586747cd SHA512 d612c1f543b5e9fedcca0bc368b8b1c5f3a27c4e1ab5229ac4bafbca167680a006d7bc9d7946eef65f6efbe843b5bf7c662acabebacce685cfa779840a8006cb
|
||||
DIST cmd2-3.2.0.tar.gz 705044 BLAKE2B 994cb9350e83f02486269a0b006ea9a95fb6700b1a41f53b354ca88013bdbb5cef2ea64e1932f1c72831b2ff99ddee31ec4e5c55697ac44e4cb8cd9bc977be24 SHA512 03d1564c0b9731ec2b2ee9781c54ce9c7b81e871d2a791f77beff26e92afd7a26f94ac90136a53b93ec250d4250c688da90b3fbd0e6cb29dffff7367524e37db
|
||||
DIST cmd2-3.2.2.tar.gz 706453 BLAKE2B 8cd79320190191a279ddc7c5ff011a5bf73d89b46f36870e19aea554c450e9830d9fba647be7f70499c2cf0d2847f9673c36ff824c2f394f52cd4d7aad2dbb41 SHA512 d384e85fc007db1387be5036747894d77552ab0009e7a3bf2465b85893921dbc36b902636b98485e1eac069b878ac460aeaa92078ddd4befdf0f8f3595d76e16
|
||||
|
||||
58
dev-python/cmd2/cmd2-3.2.2.ebuild
Normal file
58
dev-python/cmd2/cmd2-3.2.2.ebuild
Normal file
@@ -0,0 +1,58 @@
|
||||
# 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_{11..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 ~mips ~ppc64 ~riscv ~s390 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pyperclip-1.8.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-14.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-argparse-1.7.1[${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