From 01c836cf5ab39cb27be0e0e173787c11a7c3467e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Nov 2019 10:40:15 -0800 Subject: dev-go/coveraggregator: Vendor golang.org/x/tools Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Zac Medico --- dev-go/coveraggregator/Manifest | 1 + .../coveraggregator-0_pre20170216-r1.ebuild | 35 ++++++++++++++++++++++ .../coveraggregator-0_pre20170216.ebuild | 27 ----------------- 3 files changed, 36 insertions(+), 27 deletions(-) create mode 100644 dev-go/coveraggregator/coveraggregator-0_pre20170216-r1.ebuild delete mode 100644 dev-go/coveraggregator/coveraggregator-0_pre20170216.ebuild (limited to 'dev-go/coveraggregator') diff --git a/dev-go/coveraggregator/Manifest b/dev-go/coveraggregator/Manifest index 4acf75ea2974..1d00f174ac0d 100644 --- a/dev-go/coveraggregator/Manifest +++ b/dev-go/coveraggregator/Manifest @@ -1 +1,2 @@ DIST coveraggregator-0_pre20170216.tar.gz 2394 BLAKE2B 0772a6449917a5a0a8ca953223771edbfc156eb49686a3f2f6eea7981ae8a5fb71727bc59d034e657ab4534e8506eaf012f57609fa5036bc1c2e4778ffdd161e SHA512 07eae44813ebce3d06e103a97ae972823880d58392a9520b1ef6a1dbf44aad4ca5bf572a6eee37a69a2a2c215fbd70587d95f181bba2c0bd7f041385ce169a7a +DIST github.com-golang-tools-a911d9008d1f732040244007778232b02ebb2b84.tar.gz 2298164 BLAKE2B 1c47d5f354174578ee376cc0907235b70df8a81b403da26083dd4138e8bbd1064bb62a5481a5079c43af31e71f76d77eb2be23b85571dbe3a2f48ffd7ed161cf SHA512 acce459c8fa32ca7e48163f92fb6e343b0ea8ec6994b98eb7f7326cf09bf194191c00a01c9eb5d055210cc144d5b986a9e554102a31eca4bba9cbedc500ccdf1 diff --git a/dev-go/coveraggregator/coveraggregator-0_pre20170216-r1.ebuild b/dev-go/coveraggregator/coveraggregator-0_pre20170216-r1.ebuild new file mode 100644 index 000000000000..24fd828f5fec --- /dev/null +++ b/dev-go/coveraggregator/coveraggregator-0_pre20170216-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_VENDOR=( + "golang.org/x/tools a911d9008d1f732040244007778232b02ebb2b84 github.com/golang/tools" +) + +inherit golang-vcs-snapshot + +KEYWORDS="~amd64" +EGO_PN=github.com/chouquette/${PN} +HOMEPAGE="https://github.com/chouquette/coveraggregator" +EGIT_COMMIT="af12d4d73479a1b49a16bbed8e5c182999dd62be" +SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" +DESCRIPTION="Cover profile aggregator for golang" +LICENSE="WTFPL-2 BSD" +RESTRICT="test" +SLOT="0" +IUSE="" +DEPEND="" +RDEPEND="" +S=${WORKDIR}/${P}/src/${EGO_PN} + +src_compile() { + export -n GOCACHE XDG_CACHE_HOME #681202 + GOPATH="${WORKDIR}/${P}" go build -v -work -x ${EGO_BUILD_FLAGS} -o ${PN} "${EGO_PN}" || die +} + +src_install() { + dobin ${PN} + dodoc README.md +} diff --git a/dev-go/coveraggregator/coveraggregator-0_pre20170216.ebuild b/dev-go/coveraggregator/coveraggregator-0_pre20170216.ebuild deleted file mode 100644 index 65f3de29613c..000000000000 --- a/dev-go/coveraggregator/coveraggregator-0_pre20170216.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit golang-build golang-vcs-snapshot - -KEYWORDS="~amd64" -EGO_PN=github.com/chouquette/${PN} -HOMEPAGE="https://github.com/chouquette/coveraggregator" -EGIT_COMMIT="af12d4d73479a1b49a16bbed8e5c182999dd62be" -SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -DESCRIPTION="Cover profile aggregator for golang" -LICENSE="WTFPL-2" -SLOT="0" -IUSE="" -DEPEND="dev-go/go-tools:=" -RDEPEND="" - -src_compile() { - export -n GOCACHE XDG_CACHE_HOME #681202 - golang-build_src_compile -} - -src_install() { - dobin ${PN} - dodoc src/${EGO_PN}/README.md -} -- cgit v1.2.3-65-gdbad