diff options
author | William Hubbs <williamh@gentoo.org> | 2015-08-10 15:11:31 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-08-10 15:30:08 -0500 |
commit | 12be6b924c12dfbddda07849b4b9c80f96589562 (patch) | |
tree | 8c654f4969da92bb7582774a4999a2c360e711bc /dev-go | |
parent | kde-misc/systemd-kcm: Remove 1.2.0 (diff) | |
download | gentoo-12be6b924c12dfbddda07849b4b9c80f96589562.tar.gz gentoo-12be6b924c12dfbddda07849b4b9c80f96589562.tar.bz2 gentoo-12be6b924c12dfbddda07849b4b9c80f96589562.zip |
dev-go/go-net: remove old snapshot
Diffstat (limited to 'dev-go')
-rw-r--r-- | dev-go/go-net/Manifest | 1 | ||||
-rw-r--r-- | dev-go/go-net/go-net-0_pre20150604.ebuild | 57 |
2 files changed, 0 insertions, 58 deletions
diff --git a/dev-go/go-net/Manifest b/dev-go/go-net/Manifest index bf40cb72b211..cba60dd35103 100644 --- a/dev-go/go-net/Manifest +++ b/dev-go/go-net/Manifest @@ -1,2 +1 @@ -DIST go-net-0_pre20150604.tar.gz 470847 SHA256 407c9a5796baabb40a04cc09fcbc21efc0df72c38e95550054f8191741ad6207 SHA512 5bf62beed4a5d847dd4034fb713412f26f48d392c133ad4ac7409b75af82cb4b72ce46c3dbda7aab58d42879db4bb120432722362f7b8d2cb8131e9f3709c4e5 WHIRLPOOL ab69bca5c7c72a88d64a694b01911645850cea7741798934d3350a49d57704c0be99a9ebaca7582aed5e03be64dd3daf25778e3193b65f9cad522d6b62397c82 DIST go-net-0_pre20150804.tar.gz 539435 SHA256 77fb87becd3ddb68ff06acd3a1bf1246b390e7489b3e25a9ee9314f7457ccf60 SHA512 02a9734f8335909a15280e925b11ff03b96fbedd6e48fa5c3f869ab1a8b3062971d634f7043f92cee685c618222b147fdee915f1d5d83bd82cdde171970287e3 WHIRLPOOL a63befad593737449f393d7f4490b1680d8cba808f6163b9723b0d1d228480cdcbf9e2fb091ffc96f9121aabde1e24b06f3ddcb7b30e4bffa6e39dece5a8b3e0 diff --git a/dev-go/go-net/go-net-0_pre20150604.ebuild b/dev-go/go-net/go-net-0_pre20150604.ebuild deleted file mode 100644 index 7c0abdb8d2bb..000000000000 --- a/dev-go/go-net/go-net-0_pre20150604.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -KEYWORDS="~amd64" -DESCRIPTION="Go supplementary network libraries" -MY_PN=${PN##*-} -GO_PN=golang.org/x/${MY_PN} -HOMEPAGE="https://godoc.org/${GO_PN}" -EGIT_COMMIT="dfe268fd2bb5c793f4c083803609fce9806c6f80" -SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -IUSE="" -DEPEND=">=dev-lang/go-1.4 - dev-go/go-text" -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 -} - -src_prepare() { - # disable broken tests - sed -e 's:TestReadProppatch(:_\0:' -i webdav/xml_test.go || die - sed -e 's:TestPingGoogle(:_\0:' \ - -e 's:TestNonPrivilegedPing(:_\0:' \ - -i icmp/ping_test.go || 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 - 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() { - insinto /usr/lib/go - find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null - insopts -m0644 -p # preserve timestamps for bug 551486 - doins -r "${WORKDIR}"/{pkg,src} -} |