diff options
author | William Hubbs <williamh@gentoo.org> | 2015-07-01 22:20:07 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-07-01 22:20:07 +0000 |
commit | fca47ed2cdae3ba65895acfd858714b534204ba3 (patch) | |
tree | ae798f36dd5f801ac1d5ab7ee1bb268637ae70f6 /dev-go | |
parent | Move latest snapshot to a pre-release of version 0 (diff) | |
download | gentoo-2-fca47ed2cdae3ba65895acfd858714b534204ba3.tar.gz gentoo-2-fca47ed2cdae3ba65895acfd858714b534204ba3.tar.bz2 gentoo-2-fca47ed2cdae3ba65895acfd858714b534204ba3.zip |
Move latest snapshot to a pre-release of version 0
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-tools/ChangeLog | 9 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-0_pre20150606.ebuild (renamed from dev-go/go-tools/go-tools-1.4.2_p20150606.ebuild) | 2 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-1.4.2_p20150520-r1.ebuild | 98 | ||||
-rw-r--r-- | dev-go/go-tools/go-tools-1.4.2_p20150602.ebuild | 98 |
4 files changed, 9 insertions, 198 deletions
diff --git a/dev-go/go-tools/ChangeLog b/dev-go/go-tools/ChangeLog index 2ed7d89c555c..3bd727120dd7 100644 --- a/dev-go/go-tools/ChangeLog +++ b/dev-go/go-tools/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-go/go-tools # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.11 2015/06/26 19:24:29 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.12 2015/07/01 22:20:07 williamh Exp $ + +*go-tools-0_pre20150606 (01 Jul 2015) + + 01 Jul 2015; William Hubbs <williamh@gentoo.org> + +go-tools-0_pre20150606.ebuild, -go-tools-1.4.2_p20150520-r1.ebuild, + -go-tools-1.4.2_p20150602.ebuild, -go-tools-1.4.2_p20150606.ebuild: + Move latest snapshot to a pre-release of version 0 26 Jun 2015; William Hubbs <williamh@gentoo.org> go-tools-9999.ebuild: Make live ebuild copyable as future snapshots diff --git a/dev-go/go-tools/go-tools-1.4.2_p20150606.ebuild b/dev-go/go-tools/go-tools-0_pre20150606.ebuild index dc91c97291e7..1b8d54055ad3 100644 --- a/dev-go/go-tools/go-tools-1.4.2_p20150606.ebuild +++ b/dev-go/go-tools/go-tools-0_pre20150606.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-tools/go-tools-1.4.2_p20150606.ebuild,v 1.1 2015/06/09 03:17:38 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-0_pre20150606.ebuild,v 1.1 2015/07/01 22:20:07 williamh Exp $ EAPI=5 diff --git a/dev-go/go-tools/go-tools-1.4.2_p20150520-r1.ebuild b/dev-go/go-tools/go-tools-1.4.2_p20150520-r1.ebuild deleted file mode 100644 index 32522c175fa4..000000000000 --- a/dev-go/go-tools/go-tools-1.4.2_p20150520-r1.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-1.4.2_p20150520-r1.ebuild,v 1.1 2015/06/03 07:05:58 zmedico Exp $ - -EAPI=5 - -KEYWORDS="~amd64" -DESCRIPTION="Go Tools" -MY_PN=${PN##*-} -GO_PN=golang.org/x/${MY_PN} -HOMEPAGE="https://godoc.org/${GO_PN}" -EGIT_COMMIT="3d1847243ea4f07666a91110f48e79e43396603d" -SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz - http://golang.org/favicon.ico -> go-favicon.ico" -LICENSE="BSD" -SLOT="0" -IUSE="" -DEPEND=">=dev-lang/go-1.4 - dev-go/go-net" -RDEPEND="" -S="${WORKDIR}/src/${GO_PN}" -EGIT_CHECKOUT_DIR="${S}" -STRIP_MASK="*.a" - -src_unpack() { - default - mkdir -p src/${GO_PN%/*} || die - mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die - cp "${DISTDIR}"/go-favicon.ico "${S}"/godoc/static/favicon.ico || die -} - -src_prepare() { - # disable broken tests - sed -e 's:TestWeb(:_\0:' -i cmd/godoc/godoc_test.go || die - sed -e 's:TestVet(:_\0:' -i cmd/vet/vet_test.go || die - sed -e 's:TestImport(:_\0:' -i go/gcimporter/gcimporter_test.go || die - sed -e 's:TestImportStdLib(:_\0:' -i go/importer/import_test.go || die - sed -e 's:TestStdlib(:_\0:' -i go/loader/stdlib_test.go || die - sed -e 's:TestStdlib(:_\0:' -i go/ssa/stdlib_test.go || die - sed -e 's:TestGorootTest(:_\0:' \ - -e 's:TestFoo(:_\0:' \ - -e 's:TestTestmainPackage(:_\0:' \ - -i go/ssa/interp/interp_test.go || die - sed -e 's:TestBar(:_\0:' \ - -e 's:TestFoo(:_\0:' -i go/ssa/interp/testdata/a_test.go || die - sed -e 's:TestCheck(:_\0:' -i go/types/check_test.go || die - sed -e 's:TestStdlib(:_\0:' \ - -e 's:TestStdFixed(:_\0:' \ - -e 's:TestStdKen(:_\0:' -i go/types/stdlib_test.go || die - sed -e 's:TestRepoRootForImportPath(:_\0:' -i go/vcs/vcs_test.go || die - sed -e 's:TestStdlib(:_\0:' -i refactor/lexical/lexical_test.go || die - - # Add favicon to the godoc web interface (bug 551030) - sed -e 's:"example.html",:\0\n\t"favicon.ico",:' -i godoc/static/makestatic.go || die - sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' -i \ - godoc/static/godoc.html || die -} - -src_compile() { - # Create a writable GOROOT in order to avoid sandbox violations. - GOROOT="${WORKDIR}/goroot" - cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die - rm -rf "${GOROOT}/src/${GO_PN}" \ - "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die - - # Generate static.go with favicon included - pushd godoc/static >/dev/null - GOROOT="${GOROOT}" GOPATH=${WORKDIR} go run makestatic.go || die - popd >/dev/null - - GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die -} - -src_test() { - GOROOT="${GOROOT}" GOPATH=${WORKDIR} \ - go test -x -v ${GO_PN}/... || die $? -} - -src_install() { - local x - exeinto /usr/lib/go/bin - doexe "${WORKDIR}"/bin/* - - # godoc ends up in ${GOROOT}/bin - dodir /usr/bin - while read -r -d '' x; do - doexe "${x}" - ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die - done < <(find "${GOROOT}/bin" -type f -print0) - - # cover and vet end up in ${GOROOT}/pkg/tool/linux_amd64 - exeinto /usr/lib/go/pkg/tool/linux_amd64 - find "${GOROOT}/pkg/tool/linux_amd64" -type f -exec doexe {} \; - - insinto /usr/lib/go - find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null - doins -r "${WORKDIR}"/{pkg,src} -} diff --git a/dev-go/go-tools/go-tools-1.4.2_p20150602.ebuild b/dev-go/go-tools/go-tools-1.4.2_p20150602.ebuild deleted file mode 100644 index 4292d13206ad..000000000000 --- a/dev-go/go-tools/go-tools-1.4.2_p20150602.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-1.4.2_p20150602.ebuild,v 1.1 2015/06/03 07:15:38 zmedico Exp $ - -EAPI=5 - -KEYWORDS="~amd64" -DESCRIPTION="Go Tools" -MY_PN=${PN##*-} -GO_PN=golang.org/x/${MY_PN} -HOMEPAGE="https://godoc.org/${GO_PN}" -EGIT_COMMIT="578c521fc29d6b5e17e052d4382ef72664fc1e2d" -SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz - http://golang.org/favicon.ico -> go-favicon.ico" -LICENSE="BSD" -SLOT="0" -IUSE="" -DEPEND=">=dev-lang/go-1.4 - dev-go/go-net" -RDEPEND="" -S="${WORKDIR}/src/${GO_PN}" -EGIT_CHECKOUT_DIR="${S}" -STRIP_MASK="*.a" - -src_unpack() { - default - mkdir -p src/${GO_PN%/*} || die - mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die - cp "${DISTDIR}"/go-favicon.ico "${S}"/godoc/static/favicon.ico || die -} - -src_prepare() { - # disable broken tests - sed -e 's:TestWeb(:_\0:' -i cmd/godoc/godoc_test.go || die - sed -e 's:TestVet(:_\0:' -i cmd/vet/vet_test.go || die - sed -e 's:TestImport(:_\0:' -i go/gcimporter/gcimporter_test.go || die - sed -e 's:TestImportStdLib(:_\0:' -i go/importer/import_test.go || die - sed -e 's:TestStdlib(:_\0:' -i go/loader/stdlib_test.go || die - sed -e 's:TestStdlib(:_\0:' -i go/ssa/stdlib_test.go || die - sed -e 's:TestGorootTest(:_\0:' \ - -e 's:TestFoo(:_\0:' \ - -e 's:TestTestmainPackage(:_\0:' \ - -i go/ssa/interp/interp_test.go || die - sed -e 's:TestBar(:_\0:' \ - -e 's:TestFoo(:_\0:' -i go/ssa/interp/testdata/a_test.go || die - sed -e 's:TestCheck(:_\0:' -i go/types/check_test.go || die - sed -e 's:TestStdlib(:_\0:' \ - -e 's:TestStdFixed(:_\0:' \ - -e 's:TestStdKen(:_\0:' -i go/types/stdlib_test.go || die - sed -e 's:TestRepoRootForImportPath(:_\0:' -i go/vcs/vcs_test.go || die - sed -e 's:TestStdlib(:_\0:' -i refactor/lexical/lexical_test.go || die - - # Add favicon to the godoc web interface (bug 551030) - sed -e 's:"example.html",:\0\n\t"favicon.ico",:' -i godoc/static/makestatic.go || die - sed -e 's:<link type="text/css":<link rel="icon" type="image/png" href="/lib/godoc/favicon.ico">\n\0:' -i \ - godoc/static/godoc.html || die -} - -src_compile() { - # Create a writable GOROOT in order to avoid sandbox violations. - GOROOT="${WORKDIR}/goroot" - cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die - rm -rf "${GOROOT}/src/${GO_PN}" \ - "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die - - # Generate static.go with favicon included - pushd godoc/static >/dev/null - GOROOT="${GOROOT}" GOPATH=${WORKDIR} go run makestatic.go || die - popd >/dev/null - - GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die -} - -src_test() { - GOROOT="${GOROOT}" GOPATH=${WORKDIR} \ - go test -x -v ${GO_PN}/... || die $? -} - -src_install() { - local x - exeinto /usr/lib/go/bin - doexe "${WORKDIR}"/bin/* - - # godoc ends up in ${GOROOT}/bin - dodir /usr/bin - while read -r -d '' x; do - doexe "${x}" - ln "${ED}"usr/{lib/go/bin,bin}/${x##*/} || die - done < <(find "${GOROOT}/bin" -type f -print0) - - # cover and vet end up in ${GOROOT}/pkg/tool/linux_amd64 - exeinto /usr/lib/go/pkg/tool/linux_amd64 - find "${GOROOT}/pkg/tool/linux_amd64" -type f -exec doexe {} \; - - insinto /usr/lib/go - find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null - doins -r "${WORKDIR}"/{pkg,src} -} |