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-tools: go-tools-9999.ebuild ChangeLog
Date: Fri, 26 Jun 2015 19:24:34
Message-Id: 20150626192429.3CD81A4D@oystercatcher.gentoo.org
1 williamh 15/06/26 19:24:29
2
3 Modified: go-tools-9999.ebuild ChangeLog
4 Log:
5 Make live ebuild copyable as future snapshots
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
8
9 Revision Changes Path
10 1.9 dev-go/go-tools/go-tools-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild?r1=1.8&r2=1.9
15
16 Index: go-tools-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- go-tools-9999.ebuild 26 Jun 2015 14:30:05 -0000 1.8
23 +++ go-tools-9999.ebuild 26 Jun 2015 19:24:29 -0000 1.9
24 @@ -1,22 +1,59 @@
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-tools/go-tools-9999.ebuild,v 1.8 2015/06/26 14:30:05 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/go-tools-9999.ebuild,v 1.9 2015/06/26 19:24:29 williamh Exp $
29
30 EAPI=5
31 -inherit golang-build golang-vcs
32 -EGO_PN=golang.org/x/tools/...
33 -EGO_SRC=golang.org/x/tools
34 -ICON_URI="http://golang.org/favicon.ico -> go-favicon.ico"
35 +EGO_PN="golang.org/x/tools/..."
36 +EGO_SRC="golang.org/x/tools"
37 +
38 +if [[ ${PV} = *9999* ]]; then
39 + inherit golang-vcs
40 +else
41 + EGIT_COMMIT="ac303766f5f240c1796eeea3dc9bf34f1261aa35"
42 + ARCHIVE_URI="https://github.com/golang/tools/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
43 + KEYWORDS="~amd64"
44 +fi
45 +inherit golang-build
46
47 DESCRIPTION="Go Tools"
48 -HOMEPAGE="https://godoc.org/x/tools"
49 -SRC_URI="${ICON_URI}"
50 +HOMEPAGE="https://godoc.org/golang.org/x/tools"
51 +SRC_URI="${ARCHIVE_URI}
52 + http://golang.org/favicon.ico -> go-favicon.ico"
53 LICENSE="BSD"
54 SLOT="0"
55 IUSE=""
56 DEPEND="dev-go/go-net"
57 RDEPEND=""
58
59 +if [[ ${PV} != *9999* ]]; then
60 +src_unpack() {
61 + local f
62 +
63 + for f in ${A}
64 + do
65 + case "${f}" in
66 + *.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
67 + local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
68 +
69 + debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
70 +
71 + # XXX: check whether the directory structure inside is
72 + # fine? i.e. if the tarball has actually a parent dir.
73 + mkdir -p "${destdir}" || die
74 + tar -C "${destdir}" -x --strip-components 1 \
75 + -f "${DISTDIR}/${f}" || die
76 + ;;
77 + *)
78 + debug-print "${FUNCNAME}: falling back to unpack for ${f}"
79 +
80 + # fall back to the default method
81 + unpack "${f}"
82 + ;;
83 + esac
84 + done
85 +}
86 +fi
87 +
88 src_prepare() {
89 # disable broken tests
90 sed -e 's:TestWeb(:_\0:' \
91
92
93
94 1.11 dev-go/go-tools/ChangeLog
95
96 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/ChangeLog?rev=1.11&view=markup
97 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/ChangeLog?rev=1.11&content-type=text/plain
98 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-tools/ChangeLog?r1=1.10&r2=1.11
99
100 Index: ChangeLog
101 ===================================================================
102 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v
103 retrieving revision 1.10
104 retrieving revision 1.11
105 diff -u -r1.10 -r1.11
106 --- ChangeLog 9 Jun 2015 03:17:38 -0000 1.10
107 +++ ChangeLog 26 Jun 2015 19:24:29 -0000 1.11
108 @@ -1,6 +1,9 @@
109 # ChangeLog for dev-go/go-tools
110 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
111 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.10 2015/06/09 03:17:38 zmedico Exp $
112 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-tools/ChangeLog,v 1.11 2015/06/26 19:24:29 williamh Exp $
113 +
114 + 26 Jun 2015; William Hubbs <williamh@g.o> go-tools-9999.ebuild:
115 + Make live ebuild copyable as future snapshots
116
117 *go-tools-1.4.2_p20150606 (09 Jun 2015)