Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Cc: zmedico@g.o, robbat2@g.o
Subject: Re: [gentoo-dev] [PATCH] go-module.eclass: add functions for use in custom src_unpack phase
Date: Wed, 19 May 2021 19:58:37
Message-Id: YKVt5Uizc9Hwl9kn@linux1.home
In Reply to: [gentoo-dev] [PATCH] go-module.eclass: add functions for use in custom src_unpack phase by William Hubbs
1 Robin,
2
3 I would like your thoughts also. The idea is to allow something like
4 this. Maybe an example like this one should go in the top of the eclass
5 as well.
6
7 src_unpack() {
8 local srcs
9 go-module_setup_proxy
10 srcs="$(go-module_filter_proxy)"
11 # unpack or do what you need to do with everything in ${srcs}
12 }
13
14 William

Attachments

File name MIME type
signature.asc application/pgp-signature