commit:     badcb046beedd37d9bf2347fee41061cb7c472c7
Author:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
AuthorDate: Fri Feb 19 05:00:31 2021 +0000
Commit:     Maciej Barć <xgqt <AT> protonmail <DOT> com>
CommitDate: Fri Feb 19 05:00:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=badcb046

www-client/torbrowser-launcher: use optfeature

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>

 www-client/torbrowser-launcher/torbrowser-launcher-0.3.3.ebuild | 6 ++++--
 www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild  | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/www-client/torbrowser-launcher/torbrowser-launcher-0.3.3.ebuild 
b/www-client/torbrowser-launcher/torbrowser-launcher-0.3.3.ebuild
index a5c71f21..0694a09c 100644
--- a/www-client/torbrowser-launcher/torbrowser-launcher-0.3.3.ebuild
+++ b/www-client/torbrowser-launcher/torbrowser-launcher-0.3.3.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=no
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit distutils-r1 xdg
+inherit distutils-r1 optfeature xdg
 
 DESCRIPTION="A program to download, updated, and run the Tor Browser Bundle"
 HOMEPAGE="https://github.com/micahflee/torbrowser-launcher";
@@ -49,5 +49,7 @@ python_install_all() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       elog "For updating over system TOR install net-vpn/tor and 
dev-python/txsocksx"
+       elog "To get additional features, some optional runtime dependencies"
+       elog "may be installed:"
+       optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
 }

diff --git a/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild 
b/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild
index a5c71f21..0694a09c 100644
--- a/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild
+++ b/www-client/torbrowser-launcher/torbrowser-launcher-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 DISTUTILS_USE_SETUPTOOLS=no
 PYTHON_COMPAT=( python3_{7..9} )
 
-inherit distutils-r1 xdg
+inherit distutils-r1 optfeature xdg
 
 DESCRIPTION="A program to download, updated, and run the Tor Browser Bundle"
 HOMEPAGE="https://github.com/micahflee/torbrowser-launcher";
@@ -49,5 +49,7 @@ python_install_all() {
 pkg_postinst() {
        xdg_pkg_postinst
 
-       elog "For updating over system TOR install net-vpn/tor and 
dev-python/txsocksx"
+       elog "To get additional features, some optional runtime dependencies"
+       elog "may be installed:"
+       optfeature "updating over system TOR" net-vpn/tor dev-python/txsocksx
 }

Reply via email to