From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 87FC7138334 for ; Mon, 16 Sep 2019 22:48:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C32EE093A; Mon, 16 Sep 2019 22:48:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0C477E08C9 for ; Mon, 16 Sep 2019 22:48:04 +0000 (UTC) Received: from linux1.home (cpe-66-68-48-101.austin.res.rr.com [66.68.48.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: williamh) by smtp.gentoo.org (Postfix) with ESMTPSA id C6CD134B282; Mon, 16 Sep 2019 22:48:01 +0000 (UTC) Received: (nullmailer pid 20550 invoked by uid 1000); Mon, 16 Sep 2019 22:47:59 -0000 From: William Hubbs To: gentoo-dev@lists.gentoo.org Cc: William Hubbs Subject: [gentoo-dev] [PATCH 0/1] introduce new eclass to handle go modules (round 4) Date: Mon, 16 Sep 2019 17:47:19 -0500 Message-Id: <20190916224720.20502-1-williamh@gentoo.org> X-Mailer: git-send-email 2.21.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2992fca4-460e-416c-a245-351d5f370694 X-Archives-Hash: c4aa5c29f2c346e709ff2d291a2c9767 All, This iteration adds the src_prepare function along with some sanity checks for the location of the upstream vendor directory. We should use "${S}"/vendor instead of just vendor. Also, a comment was added about the LICENSE setting in ebuilds and we now force go to operate in module mode by adding GO111MODULE=on to the environment. William Hubbs (1): go-module.eclass: introduce new eclass to handle go modules eclass/go-module.eclass | 105 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 eclass/go-module.eclass -- 2.21.0