summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/godep/godep-0_p20150520-r1.ebuild47
-rw-r--r--dev-go/godep/godep-0_p20150520.ebuild47
2 files changed, 0 insertions, 94 deletions
diff --git a/dev-go/godep/godep-0_p20150520-r1.ebuild b/dev-go/godep/godep-0_p20150520-r1.ebuild
deleted file mode 100644
index 68b03ab08711..000000000000
--- a/dev-go/godep/godep-0_p20150520-r1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64"
-DESCRIPTION="dependency tool for go"
-GO_PN=github.com/tools/${PN}
-HOMEPAGE="https://${GO_PN}"
-EGIT_COMMIT="98f5c2e8906df47a9eaafebbcd406adde2c8d0a7"
-SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
-https://github.com/kr/fs/archive/2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz -> go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.4:="
-RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-STRIP_MASK="*.a"
-
-src_unpack() {
- default
- mkdir -p src/${GO_PN%/*} || die
- mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
- mkdir -p src/github.com/kr || die
- mv fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b src/github.com/kr/fs || die
-}
-
-src_prepare() {
- # disable broken tests
- sed -e 's:TestSave(:_\0:' -i save_test.go || die
- sed -e 's:TestUpdate(:_\0:' -i update_test.go || die
-}
-
-src_compile() {
- GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
-}
-
-src_test() {
- GOPATH=${WORKDIR} \
- go test -x -v ${GO_PN}/... || die $?
-}
-
-src_install() {
- dobin "${WORKDIR}"/bin/*
-}
diff --git a/dev-go/godep/godep-0_p20150520.ebuild b/dev-go/godep/godep-0_p20150520.ebuild
deleted file mode 100644
index 9236e99e56b7..000000000000
--- a/dev-go/godep/godep-0_p20150520.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-KEYWORDS="~amd64"
-DESCRIPTION="dependency tool for go"
-GO_PN=github.com/tools/${PN}
-HOMEPAGE="https://${GO_PN}"
-EGIT_COMMIT="98f5c2e8906df47a9eaafebbcd406adde2c8d0a7"
-SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
-https://github.com/kr/fs/archive/2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz -> go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-IUSE=""
-DEPEND=">=dev-lang/go-1.4"
-RDEPEND=""
-S="${WORKDIR}/src/${GO_PN}"
-STRIP_MASK="*.a"
-
-src_unpack() {
- default
- mkdir -p src/${GO_PN%/*} || die
- mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
- mkdir -p src/github.com/kr || die
- mv fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b src/github.com/kr/fs || die
-}
-
-src_prepare() {
- # disable broken tests
- sed -e 's:TestSave(:_\0:' -i save_test.go || die
- sed -e 's:TestUpdate(:_\0:' -i update_test.go || die
-}
-
-src_compile() {
- GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
-}
-
-src_test() {
- GOPATH=${WORKDIR} \
- go test -x -v ${GO_PN}/... || die $?
-}
-
-src_install() {
- dobin "${WORKDIR}"/bin/*
-}