From: Justin Lecher Date: Fri, 25 Sep 2015 18:34:36 +0000 (+0200) Subject: sci-visualization/qtiplot: Use optfeature X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=42d93e3639b0c71c462e840197eb32e0cd9dad44;p=gentoo.git sci-visualization/qtiplot: Use optfeature Package-Manager: portage-2.2.21 Signed-off-by: Justin Lecher --- diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild index 330c1edf9b14..f93b9455b91f 100644 --- a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild +++ b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild @@ -44,7 +44,7 @@ CDEPEND=" >=dev-libs/boost-1.35.0:= dev-libs/quazip media-libs/libpng:= - sci-libs/alglib + sci-libs/alglib:= sci-libs/gsl sci-libs/tamu_anova latex? ( dev-tex/qtexengine ) @@ -224,12 +224,8 @@ src_install() { pkg_postinst() { if use python; then - elog "You might want to emerge" - elog "\t dev-python/pygsl" - elog "\t dev-python/rpy" - elog "\t sci-libs/scipy and" - elog "\t dev-python/sympy" - elog "to gain full python support." + optfeature "Enhanced python support" \ + dev-python/pygsl dev-python/rpy sci-libs/scipy dev-python/sympy fi fdo-mime_desktop_database_update diff --git a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r3.ebuild b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r3.ebuild index bcce114f3f99..eec88b2a3604 100644 --- a/sci-visualization/qtiplot/qtiplot-0.9.8.9-r3.ebuild +++ b/sci-visualization/qtiplot/qtiplot-0.9.8.9-r3.ebuild @@ -44,7 +44,7 @@ CDEPEND=" >=dev-libs/boost-1.35.0:= dev-libs/quazip media-libs/libpng:= - sci-libs/alglib + sci-libs/alglib:= sci-libs/gsl sci-libs/tamu_anova latex? ( dev-tex/qtexengine ) @@ -226,12 +226,8 @@ src_install() { pkg_postinst() { if use python; then - elog "You might want to emerge" - elog "\t dev-python/pygsl" - elog "\t dev-python/rpy" - elog "\t sci-libs/scipy and" - elog "\t dev-python/sympy" - elog "to gain full python support." + optfeature "Enhanced python support" \ + dev-python/pygsl dev-python/rpy sci-libs/scipy dev-python/sympy fi fdo-mime_desktop_database_update