mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-09 00:10:21 +03:00
dev-python/cmd2: add IPython optfeature
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -6,7 +6,7 @@ EAPI=8
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 virtualx pypi
|
||||
inherit distutils-r1 optfeature virtualx pypi
|
||||
|
||||
DESCRIPTION="Extra features for standard library's cmd module"
|
||||
HOMEPAGE="
|
||||
@@ -52,3 +52,7 @@ python_test() {
|
||||
# TODO: tests_isolated?
|
||||
epytest -o addopts= -p pytest_mock -p rerunfailures --reruns=5 tests || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "IPython shell integration" dev-python/ipython
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user