diff options
author | William Hubbs <williamh@gentoo.org> | 2015-08-10 18:28:02 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-08-10 18:29:29 -0500 |
commit | 52d4492a252aa4e994de12f325d2e78ff8966031 (patch) | |
tree | 0828673653a72363ba28ebb94bd85a99f0b1b853 /dev-go/go-sys | |
parent | dev-go/go-protobuf: remove old snapshot (diff) | |
download | gentoo-52d4492a252aa4e994de12f325d2e78ff8966031.tar.gz gentoo-52d4492a252aa4e994de12f325d2e78ff8966031.tar.bz2 gentoo-52d4492a252aa4e994de12f325d2e78ff8966031.zip |
dev-go/go-sys: remove old snapshot
Diffstat (limited to 'dev-go/go-sys')
-rw-r--r-- | dev-go/go-sys/Manifest | 1 | ||||
-rw-r--r-- | dev-go/go-sys/go-sys-0_pre20150518.ebuild | 52 |
2 files changed, 0 insertions, 53 deletions
diff --git a/dev-go/go-sys/Manifest b/dev-go/go-sys/Manifest index 39649ff72b28..c535cd48c758 100644 --- a/dev-go/go-sys/Manifest +++ b/dev-go/go-sys/Manifest @@ -1,2 +1 @@ -DIST go-sys-0_pre20150518.tar.gz 528445 SHA256 8b8af041e424a8bd04a955a1104313f4eb3b282f064c555ef4edc53b552ce753 SHA512 90565340fa64b625877444c84589e1ba870403a239cf43e99ba194b071e89e6a4877b4b04bb85ba5966401e9b6361eb1b1ffa88404d727eb9f02938313264a9c WHIRLPOOL 9bf6bf148b8d63bcd863cf64d16c4f999bc68dd8dc382167122afbc14499dbdf8ca0e5397f3106556cd1e3ebe62f0df31a394fed42d1a506a311aa3f9d232c37 DIST go-sys-0_pre20150729.tar.gz 529002 SHA256 9f9e4a2bca96d9f9708770607e21395c3f4f873f9b6266cae1ba1da526729528 SHA512 f80afa938977f3945ab3f08462eaf5d8db430013240a11b1f8a43911948fd2a8a390192ea9ebf79434b348b2ca520267a0441b922110e70603fff4849e57c487 WHIRLPOOL 0b269666650f285521c9fd3486959957ad9279544baac7ab5caa21158fb10ed4de2b2e7c080ffca9aa352c8e5685f2035612d40a04c8f6c5f7093daf1a020029 diff --git a/dev-go/go-sys/go-sys-0_pre20150518.ebuild b/dev-go/go-sys/go-sys-0_pre20150518.ebuild deleted file mode 100644 index 7c3dc9366d86..000000000000 --- a/dev-go/go-sys/go-sys-0_pre20150518.ebuild +++ /dev/null @@ -1,52 +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 packages for low-level interaction with the operating system" -MY_PN=${PN##*-} -GO_PN=golang.org/x/${MY_PN} -HOMEPAGE="https://godoc.org/${GO_PN}" -EGIT_COMMIT="58e109635f5d754f4b3a8a0172db65a52fcab866" -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" -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_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 -x -v -work ${GO_PN}/unix/... || die -} - -src_test() { - GOROOT="${GOROOT}" GOPATH=${WORKDIR} \ - go test -x -v golang.org/x/sys/unix/... || die -} - -src_install() { - insinto /usr/lib/go - doins -r "${WORKDIR}"/pkg - insinto /usr/lib/go/src/${GO_PN} - find "${WORKDIR}"/src/${GO_PN} -name '.git*' -exec \ - rm -rf {} \; 2>/dev/null - insopts -m0644 -p # preserve timestamps for bug 551486 - doins -r "${WORKDIR}"/src/${GO_PN}/unix -} |