/[gentoo-x86]/dev-go/go-net/go-net-9999.ebuild
Gentoo

Contents of /dev-go/go-net/go-net-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed Aug 5 16:46:10 2015 UTC (5 years, 4 months ago) by williamh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -30 lines
add support for golang-vcs-snapshot to live ebuild

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.8 2015/07/06 21:40:30 williamh Exp $
4
5 EAPI=5
6 EGO_PN=golang.org/x/net/...
7 EGO_SRC=golang.org/x/net
8
9 if [[ ${PV} = *9999* ]]; then
10 inherit golang-vcs
11 else
12 KEYWORDS="~amd64"
13 EGIT_COMMIT="dfe268fd2bb5c793f4c083803609fce9806c6f80"
14 SRC_URI="https://github.com/golang/net/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
15 inherit golang-vcs-snapshot
16 fi
17 inherit golang-build
18
19 DESCRIPTION="Go supplementary network libraries"
20 HOMEPAGE="https://godoc.org/golang.org/x/net"
21 LICENSE="BSD"
22 SLOT="0/${PV}"
23 IUSE=""
24 DEPEND="dev-go/go-text:="
25 RDEPEND=""
26
27 src_prepare() {
28 # disable broken tests
29 sed -e 's:TestReadProppatch(:_\0:' \
30 -i src/${EGO_SRC}/webdav/xml_test.go || die
31 sed -e 's:TestPingGoogle(:_\0:' \
32 -e 's:TestNonPrivilegedPing(:_\0:' \
33 -i src/${EGO_SRC}/icmp/ping_test.go || die
34 }

  ViewVC Help
Powered by ViewVC 1.1.20