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-sys: go-sys-9999.ebuild ChangeLog
Date: Sun, 28 Jun 2015 23:19:25
Message-Id: 20150628231915.B56A073F@oystercatcher.gentoo.org
1 williamh 15/06/28 23:19:15
2
3 Modified: go-sys-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.4 dev-go/go-sys/go-sys-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild?r1=1.3&r2=1.4
15
16 Index: go-sys-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- go-sys-9999.ebuild 25 Jun 2015 17:56:49 -0000 1.3
23 +++ go-sys-9999.ebuild 28 Jun 2015 23:19:15 -0000 1.4
24 @@ -1,12 +1,20 @@
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-sys/go-sys-9999.ebuild,v 1.3 2015/06/25 17:56:49 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-sys/go-sys-9999.ebuild,v 1.4 2015/06/28 23:19:15 williamh Exp $
29
30 EAPI=5
31 -inherit golang-build golang-vcs
32 EGO_PN=golang.org/x/sys/...
33 EGO_SRC=golang.org/x/sys
34
35 +if [[ ${PV} = *9999* ]]; then
36 + inherit golang-vcs
37 +else
38 + KEYWORDS="~amd64"
39 +EGIT_COMMIT="58e109635f5d754f4b3a8a0172db65a52fcab866"
40 + SRC_URI="https://github.com/golang/sys/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
41 +fi
42 +inherit golang-build
43 +
44 DESCRIPTION="Go packages for low-level interaction with the operating system"
45 HOMEPAGE="https://godoc.org/golang.org/x/sys"
46 LICENSE="BSD"
47 @@ -14,3 +22,32 @@
48 IUSE=""
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
82
83 1.4 dev-go/go-sys/ChangeLog
84
85 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/ChangeLog?rev=1.4&view=markup
86 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/ChangeLog?rev=1.4&content-type=text/plain
87 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-sys/ChangeLog?r1=1.3&r2=1.4
88
89 Index: ChangeLog
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-sys/ChangeLog,v
92 retrieving revision 1.3
93 retrieving revision 1.4
94 diff -u -r1.3 -r1.4
95 --- ChangeLog 9 Jun 2015 03:28:08 -0000 1.3
96 +++ ChangeLog 28 Jun 2015 23:19:15 -0000 1.4
97 @@ -1,6 +1,9 @@
98 # ChangeLog for dev-go/go-sys
99 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
100 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-sys/ChangeLog,v 1.3 2015/06/09 03:28:08 zmedico Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-sys/ChangeLog,v 1.4 2015/06/28 23:19:15 williamh Exp $
102 +
103 + 28 Jun 2015; William Hubbs <williamh@g.o> go-sys-9999.ebuild:
104 + Make live ebuild copyable
105
106 *go-sys-1.4.2_p20150518-r1 (09 Jun 2015)