commit:     75d2b2d65785178f01abb9594396cbbbfa220a9c
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  4 17:27:26 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Mar  4 17:29:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d2b2d6

go-module.eclass: clarify the instructions around GO_OPTIONAL

remove the version of dev-lang/go since we do not know which version the
ebuild author will need to depend on.

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 eclass/go-module.eclass | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
index 290ced8c2b4e..635d2b5161ab 100644
--- a/eclass/go-module.eclass
+++ b/eclass/go-module.eclass
@@ -175,12 +175,10 @@ declare -A -g _GOMODULE_GOSUM_REVERSE_MAP
 # @DEFAULT_UNSET
 # @PRE_INHERIT
 # @DESCRIPTION:
-# If set to a non-null value before inherit, then the Go part of the
+# If set to a non-null value before inherit, the Go part of the
 # ebuild will be considered optional. No dependencies will be added and
-# no phase functions will be exported.
-#
-# If you enable GO_OPTIONAL, you have to set BDEPEND on >=dev-lang/go-1.12
-# for your package and call go-module_src_unpack manually.
+# no phase functions will be exported. You will need to set BDEPEND and
+# call go-module_src_unpack in your ebuild.
 
 # @FUNCTION: ego
 # @USAGE: [<args>...]

Reply via email to