zmedico     15/06/08 19:34:50

  Modified:             go-net-9999.ebuild ChangeLog
  Added:                go-net-1.4.2_p20150604.ebuild
  Log:
  Add 1.4.2_p20150604 snapshot with timestamp preservation for bug 551486.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
FDE8EF85AE5719A3)

Revision  Changes    Path
1.4                  dev-go/go-net/go-net-9999.ebuild

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

Index: go-net-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- go-net-9999.ebuild  24 May 2015 08:52:41 -0000      1.3
+++ go-net-9999.ebuild  8 Jun 2015 19:34:50 -0000       1.4
@@ -1,6 +1,6 @@
 # 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-9999.ebuild,v 1.3 
2015/05/24 08:52:41 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/go-net-9999.ebuild,v 1.4 
2015/06/08 19:34:50 zmedico Exp $
 
 EAPI=5
 inherit git-r3
@@ -45,5 +45,6 @@
 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}
 }



1.6                  dev-go/go-net/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog   24 May 2015 08:52:41 -0000      1.5
+++ ChangeLog   8 Jun 2015 19:34:50 -0000       1.6
@@ -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.5 2015/05/24 
08:52:41 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-net/ChangeLog,v 1.6 2015/06/08 
19:34:50 zmedico Exp $
+
+*go-net-1.4.2_p20150604 (08 Jun 2015)
+
+  08 Jun 2015; Zac Medico <[email protected]> +go-net-1.4.2_p20150604.ebuild,
+  go-net-9999.ebuild:
+  Add 1.4.2_p20150604 snapshot with timestamp preservation for bug 551486.
 
   24 May 2015; Zac Medico <[email protected]> go-net-1.4.2_p20150520.ebuild,
   go-net-9999.ebuild:



1.1                  dev-go/go-net/go-net-1.4.2_p20150604.ebuild

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

Index: go-net-1.4.2_p20150604.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-1.4.2_p20150604.ebuild,v 1.1 
2015/06/08 19:34:50 zmedico 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:' -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}
}




Reply via email to