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-net: go-net-9999.ebuild ChangeLog
Date: Thu, 25 Jun 2015 19:24:20
Message-Id: 20150625192407.CEBA7A54@oystercatcher.gentoo.org
1 williamh 15/06/25 19:24:07
2
3 Modified: go-net-9999.ebuild ChangeLog
4 Log:
5 Convert live ebuild to the new eclasses
6
7 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
8
9 Revision Changes Path
10 1.5 dev-go/go-net/go-net-9999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-9999.ebuild?r1=1.4&r2=1.5
15
16 Index: go-net-9999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- go-net-9999.ebuild 8 Jun 2015 19:34:50 -0000 1.4
23 +++ go-net-9999.ebuild 25 Jun 2015 19:24:07 -0000 1.5
24 @@ -1,50 +1,25 @@
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-net/go-net-9999.ebuild,v 1.4 2015/06/08 19:34:50 zmedico Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.5 2015/06/25 19:24:07 williamh Exp $
29
30 EAPI=5
31 -inherit git-r3
32 +inherit golang-build golang-vcs
33 +EGO_PN=golang.org/x/net/...
34 +EGO_SRC=golang.org/x/net
35
36 -KEYWORDS=""
37 DESCRIPTION="Go supplementary network libraries"
38 -GO_PN=golang.org/x/${PN##*-}
39 -HOMEPAGE="https://godoc.org/${GO_PN}"
40 -EGIT_REPO_URI="https://go.googlesource.com/${PN##*-}"
41 +HOMEPAGE="https://godoc.org/golang.org/x/net"
42 LICENSE="BSD"
43 SLOT="0"
44 IUSE=""
45 -DEPEND=">=dev-lang/go-1.4
46 - dev-go/go-text"
47 +DEPEND="dev-go/go-text"
48 RDEPEND=""
49 -S="${WORKDIR}/src/${GO_PN}"
50 -EGIT_CHECKOUT_DIR="${S}"
51 -STRIP_MASK="*.a"
52
53 src_prepare() {
54 # disable broken tests
55 - sed -e 's:TestReadProppatch(:_\0:' -i webdav/xml_test.go || die
56 + sed -e 's:TestReadProppatch(:_\0:' \
57 + -i src/${EGO_SRC}/webdav/xml_test.go || die
58 sed -e 's:TestPingGoogle(:_\0:' \
59 -e 's:TestNonPrivilegedPing(:_\0:' \
60 - -i icmp/ping_test.go || die
61 -}
62 -
63 -src_compile() {
64 - # Create a writable GOROOT in order to avoid sandbox violations.
65 - GOROOT="${WORKDIR}/goroot"
66 - cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
67 - rm -rf "${GOROOT}/src/${GO_PN}" \
68 - "${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die
69 - GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
70 -}
71 -
72 -src_test() {
73 - GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
74 - go test -x -v ${GO_PN}/... || die $?
75 -}
76 -
77 -src_install() {
78 - insinto /usr/lib/go
79 - find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
80 - insopts -m0644 -p # preserve timestamps for bug 551486
81 - doins -r "${WORKDIR}"/{pkg,src}
82 + -i src/${EGO_SRC}/icmp/ping_test.go || die
83 }
84
85
86
87 1.8 dev-go/go-net/ChangeLog
88
89 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.8&view=markup
90 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.8&content-type=text/plain
91 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?r1=1.7&r2=1.8
92
93 Index: ChangeLog
94 ===================================================================
95 RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v
96 retrieving revision 1.7
97 retrieving revision 1.8
98 diff -u -r1.7 -r1.8
99 --- ChangeLog 9 Jun 2015 06:52:46 -0000 1.7
100 +++ ChangeLog 25 Jun 2015 19:24:07 -0000 1.8
101 @@ -1,6 +1,9 @@
102 # ChangeLog for dev-go/go-net
103 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
104 -# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.7 2015/06/09 06:52:46 zmedico Exp $
105 +# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.8 2015/06/25 19:24:07 williamh Exp $
106 +
107 + 25 Jun 2015; William Hubbs <williamh@g.o> go-net-9999.ebuild:
108 + Convert live ebuild to the new eclasses
109
110 09 Jun 2015; Zac Medico <zmedico@g.o> go-net-1.4.2_p20150604.ebuild:
111 Disable TestNonPrivilegedPing for 1.4.2_p20150604.