zmedico     14/10/15 23:28:17

  Modified:             ChangeLog
  Added:                go-fuse-0_p20140812.ebuild
  Log:
  Add snapshot ebuild, including workaround for bug #503324.
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key 0xAE5719A3)

Revision  Changes    Path
1.6                  dev-libs/go-fuse/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/ChangeLog,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ChangeLog   28 Jun 2014 17:53:37 -0000      1.5
+++ ChangeLog   15 Oct 2014 23:28:17 -0000      1.6
@@ -1,6 +1,11 @@
 # ChangeLog for dev-libs/go-fuse
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/ChangeLog,v 1.5 2014/06/28 
17:53:37 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/go-fuse/ChangeLog,v 1.6 2014/10/15 
23:28:17 zmedico Exp $
+
+*go-fuse-0_p20140812 (15 Oct 2014)
+
+  15 Oct 2014; Zac Medico <[email protected]> +go-fuse-0_p20140812.ebuild:
+  Add snapshot ebuild, including workaround for bug #503324.
 
   28 Jun 2014; Rick Farina <[email protected]> go-fuse-9999.ebuild:
   fix for bug #515548, depend on go-1.3



1.1                  dev-libs/go-fuse/go-fuse-0_p20140812.ebuild

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

Index: go-fuse-0_p20140812.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/dev-libs/go-fuse/go-fuse-0_p20140812.ebuild,v 1.1 
2014/10/15 23:28:17 zmedico Exp $

EAPI=5

KEYWORDS="~amd64"
RESTRICT="strip"
DESCRIPTION="FUSE bindings for Go"
GO_PN=github.com/hanwen/${PN}
HOMEPAGE="https://${GO_PN}";
EGIT_COMMIT="8c85ded140ac1889372a0e22d8d21e3d10a303bd"
SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.zip -> ${P}.zip"
LICENSE="BSD"
SLOT="0"
IUSE=""
DEPEND=">=dev-lang/go-1.3"
RDEPEND=""
S=${WORKDIR}

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

src_prepare() {
        sed -e "s:\(go \${target}\)\(.*\)$:\\1 -x \\2:" \
                -e 's:^for target in "clean" "install" ; do$:for target in 
"install" ; do:' \
                -e '17,26d' \
                src/${GO_PN}/all.bash > src/${GO_PN}/all.bash.patched || die
}

src_compile() {
        # Create a filtered GOROOT tree out of symlinks,
        # excluding go-fuse, for bug #503324.
        cp -sR /usr/lib/go goroot || die
        rm -rf goroot/src/pkg/${GO_PN} || die
        rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die
        CGO_CFLAGS="${CFLAGS}" GOROOT="${WORKDIR}/goroot" GOPATH="${WORKDIR}" \
                bash src/${GO_PN}/all.bash.patched || die
}

src_install() {
        insinto /usr/lib/go
        doins -r pkg
        insinto /usr/lib/go/src/pkg
        rm src/${GO_PN}/all.bash.patched || die
        find src/${GO_PN} -name .gitignore -delete
        doins -r src/*
}




Reply via email to