diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-07-30 07:06:52 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-07-30 07:06:52 +0000 |
commit | 42e87810ba6fc9f58eb2947cd4e565c336074184 (patch) | |
tree | a76a07a386943f1c1a3ad7232ecf3f023c3264ed /dev-go | |
parent | Add go-snappy. (diff) | |
download | gentoo-2-42e87810ba6fc9f58eb2947cd4e565c336074184.tar.gz gentoo-2-42e87810ba6fc9f58eb2947cd4e565c336074184.tar.bz2 gentoo-2-42e87810ba6fc9f58eb2947cd4e565c336074184.zip |
Remove unnecessary src_test code.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-protobuf/ChangeLog | 6 | ||||
-rw-r--r-- | dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild | 16 | ||||
-rw-r--r-- | dev-go/go-protobuf/go-protobuf-9999.ebuild | 16 |
3 files changed, 7 insertions, 31 deletions
diff --git a/dev-go/go-protobuf/ChangeLog b/dev-go/go-protobuf/ChangeLog index e2890d5d4a40..412c00fcf2a2 100644 --- a/dev-go/go-protobuf/ChangeLog +++ b/dev-go/go-protobuf/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-go/go-protobuf # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/ChangeLog,v 1.1 2015/07/30 06:09:25 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/ChangeLog,v 1.2 2015/07/30 07:06:52 zmedico Exp $ + + 30 Jul 2015; Zac Medico <zmedico@gentoo.org> go-protobuf-0_pre20150727.ebuild, + go-protobuf-9999.ebuild: + Remove unnecessary src_test code. *go-protobuf-0_pre20150727 (30 Jul 2015) *go-protobuf-9999 (30 Jul 2015) diff --git a/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild b/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild index 05cc0675ddaf..be09ade7c3e3 100644 --- a/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild +++ b/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild,v 1.1 2015/07/30 06:09:25 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/go-protobuf-0_pre20150727.ebuild,v 1.2 2015/07/30 07:06:52 zmedico Exp $ EAPI=5 @@ -54,20 +54,6 @@ src_unpack() { } fi -src_test() { - # Create a writable GOROOT in order to avoid sandbox violations. - cp -sR "$(go env GOROOT)" "${T}/goroot" || die - if [ -d "${T}/goroot/src/${EGO_SRC}" ]; then - rm -rf "${T}/goroot/src/${EGO_SRC}" || die - fi - if [ -d "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" ]; then - rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || - die - fi - - GOROOT="${T}/goroot" golang-build_src_test -} - src_install() { rm -rf src/${EGO_SRC}/.git* || die golang-build_src_install diff --git a/dev-go/go-protobuf/go-protobuf-9999.ebuild b/dev-go/go-protobuf/go-protobuf-9999.ebuild index c68bcdbee343..168eafe0e36f 100644 --- a/dev-go/go-protobuf/go-protobuf-9999.ebuild +++ b/dev-go/go-protobuf/go-protobuf-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/go-protobuf-9999.ebuild,v 1.1 2015/07/30 06:09:25 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/go-protobuf-9999.ebuild,v 1.2 2015/07/30 07:06:52 zmedico Exp $ EAPI=5 @@ -54,20 +54,6 @@ src_unpack() { } fi -src_test() { - # Create a writable GOROOT in order to avoid sandbox violations. - cp -sR "$(go env GOROOT)" "${T}/goroot" || die - if [ -d "${T}/goroot/src/${EGO_SRC}" ]; then - rm -rf "${T}/goroot/src/${EGO_SRC}" || die - fi - if [ -d "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" ]; then - rm -rf "${T}/goroot/pkg/$(go env GOOS)_$(go env GOARCH)/${EGO_SRC}" || - die - fi - - GOROOT="${T}/goroot" golang-build_src_test -} - src_install() { rm -rf src/${EGO_SRC}/.git* || die golang-build_src_install |