Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-go/go-text: go-text-9999.ebuild ChangeLog
Date: Fri, 26 Jun 2015 22:54:57
Message-Id: 20150626225448.BE24172F@oystercatcher.gentoo.org
1 williamh 15/06/26 22:54:48
2
3 Modified: go-text-9999.ebuild ChangeLog
4 Log:
5 make live ebuild copyable
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
8
9 Revision Changes Path
10 1.7 dev-go/go-text/go-text-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/go-text-9999.ebuild?r1=1.6&r2=1.7
15
16 Index: go-text-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- go-text-9999.ebuild 25 Jun 2015 17:43:02 -0000 1.6
23 +++ go-text-9999.ebuild 26 Jun 2015 22:54:48 -0000 1.7
24 @@ -1,13 +1,21 @@
25 # Copyright 1999-2015 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.6 2015/06/25 17:43:02 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.7 2015/06/26 22:54:48 williamh Exp $
29
30 EAPI=5
31
32 -inherit golang-build golang-vcs
33 EGO_PN=golang.org/x/text/...
34 EGO_SRC=golang.org/x/text
35
36 +if [[ ${PV} = *9999* ]]; then
37 + inherit golang-vcs
38 +else
39 + KEYWORDS="~amd64"
40 + EGIT_COMMIT="df923bbb63f8ea3a26bb743e2a497abd0ab585f7"
41 + SRC_URI="https://github.com/golang/text/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
42 +fi
43 +inherit golang-build
44 +
45 DESCRIPTION="Go text processing support"
46 HOMEPAGE="https://godoc.org/golang.org/x/text"
47 LICENSE="BSD"
48 @@ -16,6 +24,35 @@
49 DEPEND=""
50 RDEPEND=""
51
52 +if [[ ${PV} != *9999* ]]; then
53 +src_unpack() {
54 + local f
55 +
56 + for f in ${A}
57 + do
58 + case "${f}" in
59 + *.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
60 + local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
61 +
62 + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
63 +
64 + # XXX: check whether the directory structure inside is
65 + # fine? i.e. if the tarball has actually a parent dir.
66 + mkdir -p "${destdir}" || die
67 + tar -C "${destdir}" -x --strip-components 1 \
68 + -f "${DISTDIR}/${f}" || die
69 + ;;
70 + *)
71 + debug-print "${FUNCNAME}: falling back to unpack for ${f}"
72 +
73 + # fall back to the default method
74 + unpack "${f}"
75 + ;;
76 + esac
77 + done
78 +}
79 +fi
80 +
81 src_test() {
82 # Create a writable GOROOT in order to avoid sandbox violations.
83 cp -sR "$(go env GOROOT)" "${T}/goroot" || die
84
85
86
87 1.8 dev-go/go-text/ChangeLog
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.8&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?rev=1.8&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-text/ChangeLog?r1=1.7&r2=1.8
92
93 Index: ChangeLog
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v
96 retrieving revision 1.7
97 retrieving revision 1.8
98 diff -u -r1.7 -r1.8
99 --- ChangeLog 9 Jun 2015 03:07:26 -0000 1.7
100 +++ ChangeLog 26 Jun 2015 22:54:48 -0000 1.8
101 @@ -1,6 +1,9 @@
102 # ChangeLog for dev-go/go-text
103 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
104 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.7 2015/06/09 03:07:26 zmedico Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.8 2015/06/26 22:54:48 williamh Exp $
106 +
107 + 26 Jun 2015; William Hubbs <williamh@g.o> go-text-9999.ebuild:
108 + make live ebuild copyable
109
110 *go-text-1.4.2_p20150604 (09 Jun 2015)