williamh 15/07/01 20:09:14
Modified: ChangeLog
Added: go-crypto-0_pre20150608.ebuild
Removed: go-crypto-1.4.2_p20150608.ebuild
go-crypto-1.4.2_p20150514.ebuild
Log:
Move the latest snapshot to a pre-release of version 0
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key
0x30C46538)
Revision Changes Path
1.8 dev-go/go-crypto/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?rev=1.8&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?rev=1.8&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/ChangeLog?r1=1.7&r2=1.8
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog 29 Jun 2015 03:30:29 -0000 1.7
+++ ChangeLog 1 Jul 2015 20:09:14 -0000 1.8
@@ -1,6 +1,13 @@
# ChangeLog for dev-go/go-crypto
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v 1.7 2015/06/29
03:30:29 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-crypto/ChangeLog,v 1.8 2015/07/01
20:09:14 williamh Exp $
+
+*go-crypto-0_pre20150608 (01 Jul 2015)
+
+ 01 Jul 2015; William Hubbs <[email protected]>
+ +go-crypto-0_pre20150608.ebuild, -go-crypto-1.4.2_p20150514.ebuild,
+ -go-crypto-1.4.2_p20150608.ebuild:
+ Move the latest snapshot to a pre-release of version 0
29 Jun 2015; William Hubbs <[email protected]> go-crypto-9999.ebuild:
make live ebuild copyable
1.1 dev-go/go-crypto/go-crypto-0_pre20150608.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild?rev=1.1&content-type=text/plain
Index: go-crypto-0_pre20150608.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/dev-go/go-crypto/go-crypto-0_pre20150608.ebuild,v 1.1
2015/07/01 20:09:14 williamh Exp $
EAPI=5
KEYWORDS="~amd64"
DESCRIPTION="Go supplementary cryptography libraries"
MY_PN=${PN##*-}
GO_PN=golang.org/x/${MY_PN}
HOMEPAGE="https://godoc.org/${GO_PN}"
EGIT_COMMIT="1e856cbfdf9bc25eefca75f83f25d55e35ae72e0"
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_prepare() {
# disable broken tests
sed -e 's:TestAgentForward(:_\0:' -i ssh/test/agent_unix_test.go || die
sed -e 's:TestRunCommandSuccess(:_\0:' \
-e 's:TestRunCommandStdin(:_\0:' \
-e 's:TestRunCommandStdinError(:_\0:' \
-e 's:TestRunCommandWeClosed(:_\0:' \
-e 's:TestFuncLargeRead(:_\0:' \
-e 's:TestKeyChange(:_\0:' \
-e 's:TestValidTerminalMode(:_\0:' \
-i ssh/test/session_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}
}