commit: 224b4ff460c3016660af69d1a42ce1facd240fc3
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 28 19:42:00 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Aug 28 19:42:00 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=224b4ff4
dev-util/cvise: add app-misc/colordiff optfeature
For colorful --print-diff.
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/cvise/cvise-9999.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-util/cvise/cvise-9999.ebuild b/dev-util/cvise/cvise-9999.ebuild
index 900685684583..958e14f96345 100644
--- a/dev-util/cvise/cvise-9999.ebuild
+++ b/dev-util/cvise/cvise-9999.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
LLVM_COMPAT=( {16..21} )
-inherit cmake llvm-r2 python-single-r1
+inherit cmake llvm-r2 optfeature python-single-r1
DESCRIPTION="Super-parallel Python port of the C-Reduce"
HOMEPAGE="https://github.com/marxin/cvise"
@@ -81,3 +81,7 @@ src_install() {
python_fix_shebang "${ED}"
}
+
+pkg_postinst() {
+ optfeature "colorful --print-diff support" app-misc/colordiff
+}