summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2022-03-04 11:27:26 -0600
committerWilliam Hubbs <williamh@gentoo.org>2022-03-04 11:29:09 -0600
commit75d2b2d65785178f01abb9594396cbbbfa220a9c (patch)
treea5936d2fa97dc1c24a5b891b772cc345d002ca8e /eclass
parentwww-client/microsoft-edge: remove old (diff)
downloadgentoo-75d2b2d65785178f01abb9594396cbbbfa220a9c.tar.gz
gentoo-75d2b2d65785178f01abb9594396cbbbfa220a9c.tar.bz2
gentoo-75d2b2d65785178f01abb9594396cbbbfa220a9c.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/go-module.eclass8
1 files 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>...]