commit:     7a689f4792b8450f254286850f41e1fd429012ea
Author:     Tomas Fabrizio Orsi <torsi <AT> fi <DOT> uba <DOT> ar>
AuthorDate: Tue Nov 14 04:48:04 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Dec  8 13:35:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a689f47

app-emacs/projectile: Add optfeature message

... to inform users on other packages to improve projectile's
functionality. Source: https://docs.projectile.mx/projectile/usage.html

Signed-off-by: Tomas Fabrizio Orsi <torsi <AT> fi.uba.ar>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../{projectile-2.8.0.ebuild => projectile-2.8.0-r1.ebuild}    | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/app-emacs/projectile/projectile-2.8.0.ebuild 
b/app-emacs/projectile/projectile-2.8.0-r1.ebuild
similarity index 61%
rename from app-emacs/projectile/projectile-2.8.0.ebuild
rename to app-emacs/projectile/projectile-2.8.0-r1.ebuild
index 6f2aa04e7217..de02a64c2bf5 100644
--- a/app-emacs/projectile/projectile-2.8.0.ebuild
+++ b/app-emacs/projectile/projectile-2.8.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit elisp
+inherit elisp optfeature
 
 DESCRIPTION="A project interaction library for Emacs"
 HOMEPAGE="https://docs.projectile.mx
@@ -25,3 +25,11 @@ src_test() {
 
        elisp-test
 }
+
+pkg_postinst() {
+       #Descriptions for this packages' purpose were taken from Projectile's
+       #home page https://docs.projectile.mx/projectile/usage.html
+       optfeature_header "Install the following packages for improved 
performance:"
+       optfeature "super-fast alternative to find" sys-apps/fd
+       optfeature "powerful alternative to grep" sys-apps/ripgrep
+}

Reply via email to