summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-05-18 07:48:36 +0000
committerZac Medico <zmedico@gentoo.org>2015-05-18 07:48:36 +0000
commit96902079471c4700308501e605f831523010aa8c (patch)
tree8896fb602760f14cc5fe587655728be2ab47f0c9 /dev-go
parentFix broken Manifest. (diff)
downloadhistorical-96902079471c4700308501e605f831523010aa8c.tar.gz
historical-96902079471c4700308501e605f831523010aa8c.tar.bz2
historical-96902079471c4700308501e605f831523010aa8c.zip
Add go-text.
Package-Manager: portage-2.2.19/cvs/Linux x86_64 Manifest-Sign-Key: 0xFDE8EF85AE5719A3
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-text/ChangeLog9
-rw-r--r--dev-go/go-text/Manifest13
-rw-r--r--dev-go/go-text/go-text-9999.ebuild37
-rw-r--r--dev-go/go-text/metadata.xml7
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-go/go-text/ChangeLog b/dev-go/go-text/ChangeLog
new file mode 100644
index 000000000000..f021fe1639d6
--- /dev/null
+++ b/dev-go/go-text/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-go/go-text
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/ChangeLog,v 1.1 2015/05/18 07:48:30 zmedico Exp $
+
+*go-text-9999 (18 May 2015)
+
+ 18 May 2015; Zac Medico <zmedico@gentoo.org> +go-text-9999.ebuild,
+ +metadata.xml:
+ Add go-text.
diff --git a/dev-go/go-text/Manifest b/dev-go/go-text/Manifest
new file mode 100644
index 000000000000..2683b459efc7
--- /dev/null
+++ b/dev-go/go-text/Manifest
@@ -0,0 +1,13 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD go-text-9999.ebuild 1080 SHA256 727ebc17963d5964b296eddeee8551f4eeabba67b7dc060ae70ac3c2bc96db89 SHA512 de29c7eec77e514af6167d9394415d1fcd50e59b03160fe9df92b344a687222a435cb9cf09c48f5268e4b0ebda9061e61ae31d1f0a3f8fe3841e3a209422df3b WHIRLPOOL 35844a2f02ed6e1f5d0d7bde19e5e38f1a81db1c902f46810e25f29eb538066a86536d92e0b09341a2348b20c36029913a28acb32ac3fc037298114c1078b4fa
+MISC ChangeLog 332 SHA256 6fa431b08f753786c7fdc0a30e58f2a0145f212d08a5c11bcd0ab6e965648ce7 SHA512 df76e1f1e55c8333cdeaf8a17602e3118ae9146c5c8aae0df2c45f0e34a6c62efe5884d192f88f201c8e630541aa5eda60c25a8637a4b6ee1a9608d89100866d WHIRLPOOL 85c1397c38337cc51390e51a0d996d8c8eee9ccb976586e39fcefbc829dc3b3a352de0e6e1c2aeb98503006882d4b7b7f9056e37cd41334476cf64b0dc2f43a6
+MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlVZmU8ACgkQ/ejvha5XGaPkqgCg785g/KjomPF9WvZistUYvkIY
+E+QAmQHs5vIva3axF0WdcxuB61KAc0gw
+=FcyK
+-----END PGP SIGNATURE-----
diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild
new file mode 100644
index 000000000000..3674dba9699f
--- /dev/null
+++ b/dev-go/go-text/go-text-9999.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-text/go-text-9999.ebuild,v 1.1 2015/05/18 07:48:30 zmedico Exp $
+
+EAPI=5
+inherit git-r3
+
+KEYWORDS=""
+DESCRIPTION="Go text processing support"
+GO_PN=golang.org/x/${PN##*-}
+HOMEPAGE="https://godoc.org/${GO_PN}"
+EGIT_REPO_URI="https://go.googlesource.com/${PN##*-}"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND=">=dev-lang/go-1.4"
+RDEPEND=""
+S="${WORKDIR}/src/${GO_PN}"
+EGIT_CHECKOUT_DIR="${S}"
+STRIP_MASK="*.a"
+
+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_install() {
+ exeinto /usr/lib/go/bin
+ doexe "${WORKDIR}"/bin/*
+ insinto /usr/lib/go
+ find "${WORKDIR}"/{pkg,src} -name '.git*' -exec rm -rf {} \; 2>/dev/null
+ doins -r "${WORKDIR}"/{pkg,src}
+}
diff --git a/dev-go/go-text/metadata.xml b/dev-go/go-text/metadata.xml
new file mode 100644
index 000000000000..059d713e41ed
--- /dev/null
+++ b/dev-go/go-text/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>