commit: 21b16c5cb6af95fc01e1120a02b5bc60b658e2af
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 23:16:15 2018 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 23:21:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21b16c5c
net-analyzer/linkchecker: optfeature to pkg_postinst
Package-Manager: Portage-2.3.21, Repoman-2.3.6
net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
b/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
index 2587e19ebf2..19003ce32e1 100644
--- a/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
+++ b/net-analyzer/linkchecker/linkchecker-9.3.1-r1.ebuild
@@ -60,6 +60,9 @@ python_install_all() {
docinto html
dodoc doc/html/*
newbashcomp config/linkchecker-completion ${PN}
+}
+
+pkg_postinst() {
optfeature "bash-completion support"
dev-python/argcomplete[${PYTHON_USEDEP}]
optfeature "Virus scanning" app-antivirus/clamav
optfeature "Geo IP support" dev-python/geoip-python[${PYTHON_USEDEP}]