• [gentoo-dev] [POC PATCH] go-module.eclass: remove deprecated code

    From William Hubbs@21:1/5 to All on Thu Mar 10 22:40:01 2022
    This is not being merged. I am posting it now to show how I want
    the eclass to change after the usage of EGO_SUM is removed from the tree.
    I will re-post before I merge.

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

    diff --git a/eclass/go-module.eclass b/eclass/go-module.eclass
    index 817f8a9fd3e..557f3fb9654 100644
    --- a/eclass/go-module.eclass
    +++ b/eclass/go-module.eclass
    @@ -104,85 +104,6 @@ QA_FLAGS_IGNORED='.*'
    # Go packages should not be stripped with strip(1).
    RESTRICT+=" strip"

    -# @ECLASS-VARIABLE: EGO_SUM
    -# @DEPRECATED:
    -# @DESCRIPTION:
    -# This is replaced by a dependency tarball, see above for how to create
    -# one.
    -#
    -# This array is based on the contents of the go.sum file from the top
    -# level directory of the software you are packaging. Each entry must be
    -# quoted and contain the first two fields of a line from go.sum.
    -#
    -# You can use some combination of sed/awk/cut to extract the
    -# contents of EGO_SUM or use the dev-go/get-ego-vendor tool.
    -#
    -# One manual way to do this is the following:
    -#
    -# @CODE
    -#
    -# cat go.sum | cut -d" " -f1,2 | awk '{p