diff options
-rw-r--r-- | dev-go/godep/Manifest | 1 | ||||
-rw-r--r-- | dev-go/godep/godep-0_pre20150807.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-go/godep/Manifest b/dev-go/godep/Manifest index 655dd6dc300b..47377ceb073e 100644 --- a/dev-go/godep/Manifest +++ b/dev-go/godep/Manifest @@ -1,2 +1,3 @@ DIST go-fs-2788f0dbd16903de03cb8186e5c7d97b69ad387b.tar.gz 4366 SHA256 5b8ebbacf88942136f42ccef13822c2d45f3304520be0aabc40309dcb931c707 SHA512 1d1687513caf338a82e5b15624fe7b3702fd42326c433cbf4100551a2f5aa587814201166946739a2dadfecf861661b0ed31934e13bfbe3aac6221ff2624733f WHIRLPOOL 3c38f344d232daf7109449bed55158c95f4657d9067d3623a05abadecfed274033f65375c715518c4617c30985519e735440474fb984a654739c081792c19324 DIST godep-0_p20150520.tar.gz 20433 SHA256 3c461f14db4a65a1fa72ad3e4444986d25e75b99461b978452e65e9b751fb25d SHA512 f26bad4094ee5d35bc2cb4518094b113a84c55d196bdb59d3ffc48715151f64136cc32103bb624c28d72db97bca3aff94af71922b5daf32285421e85ee164dfd WHIRLPOOL 2a03b9c7724715a06228ac216a578974f11646f553b3e5a0c763907b673c872ac536c733f1230a15ca3603c18346a24c38ce10fe66fb779011a9a02e0f95ec3c +DIST godep-0_pre20150807.tar.gz 46281 SHA256 f3fec4523c75be20663aa9a4f11cda60a04d86d0d0d48ca3ce2330bf35f37fce SHA512 0969692442a63e99f3f16b7d29e85ace12378b536d31dc8f48bd99d6dd4cd45d025d427a21201d897bedf680c5157a6fdd68fe6410f3a9545599558436ce5cfe WHIRLPOOL ef9c7d13df8ac5dcb7ab9ee7766bb95120edfc87c60d336433b5a684af8d8c041ba6c7ec48dceb1d3f3ac9baff7024d5c1e471a41ffe31cc4c47f00c1443044c diff --git a/dev-go/godep/godep-0_pre20150807.ebuild b/dev-go/godep/godep-0_pre20150807.ebuild new file mode 100644 index 000000000000..696ec9e7d82f --- /dev/null +++ b/dev-go/godep/godep-0_pre20150807.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +EGO_PN=github.com/tools/godep + +if [[ ${PV} = *9999* ]]; then + inherit golang-vcs +else + KEYWORDS="~amd64" + EGIT_COMMIT=9805c4da6f + SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" + inherit golang-vcs-snapshot +fi +inherit golang-build + +DESCRIPTION="dependency tool for go" +HOMEPAGE="https://github.com/tools/godep" +LICENSE="BSD" +SLOT="0" +IUSE="" +DEPEND="" +RDEPEND="" + +src_prepare() { + # disable broken tests + sed -e 's:TestSave(:_\0:' \ + -i src/${EGO_PN}/save_test.go || die + sed -e 's:TestUpdate(:_\0:' \ + -i src/${EGO_PN}/update_test.go || die +} + +src_install() { + dobin godep +} |