public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-go/go-net: go-net-0_pre20150604.ebuild ChangeLog go-net-1.4.2_p20150520.ebuild go-net-1.4.2_p20150604.ebuild
@ 2015-07-01 20:24 William Hubbs (williamh)
  0 siblings, 0 replies; only message in thread
From: William Hubbs (williamh) @ 2015-07-01 20:24 UTC (permalink / raw
  To: gentoo-commits

williamh    15/07/01 20:24:19

  Modified:             ChangeLog
  Added:                go-net-0_pre20150604.ebuild
  Removed:              go-net-1.4.2_p20150520.ebuild
                        go-net-1.4.2_p20150604.ebuild
  Log:
  move latest snapshot to a pre-release of version 0
  
  (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)

Revision  Changes    Path
1.10                 dev-go/go-net/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	29 Jun 2015 03:48:53 -0000	1.9
+++ ChangeLog	1 Jul 2015 20:24:19 -0000	1.10
@@ -1,6 +1,12 @@
 # ChangeLog for dev-go/go-net
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.9 2015/06/29 03:48:53 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.10 2015/07/01 20:24:19 williamh Exp $
+
+*go-net-0_pre20150604 (01 Jul 2015)
+
+  01 Jul 2015; William Hubbs <williamh@gentoo.org> +go-net-0_pre20150604.ebuild,
+  -go-net-1.4.2_p20150520.ebuild, -go-net-1.4.2_p20150604.ebuild:
+  move latest snapshot to a pre-release of version 0
 
   29 Jun 2015; William Hubbs <williamh@gentoo.org> go-net-9999.ebuild:
   Make live ebuild copyable



1.1                  dev-go/go-net/go-net-0_pre20150604.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-0_pre20150604.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-go/go-net/go-net-0_pre20150604.ebuild?rev=1.1&content-type=text/plain

Index: go-net-0_pre20150604.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-0_pre20150604.ebuild,v 1.1 2015/07/01 20:24:19 williamh Exp $

EAPI=5

KEYWORDS="~amd64"
DESCRIPTION="Go supplementary network libraries"
MY_PN=${PN##*-}
GO_PN=golang.org/x/${MY_PN}
HOMEPAGE="https://godoc.org/${GO_PN}"
EGIT_COMMIT="dfe268fd2bb5c793f4c083803609fce9806c6f80"
SRC_URI="https://github.com/golang/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=">=dev-lang/go-1.4
	dev-go/go-text"
RDEPEND=""
S="${WORKDIR}/src/${GO_PN}"
EGIT_CHECKOUT_DIR="${S}"
STRIP_MASK="*.a"

src_unpack() {
	default
	mkdir -p src/${GO_PN%/*} || die
	mv ${MY_PN}-${EGIT_COMMIT} src/${GO_PN} || die
}

src_prepare() {
	# disable broken tests
	sed -e 's:TestReadProppatch(:_\0:' -i webdav/xml_test.go || die
	sed -e 's:TestPingGoogle(:_\0:' \
		-e 's:TestNonPrivilegedPing(:_\0:' \
		-i icmp/ping_test.go || die
}

src_compile() {
	# Create a writable GOROOT in order to avoid sandbox violations.
	GOROOT="${WORKDIR}/goroot"
	cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
	rm -rf "${GOROOT}/src/${GO_PN}" \
		"${GOROOT}/pkg/linux_${ARCH}/${GO_PN}" || die
	GOROOT="${GOROOT}" GOPATH=${WORKDIR} go install -v -x -work ${GO_PN}/... || die
}

src_test() {
	GOROOT="${GOROOT}" GOPATH=${WORKDIR} \
		go test -x -v ${GO_PN}/... || die $?
}

src_install() {
	insinto /usr/lib/go
	find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
	insopts -m0644 -p # preserve timestamps for bug 551486
	doins -r "${WORKDIR}"/{pkg,src}
}





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-01 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-01 20:24 [gentoo-commits] gentoo-x86 commit in dev-go/go-net: go-net-0_pre20150604.ebuild ChangeLog go-net-1.4.2_p20150520.ebuild go-net-1.4.2_p20150604.ebuild William Hubbs (williamh)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox