summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-05-25 07:04:57 +0000
committerZac Medico <zmedico@gentoo.org>2015-05-25 07:04:57 +0000
commit637f594deffb83f0fcd77aa7c3b377cbf4f7a47a (patch)
tree2921aa619d969a6bf4928d200488dd90a4221352 /dev-go/go-oauth2
parentDo not delete native ld.so.conf.d fragment when uninstalling cross binutils #... (diff)
downloadhistorical-637f594deffb83f0fcd77aa7c3b377cbf4f7a47a.tar.gz
historical-637f594deffb83f0fcd77aa7c3b377cbf4f7a47a.tar.bz2
historical-637f594deffb83f0fcd77aa7c3b377cbf4f7a47a.zip
Add go-oauth2.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xFDE8EF85AE5719A3
Diffstat (limited to 'dev-go/go-oauth2')
-rw-r--r--dev-go/go-oauth2/ChangeLog9
-rw-r--r--dev-go/go-oauth2/Manifest15
-rw-r--r--dev-go/go-oauth2/go-oauth2-1.4.2_p20150511.ebuild57
-rw-r--r--dev-go/go-oauth2/metadata.xml7
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-go/go-oauth2/ChangeLog b/dev-go/go-oauth2/ChangeLog
new file mode 100644
index 000000000000..159a648a398d
--- /dev/null
+++ b/dev-go/go-oauth2/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-go/go-oauth2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-oauth2/ChangeLog,v 1.1 2015/05/25 07:04:51 zmedico Exp $
+
+*go-oauth2-1.4.2_p20150511 (25 May 2015)
+
+ 25 May 2015; Zac Medico <zmedico@gentoo.org>
+ +go-oauth2-1.4.2_p20150511.ebuild, +metadata.xml:
+ Add go-oauth2.
diff --git a/dev-go/go-oauth2/Manifest b/dev-go/go-oauth2/Manifest
new file mode 100644
index 000000000000..73fdfa7e475b
--- /dev/null
+++ b/dev-go/go-oauth2/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST gcloud-golang-629ed086d82ad5d0ac3668e309b8785aaf54735b.tar.gz 144387 SHA256 bee11c31bc0f8914b4b72463033eb7432f28cec490673f4a12618b64868ee1f5 SHA512 33bdb3a9b3379bdd2502ade3ee9a41601effbd3f4bae88a7a7b4931866b73b336846b50994b254cac85571693566e12f4a23a0b8a0428d6aef1b301d468ef417 WHIRLPOOL 50426185042fe8b754b2db30b11fce588a189cb61e3e9781409edde6a5deb15a109ed1bf78e5831414762f497d3a6dcd98f2291f9c93b283059aa5b453ac9121
+DIST go-oauth2-1.4.2_p20150511.tar.gz 31804 SHA256 db262d679331282b056bb19a7552405c34a7c8504597e822058ceb9d61aefdd8 SHA512 a8357f3b7d7f8b8c54044f28fe4b11f7558b82914a6ac91b7d2044f6da3cadddb2c4ea0b7466e71e5b51dd010dd342eb1077cf050351f6fd2527c39c1cd89134 WHIRLPOOL 86de0719ffb854d3fc16ed48f1802016447d64cd6294a72130c133bdf9d722a280b7c00972d49e27f18a2655056acfa0a36b4a80015c64f19d8088084dc3da50
+EBUILD go-oauth2-1.4.2_p20150511.ebuild 1919 SHA256 64d835c357ff1573df22388ffc327149a3fc80ff5d3370815f07793d611c1f6e SHA512 9c718fc0a482ebdace2a50e187b26f12ed90fa72b30ad48c40709468b52fdcc6bac5cb158df48345d14d53d4d277f266efa49bc63459f838e4718ad0d2f503b1 WHIRLPOOL ea9690b9115fd498144314b5c2b4f87020103d6e273e316d55a9c348d8af02f68b2ccbf053bcf04823ec9f778a93fbfa3bd7f8f42507bb359d5768e9497bd4e5
+MISC ChangeLog 364 SHA256 3e492930925a2bada437e200cce983c8c7dc795e97f83fae37d879f26bb687b7 SHA512 579e36d94d6ce0dd7e234ba0d0f2820abec84d8dc3bc486cd0f8345674f96a2414f779a6bac60aa07d4765013ce19f18634ed8a39189401fe4f85bc1c2034b2a WHIRLPOOL 5be66111905612fffbc63840f695f3d446562499afe188ecbc315a252a27a6d6995680b68a8ae44406c4465062b04aa7e65ba09a132e72519cf7c08aa71a82c4
+MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlViyZQACgkQ/ejvha5XGaNuSACbB7tKquzRFbk5OM+P958BTMlk
+NHgAn0/eCm7oKxLV3avLh85fG5qhQ1Le
+=z4l9
+-----END PGP SIGNATURE-----
diff --git a/dev-go/go-oauth2/go-oauth2-1.4.2_p20150511.ebuild b/dev-go/go-oauth2/go-oauth2-1.4.2_p20150511.ebuild
new file mode 100644
index 000000000000..b84c9c97fd96
--- /dev/null
+++ b/dev-go/go-oauth2/go-oauth2-1.4.2_p20150511.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-oauth2/go-oauth2-1.4.2_p20150511.ebuild,v 1.1 2015/05/25 07:04:51 zmedico Exp $
+
+EAPI=5
+
+KEYWORDS="~amd64"
+DESCRIPTION="Go client implementation for OAuth 2.0 spec"
+MY_PN=${PN##*-}
+GO_PN=golang.org/x/${MY_PN}
+HOMEPAGE="https://godoc.org/${GO_PN}"
+EGIT_COMMIT="f98d0160877ab4712b906626425ed8b0b320907c"
+SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+https://github.com/GoogleCloudPlatform/gcloud-golang/archive/629ed086d82ad5d0ac3668e309b8785aaf54735b.tar.gz -> gcloud-golang-629ed086d82ad5d0ac3668e309b8785aaf54735b.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND=">=dev-lang/go-1.4
+ dev-go/go-net"
+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
+
+ # Create a writable GOROOT in order to avoid sandbox violations.
+ export GOROOT="${WORKDIR}/goroot" GOPATH=${WORKDIR}
+ cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
+ rm -rf "${GOROOT}/src/${GO_PN}" || die
+
+ mkdir -p "${GOROOT}/src/google.golang.org" || die
+ rm -rf "${GOROOT}/src/google.golang.org"/* || die
+ rm -rf "${GOROOT}/pkg/${KERNEL}_${ARCH}/google.golang.org" || die
+ mv gcloud-golang-629ed086d82ad5d0ac3668e309b8785aaf54735b "${GOROOT}/src/google.golang.org/cloud" || die
+}
+
+src_compile() {
+ go install -v -x -work google.golang.org/cloud/compute/metadata || die
+ go install -v -x -work ${GO_PN}/... || die
+}
+
+src_test() {
+ # google/example_test.go imports appengine, introducing a circular dep
+ mv google/example_test.go{,_}
+ go test -x -v ${GO_PN}/... || die $?
+ mv google/example_test.go{_,}
+}
+
+src_install() {
+ 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-oauth2/metadata.xml b/dev-go/go-oauth2/metadata.xml
new file mode 100644
index 000000000000..059d713e41ed
--- /dev/null
+++ b/dev-go/go-oauth2/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>