public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/musl:master commit in: dev-lang/go-bootstrap/
@ 2018-08-15  9:26 Anthony G. Basile
  0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2018-08-15  9:26 UTC (permalink / raw
  To: gentoo-commits

commit:     e472fdfb3ae93daa4a44111c2df818fbc72dec3c
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 15 09:26:50 2018 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 09:26:50 2018 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=e472fdfb

dev-lang/go-bootstrap: bump to EAPI 6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild
index b58400e..e52034a 100644
--- a/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild
+++ b/dev-lang/go-bootstrap/go-bootstrap-1.4.3.ebuild
@@ -1,8 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
 
-EAPI=5
+EAPI=6
 
 export CTARGET=${CTARGET:-${CHOST}}
 
@@ -34,13 +33,12 @@ STRIP_MASK="/usr/lib/go1.4/pkg/*.a
 
 S="${WORKDIR}"/go
 
-src_prepare()
-{
+src_prepare() {
 	sed -i -e 's/"-Werror",//g' src/cmd/dist/build.c
+	eapply_user
 }
 
-src_compile()
-{
+src_compile() {
 	export GOROOT_FINAL="${EPREFIX}"/usr/lib/go1.4
 	export GOROOT="$(pwd)"
 	export GOBIN="${GOROOT}/bin"
@@ -55,15 +53,13 @@ src_compile()
 	./make.bash || die "build failed"
 }
 
-src_test()
-{
+src_test() {
 	cd src
 	PATH="${GOBIN}:${PATH}" \
 		./run.bash --no-rebuild --banner || die "tests failed"
 }
 
-src_install()
-{
+src_install() {
 	dodir /usr/lib/go1.4
 	exeinto /usr/lib/go1.4/bin
 	doexe bin/*
@@ -72,8 +68,7 @@ src_install()
 	fperms -R +x /usr/lib/go1.4/pkg/tool
 }
 
-pkg_postinst()
-{
+pkg_postinst() {
 	# If the go tool sees a package file timestamped older than a dependancy it
 	# will rebuild that file.  So, in order to stop go from rebuilding lots of
 	# packages for every build we need to fix the timestamps.  The compiler and


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-15  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-15  9:26 [gentoo-commits] proj/musl:master commit in: dev-lang/go-bootstrap/ Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox