dev-util/ddd: migrate to optfeature

Bug: https://bugs.gentoo.org/759130
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Mrozowski <reavertm@gentoo.org>
This commit is contained in:
Maciej Mrozowski
2021-01-24 02:30:47 +01:00
parent 224cd0fd70
commit afa7efb81d

View File

@@ -3,7 +3,7 @@
EAPI="6"
inherit autotools eutils
inherit autotools eutils optfeature
DESCRIPTION="Graphical front-end for command-line debuggers"
HOMEPAGE="https://www.gnu.org/software/ddd"
@@ -74,19 +74,15 @@ src_install() {
}
pkg_postinst() {
if ! has_version sci-visualization/gnuplot; then
echo
elog "To enable data visualization in DDD, install sci-visualization/gnuplot."
fi
optfeature "Data visualisation" sci-visualization/gnuplot
optfeature "Java debugging" virtual/jdk
optfeature "Bash debugging" app-shells/bashdb
optfeature "Perl debugging" dev-lang/perl
optfeature "Python debugging" dev-python/pydb
echo
elog "Important notice: if you encounter DDD crashes during visualization, you might"
elog "have hit bug #459324. Try switching to plotting in external window:"
elog "Select Edit|Preferences|Helpers and switch 'plot window' to 'external'"
elog
elog "To be able to debug java, bash, perl or python scripts within DDD, install respectively:"
elog " virtual/jdk"
elog " app-shells/bashdb"
elog " dev-lang/perl"
elog " dev-python/pydb"
echo
}