summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-06-09 03:43:18 +0000
committerZac Medico <zmedico@gentoo.org>2015-06-09 03:43:18 +0000
commita3da3455dd4ba98f0e155b4120b949af1bf3b18f (patch)
treef6a6bdde676c119592fd84d889c4e875648d5ee2 /dev-go
parentrevbump, fixing bug #551522 (diff)
downloadhistorical-a3da3455dd4ba98f0e155b4120b949af1bf3b18f.tar.gz
historical-a3da3455dd4ba98f0e155b4120b949af1bf3b18f.tar.bz2
historical-a3da3455dd4ba98f0e155b4120b949af1bf3b18f.zip
Add 1.4.2_p20150527 snapshot with timestamp preservation for bug 551486.
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0xFDE8EF85AE5719A3
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-oauth2/ChangeLog8
-rw-r--r--dev-go/go-oauth2/Manifest26
-rw-r--r--dev-go/go-oauth2/go-oauth2-1.4.2_p20150527.ebuild58
3 files changed, 73 insertions, 19 deletions
diff --git a/dev-go/go-oauth2/ChangeLog b/dev-go/go-oauth2/ChangeLog
index 7024cff8e2dd..225444415dc7 100644
--- a/dev-go/go-oauth2/ChangeLog
+++ b/dev-go/go-oauth2/ChangeLog
@@ -1,6 +1,12 @@
# 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.2 2015/06/07 08:28:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-oauth2/ChangeLog,v 1.3 2015/06/09 03:43:11 zmedico Exp $
+
+*go-oauth2-1.4.2_p20150527 (09 Jun 2015)
+
+ 09 Jun 2015; Zac Medico <zmedico@gentoo.org>
+ +go-oauth2-1.4.2_p20150527.ebuild:
+ Add 1.4.2_p20150527 snapshot with timestamp preservation for bug 551486.
07 Jun 2015; Justin Lecher <jlec@gentoo.org> metadata.xml:
Add github to remote-id in metadata.xml
diff --git a/dev-go/go-oauth2/Manifest b/dev-go/go-oauth2/Manifest
index 886d92e13cd1..cd3b862d1e94 100644
--- a/dev-go/go-oauth2/Manifest
+++ b/dev-go/go-oauth2/Manifest
@@ -1,27 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+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
+DIST go-oauth2-1.4.2_p20150527.tar.gz 32027 SHA256 eb1d48e29653b0bc68e41ef35df0d421e586e666ce52d7d504a6f2fb89807ce1 SHA512 9070bfed2e280286dbaeb360e77a9b2decf3e272e945ce4099875f7fd2e378b54082f8a9b4a2b7289d6984be4c66110d34b814cbc8e2850fd44122d484258fd4 WHIRLPOOL 09f19f1111f0a1d40ccff541c5cf4ad968264c91e9f6a3c18d23d441520002896b99f8f9979922dd4245edd9b46f89c46c94144b516c8424de43ccae8d462598
EBUILD go-oauth2-1.4.2_p20150511.ebuild 1919 SHA256 64d835c357ff1573df22388ffc327149a3fc80ff5d3370815f07793d611c1f6e SHA512 9c718fc0a482ebdace2a50e187b26f12ed90fa72b30ad48c40709468b52fdcc6bac5cb158df48345d14d53d4d277f266efa49bc63459f838e4718ad0d2f503b1 WHIRLPOOL ea9690b9115fd498144314b5c2b4f87020103d6e273e316d55a9c348d8af02f68b2ccbf053bcf04823ec9f778a93fbfa3bd7f8f42507bb359d5768e9497bd4e5
-MISC ChangeLog 465 SHA256 84060bc03bb40cf725d201bb7fa1195d95110462f81522222cc2b90e2eb7664d SHA512 c297b74904f2db818c5d91ddbcf41c86bace12a537a3c8781e2b073d42f5b972c3cb206af8a687fdf95ecf62b4e48351f2b6dde742788d731c9c3520bf76dbcc WHIRLPOOL 186bcfd97e4a8409fbe7d07ee6c07b556bde1bbab6ed960e6c3484dbfc56eba512b43fa3c494768d714c2756c5e404a13688cd3025539222f7fbebdabc158916
+EBUILD go-oauth2-1.4.2_p20150527.ebuild 1993 SHA256 f8df38a974af364fcc04de548999c7e98eb838cee9d45f45fc92abed18c1cfae SHA512 6c033f8c6ee4d00b4939b560ad33f405812ccb231da932dbf7552991b76f226b0710428bfb57ba4608cabb1226f5e56aa4fef27d8ce1ddb0c482d4bca1691cb1 WHIRLPOOL b51993f7adaee206ea2f0d32f60051c8aa1271ab01b1c520c1c33ad9b6ab72c971dba2ddc2cc5f925f34e189f5af71a2c3c3b43a3133b8e19cbbbf4bbacd27b7
+MISC ChangeLog 670 SHA256 1a8d5fd50bbb70c9dbeba6df3a97c5b5b3356aba3ad60e695cd04681e92535aa SHA512 7ddadf78b0c4611a20a004db05dce9083a7e7b1d7257c592c540d310470f0fec93d8755c5fc70479db3e5b93b68f472c314d56a6be30bf0e389f55dcd7239efd WHIRLPOOL 0c23a60754e78101355706401d2938900d8fecfd7b2bd4ff496bb344d22f1b94588c576247f94c1344b3f8372610ad7406d87eb22145d4a098622efcf6b5e2c7
MISC metadata.xml 310 SHA256 e5b5d7641881b427bafe28de33692bea7795f2437a94166fb84bf4814fe1347d SHA512 7d85a3a39f3d15746f63b55a5e957525bef479b9ebe6c396d47539e9164367a041c40a40a56bf6a9281012538aeee5e5102ccebc4a012950a84b2c8d92f98fd7 WHIRLPOOL 6fa1989b1cebd12e2d4b834a329d2befc8c58bac407fe6644a0240839672939d1766843267dd2f774e9554a71af2fae23f6c9a6f84a291d3ed2171ec6f1fa1a6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0
+Version: GnuPG v2
-iQJ8BAEBCgBmBQJVdACSXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF
-OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiaKoQAKbWS92wmJ+8TFl4uN5fwd6i
-/Nf3iLE++QABfZ6eKUzChnwGMLPikTZwgwsfx3CzRf1t+ng1NCYtx1xaVF1NowzN
-rq7nKtHfz2kzwl/3kbhPnNm/8YTG/+hbzTYIFiSCf2USTG2ogYqCDpD+bIWubWFN
-4RgZdJSMU5mwmNP99ylowKQgVMRjbNuRom09Mjg18z5l63Pz4HSF9chOsdoSdQYi
-RoOH7/1eh0B6Jmbamo5riGKPK8j876cQGI9SEmzqaVBUn+IGRtpTREEWtwAk5jWK
-h7lV8jUOFSI6M9/lL5B6VA6CR2KeEjHeKJDGtnFoEwhFb3x2tbOeGveNVFmb88uU
-yBkLvEywOL3YeY9XjpbVLJ1JHrK0gS8lUgxswm8CjxVzHGBNuu6UF9qsFGz9gFVj
-jiVQD8lYA2W+vhM/IZeXh/7tQGMXTOd/QkiM2eiVGgSkxJ7ibLPS2sC3p9h191BS
-2bGKAmeo84ZNc9wYh6zcZ1aV2fXI1nStHjY4MzneVNMx/B9xiU5gB2/oNXWhFong
-5NR63kx/XUCWmidD+WtzkEnRDvNyBG0gOaV1TFhNLvhLDg8DpKX6rhInZZtYhdTw
-SCFyn+2EyxA9VBNs4yiB65sgkgKTIWKfqf6cHj3OCzGxRloVd7GxCbznc/dfu4zh
-aS82kB6QaQ1KZ44QNOev
-=T4eY
+iEYEAREIAAYFAlV2YNEACgkQ/ejvha5XGaMDlwCfXnXp0hpdcvsCGQMI2r+ckj1T
+EhAAn33rkLXwlCshUYl+7ZNc+dkJJF3u
+=FvoH
-----END PGP SIGNATURE-----
diff --git a/dev-go/go-oauth2/go-oauth2-1.4.2_p20150527.ebuild b/dev-go/go-oauth2/go-oauth2-1.4.2_p20150527.ebuild
new file mode 100644
index 000000000000..4754596f57a6
--- /dev/null
+++ b/dev-go/go-oauth2/go-oauth2-1.4.2_p20150527.ebuild
@@ -0,0 +1,58 @@
+# 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_p20150527.ebuild,v 1.1 2015/06/09 03:43:11 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="b5adcc2dcdf009d0391547edc6ecbaff889f5bb9"
+SRC_URI="https://github.com/golang/${MY_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
+ insopts -m0644 -p # preserve timestamps for bug 551486
+ doins -r "${WORKDIR}"/{pkg,src}
+}