sci-visualization/qtiplot: Use optfeature
authorJustin Lecher <jlec@gentoo.org>
Fri, 25 Sep 2015 18:34:36 +0000 (20:34 +0200)
committerJustin Lecher <jlec@gentoo.org>
Fri, 25 Sep 2015 18:34:36 +0000 (20:34 +0200)
Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-visualization/qtiplot/qtiplot-0.9.8.9-r2.ebuild
sci-visualization/qtiplot/qtiplot-0.9.8.9-r3.ebuild

index 330c1edf9b14711c4a55e10b64d69751af3a7c19..f93b9455b91fb0d8eee1459398908dbfaf720529 100644 (file)
@@ -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
index bcce114f3f99298563f1fddc03edbc58faf9bab7..eec88b2a36043d8f6e6cb2bdff1ba01213b9d02e 100644 (file)
@@ -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