williamh 15/07/01 21:17:55
Modified: ChangeLog
Added: go-text-0_pre20150604.ebuild
Removed: go-text-1.4.2_p20150604.ebuild
go-text-1.4.2_p20150506.ebuild
Log:
Move 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.9 dev-go/go-text/ChangeLog
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.9&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.9&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.8&r2=1.9
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog 26 Jun 2015 22:54:48 -0000 1.8
+++ ChangeLog 1 Jul 2015 21:17:54 -0000 1.9
@@ -1,6 +1,13 @@
# ChangeLog for dev-go/go-text
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.8 2015/06/26
22:54:48 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.9 2015/07/01
21:17:54 williamh Exp $
+
+*go-text-0_pre20150604 (01 Jul 2015)
+
+ 01 Jul 2015; William Hubbs <[email protected]>
+ +go-text-0_pre20150604.ebuild, -go-text-1.4.2_p20150506.ebuild,
+ -go-text-1.4.2_p20150604.ebuild:
+ Move latest snapshot to a pre-release of version 0
26 Jun 2015; William Hubbs <[email protected]> go-text-9999.ebuild:
make live ebuild copyable
1.1 dev-go/go-text/go-text-0_pre20150604.ebuild
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-0_pre20150604.ebuild?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-0_pre20150604.ebuild?rev=1.1&content-type=text/plain
Index: go-text-0_pre20150604.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-text/go-text-0_pre20150604.ebuild,v 1.1
2015/07/01 21:17:54 williamh Exp $
EAPI=5
KEYWORDS="~amd64"
DESCRIPTION="Go text processing support"
MY_PN=${PN##*-}
GO_PN=golang.org/x/${MY_PN}
HOMEPAGE="https://godoc.org/${GO_PN}"
EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
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 -v -x -work
${GO_PN}/... || die
}
src_test() {
# Create go symlink for TestLinking in display/dict_test.go
mkdir -p "${GOROOT}/bin"
ln -s /usr/bin/go "${GOROOT}/bin/go" || die
GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
go test -x -v ${GO_PN}/... || die $?
}
src_install() {
exeinto /usr/lib/go/bin
doexe "${WORKDIR}"/bin/*
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}
}