Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 04 Mar 2022 17:31:42
Message-Id: 1646414949.75d2b2d65785178f01abb9594396cbbbfa220a9c.williamh@gentoo
1 commit: 75d2b2d65785178f01abb9594396cbbbfa220a9c
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Fri Mar 4 17:27:26 2022 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Fri Mar 4 17:29:09 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75d2b2d6
7
8 go-module.eclass: clarify the instructions around GO_OPTIONAL
9
10 remove the version of dev-lang/go since we do not know which version the
11 ebuild author will need to depend on.
12
13 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
14
15 eclass/go-module.eclass | 8 +++-----
16 1 file changed, 3 insertions(+), 5 deletions(-)
17
18 diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
19 index 290ced8c2b4e..635d2b5161ab 100644
20 --- a/eclass/go-module.eclass
21 +++ b/eclass/go-module.eclass
22 @@ -175,12 +175,10 @@ declare -A -g _GOMODULE_GOSUM_REVERSE_MAP
23 # @DEFAULT_UNSET
24 # @PRE_INHERIT
25 # @DESCRIPTION:
26 -# If set to a non-null value before inherit, then the Go part of the
27 +# If set to a non-null value before inherit, the Go part of the
28 # ebuild will be considered optional. No dependencies will be added and
29 -# no phase functions will be exported.
30 -#
31 -# If you enable GO_OPTIONAL, you have to set BDEPEND on >=dev-lang/go-1.12
32 -# for your package and call go-module_src_unpack manually.
33 +# no phase functions will be exported. You will need to set BDEPEND and
34 +# call go-module_src_unpack in your ebuild.
35
36 # @FUNCTION: ego
37 # @USAGE: [<args>...]