commit:     b70de5a820f1d9842cad5e70589ded41de7e53e2
Author:     Ferenc Erki <erkiferenc <AT> gmail <DOT> com>
AuthorDate: Sun Oct 29 22:30:48 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Nov  9 23:13:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b70de5a8

app-vim/perl-support: handle optional dependencies.

Closes: https://bugs.gentoo.org/614492
Closes: https://github.com/gentoo/gentoo/pull/6078
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-vim/perl-support/perl-support-5.4.ebuild | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/app-vim/perl-support/perl-support-5.4.ebuild 
b/app-vim/perl-support/perl-support-5.4.ebuild
index 80a42f4e20a..11fbe9c4a12 100644
--- a/app-vim/perl-support/perl-support-5.4.ebuild
+++ b/app-vim/perl-support/perl-support-5.4.ebuild
@@ -13,6 +13,8 @@ KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
 VIM_PLUGIN_HELPFILES="perlsupport.txt"
 
 RDEPEND="
+       !ppc? ( dev-perl/Devel-NYTProf )
+       dev-perl/Perl-Tidy
        dev-perl/Perl-Tags
        dev-perl/Perl-Critic"
 
@@ -29,3 +31,16 @@ src_install() {
 
        vim-plugin_src_install
 }
+
+pkg_postinst() {
+       elog "${PN} can utilize the following modules on top of the ones 
installed as"
+       elog "dependencies:"
+       elog
+       elog "Devel::SmallProf     - per-line Perl profiler"
+       elog "Devel::FastProf      - per-line Perl profiler"
+       elog "Devel::ptkdb         - Perl debugger using a Tk GUI"
+       elog "Pod::Pdf             - A POD to PDF translator"
+       elog "YAPE::Regex::Explain - regular expression analyzer"
+       elog
+       elog "You may need to install them separately if you would like to use 
them."
+}

Reply via email to