summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-08-11 15:52:13 -0500
committerWilliam Hubbs <williamh@gentoo.org>2015-08-11 15:53:42 -0500
commitb0d1999d4bf7bbe51244c911bbc566cb362990bb (patch)
treea5860a49f1398a3cac1bc9841ae0c2a148e6c481 /dev-go
parentdev-go/godep: new snapshot (diff)
downloadgentoo-b0d1999d4bf7bbe51244c911bbc566cb362990bb.tar.gz
gentoo-b0d1999d4bf7bbe51244c911bbc566cb362990bb.tar.bz2
gentoo-b0d1999d4bf7bbe51244c911bbc566cb362990bb.zip
dev-go/godep: remove old snapshots
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/*
-}