summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-08-05 17:24:15 +0000
committerWilliam Hubbs <williamh@gentoo.org>2015-08-05 17:24:15 +0000
commit2bf1c7585f1714d47263247dfca62379e277db5c (patch)
tree95e46da941bb842bfeef53e5173eaacfda8d3b16 /dev-go
parentDrop pkg_config() as handling the multiple authentication mechanisms is no lo... (diff)
downloadhistorical-2bf1c7585f1714d47263247dfca62379e277db5c.tar.gz
historical-2bf1c7585f1714d47263247dfca62379e277db5c.tar.bz2
historical-2bf1c7585f1714d47263247dfca62379e277db5c.zip
add support for golang-vcs-snapshot to live ebuild
Package-Manager: portage-2.2.20/cvs/Linux x86_64 Manifest-Sign-Key: 0x30C46538
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-oauth2/ChangeLog5
-rw-r--r--dev-go/go-oauth2/Manifest10
-rw-r--r--dev-go/go-oauth2/go-oauth2-9999.ebuild32
-rw-r--r--dev-go/go-protobuf/ChangeLog5
-rw-r--r--dev-go/go-protobuf/Manifest14
-rw-r--r--dev-go/go-protobuf/go-protobuf-9999.ebuild33
6 files changed, 29 insertions, 70 deletions
diff --git a/dev-go/go-oauth2/ChangeLog b/dev-go/go-oauth2/ChangeLog
index 8a0cee50363d..db1e55203ecf 100644
--- a/dev-go/go-oauth2/ChangeLog
+++ b/dev-go/go-oauth2/ChangeLog
@@ -1,6 +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.10 2015/07/08 19:42:07 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-oauth2/ChangeLog,v 1.11 2015/08/05 17:19:04 williamh Exp $
+
+ 05 Aug 2015; William Hubbs <williamh@gentoo.org> go-oauth2-9999.ebuild:
+ add support for golang-vcs-snapshot to live ebuild
08 Jul 2015; William Hubbs <williamh@gentoo.org> go-oauth2-9999.ebuild:
Add slot dependency for go-net
diff --git a/dev-go/go-oauth2/Manifest b/dev-go/go-oauth2/Manifest
index 133c5341da17..3ca37ff3ad2a 100644
--- a/dev-go/go-oauth2/Manifest
+++ b/dev-go/go-oauth2/Manifest
@@ -4,13 +4,13 @@ Hash: SHA256
DIST gcloud-golang-629ed086d82ad5d0ac3668e309b8785aaf54735b.tar.gz 144387 SHA256 bee11c31bc0f8914b4b72463033eb7432f28cec490673f4a12618b64868ee1f5 SHA512 33bdb3a9b3379bdd2502ade3ee9a41601effbd3f4bae88a7a7b4931866b73b336846b50994b254cac85571693566e12f4a23a0b8a0428d6aef1b301d468ef417 WHIRLPOOL 50426185042fe8b754b2db30b11fce588a189cb61e3e9781409edde6a5deb15a109ed1bf78e5831414762f497d3a6dcd98f2291f9c93b283059aa5b453ac9121
DIST go-oauth2-0_pre20150527.tar.gz 32027 SHA256 eb1d48e29653b0bc68e41ef35df0d421e586e666ce52d7d504a6f2fb89807ce1 SHA512 9070bfed2e280286dbaeb360e77a9b2decf3e272e945ce4099875f7fd2e378b54082f8a9b4a2b7289d6984be4c66110d34b814cbc8e2850fd44122d484258fd4 WHIRLPOOL 09f19f1111f0a1d40ccff541c5cf4ad968264c91e9f6a3c18d23d441520002896b99f8f9979922dd4245edd9b46f89c46c94144b516c8424de43ccae8d462598
EBUILD go-oauth2-0_pre20150527.ebuild 1992 SHA256 84cca12630367216d8feb080d19180b5d5d4a0f504081eacfa1141711920fafe SHA512 e325a6f0e18b206f685e02dd0fd0f2be596a2236b88f749c063eab4772d5a8546101148a2b29e6b2af0da7088a98b24a259728335f65011a6e57a11491ac4af1 WHIRLPOOL ac252cb16daedcd12c9d51a85db197edc37f494a94fe7b15a35707f1c8e47e65e947ef3a47fdf672f4614cd1a63fbaf8d5fd24f887f895d25b293891472b1aae
-EBUILD go-oauth2-9999.ebuild 1344 SHA256 e0c70ad5126322b47b343c87cf5f9a0bd37a8f1ad624a7c48d86781d7958b6cc SHA512 d520b2a82c3dcdcfda98ae368d57f270fee6b0337ba13dbfc628cb1a9917aacd9a2b76e4c7225c3ee8ca98c4707d99d429d9aa488397ee44bfa073aa46ccb539 WHIRLPOOL 636fe0ce76d1d74f26b346001bece53dd941132ccd7cf48fbbc38d8371a378d6f248c7543f31c0c79324ca7e8ceb7b8667994db5b227f92bee9f5ec97cfb4586
-MISC ChangeLog 1736 SHA256 7d49f0526c8ce6c4f02c968222a7edb0c559c621bbcbd8994032cfb6c8412fee SHA512 f9c3174fb2a363574a1b3fb2e89e59bbc3d6eb7806b76903de4090554bb5685d33be46c49c296bacaceb22f5aebd2aa0ea9677153aa2a5d25a062b29c745fdb5 WHIRLPOOL 474503ae47b16e449bdfbcca743c296e53daa006512df826199160bdf9fde2160d11a2299fba0885f80bd7a368652ccae29da7c175910a19879f4d033ab1034a
+EBUILD go-oauth2-9999.ebuild 739 SHA256 21dd43b4f77acfdadaaea7a8b8d27b18ad15bcf2b50ff504b03061ca0b87be07 SHA512 124f47cf17b6b295ceacf5a77252c7317bbf264d1eaad5d7fa1c8a5db9ddf6a8e060167d18426eb536aca45361820906f165554b4eef8d4046757b1f005c4e15 WHIRLPOOL 3e8a8cd54fdd279db74e64168ca28c808507db134819aafb1899274fa0e78586cd6b2e56363f2a0edb2cd88c86654d4f8a377833561d6ce4124d44df184a428d
+MISC ChangeLog 1864 SHA256 bb83fa913141c09a858164ca2c7d8f9655a3147bd8d10662a4eede45997946c6 SHA512 50ee08456d2dd3915c51ed8f618ec0f4278760ed0e80d672bb6ccda99b33298862f73b92000cd882c5d9d63a0143d4785df3f81ec6357a5e12f25e5a0d391a9c WHIRLPOOL 7156917b3fbeea763769fa28fa6175d9e15dbc783bf67ca881b8001b98c9df57fd8d09958242a3bdb75b46d3357596ae5313c361ac5647614f2caa0cb02b0111
MISC metadata.xml 310 SHA256 e5b5d7641881b427bafe28de33692bea7795f2437a94166fb84bf4814fe1347d SHA512 7d85a3a39f3d15746f63b55a5e957525bef479b9ebe6c396d47539e9164367a041c40a40a56bf6a9281012538aeee5e5102ccebc4a012950a84b2c8d92f98fd7 WHIRLPOOL 6fa1989b1cebd12e2d4b834a329d2befc8c58bac407fe6644a0240839672939d1766843267dd2f774e9554a71af2fae23f6c9a6f84a291d3ed2171ec6f1fa1a6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlWdfRUACgkQblQW9DDEZTg5OQCfUFqUKm2gMcSejLktcD/H0Bh5
-MywAnRrmZEOL0qFmrdigbudu8vlvwiKF
-=RmXt
+iEYEAREIAAYFAlXCRZAACgkQblQW9DDEZTgq2gCgs2u/M48biY9EZLM2mjU92XwO
+X4UAn1QdOMfm+JHGKC6hRo4hE2E6JkEF
+=rkZx
-----END PGP SIGNATURE-----
diff --git a/dev-go/go-oauth2/go-oauth2-9999.ebuild b/dev-go/go-oauth2/go-oauth2-9999.ebuild
index e5843f5cad14..7d647c3e28ea 100644
--- a/dev-go/go-oauth2/go-oauth2-9999.ebuild
+++ b/dev-go/go-oauth2/go-oauth2-9999.ebuild
@@ -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-oauth2/go-oauth2-9999.ebuild,v 1.6 2015/07/08 19:42:07 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-oauth2/go-oauth2-9999.ebuild,v 1.7 2015/08/05 17:19:04 williamh Exp $
EAPI=5
EGO_PN=golang.org/x/oauth2
@@ -12,6 +12,7 @@ else
KEYWORDS="~amd64"
EGIT_COMMIT="b5adcc2dcdf009d0391547edc6ecbaff889f5bb9"
SRC_URI="https://github.com/golang/oauth2/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
fi
inherit golang-build
@@ -22,32 +23,3 @@ SLOT="0/${PV}"
IUSE=""
DEPEND="dev-go/go-net:="
RDEPEND=""
-
-if [[ ${PV} != *9999* ]]; then
-src_unpack() {
- local f
-
- for f in ${A}
- do
- case "${f}" in
- *.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
- local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
-
- debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
-
- # XXX: check whether the directory structure inside is
- # fine? i.e. if the tarball has actually a parent dir.
- mkdir -p "${destdir}" || die
- tar -C "${destdir}" -x --strip-components 1 \
- -f "${DISTDIR}/${f}" || die
- ;;
- *)
- debug-print "${FUNCNAME}: falling back to unpack for ${f}"
-
- # fall back to the default method
- unpack "${f}"
- ;;
- esac
- done
-}
-fi
diff --git a/dev-go/go-protobuf/ChangeLog b/dev-go/go-protobuf/ChangeLog
index 28354cbb1ab0..e74f11a673b1 100644
--- a/dev-go/go-protobuf/ChangeLog
+++ b/dev-go/go-protobuf/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-go/go-protobuf
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/ChangeLog,v 1.3 2015/07/30 09:31:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/ChangeLog,v 1.4 2015/08/05 17:24:07 williamh Exp $
+
+ 05 Aug 2015; William Hubbs <williamh@gentoo.org> go-protobuf-9999.ebuild:
+ add support for golang-vcs-snapshot to live ebuild
30 Jul 2015; Patrick Lauer <patrick@gentoo.org>
go-protobuf-0_pre20150727.ebuild, go-protobuf-9999.ebuild:
diff --git a/dev-go/go-protobuf/Manifest b/dev-go/go-protobuf/Manifest
index 7bec2a34f2f6..d448d2824e4d 100644
--- a/dev-go/go-protobuf/Manifest
+++ b/dev-go/go-protobuf/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST go-protobuf-0_pre20150727.tar.gz 151982 SHA256 160ad98eb1477492476ba566d218262fe6d326410d5a030c6a00433eaf7f9006 SHA512 04802b8d74ccaa17f9fc030badd0e74b6e47233ca5f1faab7c49f25bef2f06efd97aa4bf3f4783a7815958354744ddb9fee96d183aebbb03864069b0cc569564 WHIRLPOOL f49157a4a1a48c67b72ed38121ba28aec3f9b3405a3388097caba36643715c14b6915f9bcbd04f974fa98e9f2c4c4a4e313480ef307701c0ace734e9c214c010
EBUILD go-protobuf-0_pre20150727.ebuild 1402 SHA256 f7fe780a13188535eee68c04eb71d981802577d94f347cc03327fec57240b47a SHA512 d52de4142be72c65d18614322091b13df4896c70dd8651ed3e90d87ac50b6822bc1cbc9295cf7d4b888683dda528650d1415977c890ae1cacb79a9320c0f2f8b WHIRLPOOL be9872484ff3d05f7a1694c8dca9a2042199611e7e6db665d127d9f3bfcac9432952c4a056c8e10b944229619895a5e20a181619ba8434343d35a6a4510962cc
-EBUILD go-protobuf-9999.ebuild 1393 SHA256 039a143c920f53ec431b0f56571687940764f7bf194521382a9374a851b618df SHA512 818683e05f2b865676d21ec81a2d3e098a9cf34346f0b8ee8c6a95ed63c7a72122c350a8666fd36b5bb51b45b8f9e13eda3a0bf1014814a342881974aee6e23d WHIRLPOOL 3fbbb331fc8127653d6f5a72c509b138af970a7f14be13d3024924023baf19c1973f88b16f21197e737d2808e35e0f2ac64fd66bfc8fa1664feed99b024329c2
-MISC ChangeLog 698 SHA256 da0249d99a6f2eb2027869e7bd867a1000a6c5abe5b6faa51958daff24e0b36f SHA512 cf05539e47aa4241d93f5253d937776915586a6a0e698a8433b7181ad3becef2c43c240d6a78ca88d3ec40a91cc9b75979edd879be541a072ac1cf6d2a3efd46 WHIRLPOOL df4658325a2556ba6032aa14cd84e4684195dd77aa787b474c6acaf71ba428b600bb2fda65356c7287284d88f7b76ca5942e982b10c5393e482a271654c77742
+EBUILD go-protobuf-9999.ebuild 753 SHA256 f386646d329a93bed3c1f40c6ce090f8bd1c9fe10d7eabc6e95067808f1a2c77 SHA512 0b941baff254c6f856c74402c6e9d29a9500649879292c3bfd7870aeaaf56e90aaaf00461074204333ed2de66f87c7a815528b44244fe7e055530fc89ed8259d WHIRLPOOL 810c562b4e2285f6f10625c6416ad4a95f2ed82856d83e911e2e80dedb8f1d722687184c1d35065bbbc734379a50d3014b3bf833dee031efec7824bf2a102d24
+MISC ChangeLog 829 SHA256 15c43513864c8ad14344ffb729febfbbc9182c98e0c33132194aaa969dcdb7d3 SHA512 07e1cbed6ea0e73e5eafdc09d80143bc155c3bfb269a3de580e5ed44b7499e8fb6a9e694a952d7280e6e0db5803a0786278dde4d5f461835cef758f90933f32e WHIRLPOOL d2d0f28b7d24139466a473efe099ec9bf8c1030131ffbedb28e5733f4cf6fa42f2867655d773efe463cf1e6933fd3cb1138e9ba814e536268d787fd176b6dc19
MISC metadata.xml 292 SHA256 686a549cca315084f08005ba45954b1518d4f94ccca9456cb94ebd2045430315 SHA512 f0747b25f842fa77c8438ca1116b2f02433cde3d0188c3d1bbd3a761183d9f91986325c6ead0681092c0513555873d697480d30c5d825e1dee7ce4a6315026e0 WHIRLPOOL 3b1343b58008797d17ca24934da2b9b7e21cfad991c44279d91e3cb1091dcf320ccc18e4c7afffb1ba240a25018dfecee782ad1c2aaa260cda7f61d3bba0dbf3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEYEAREIAAYFAlXCRr4ACgkQblQW9DDEZThz+ACcCKZbgYC3j8TgeHivo+SW03WJ
+44UAn2vQYJ9umyB9SqCxWI/SLyNrhTZ8
+=KTpR
+-----END PGP SIGNATURE-----
diff --git a/dev-go/go-protobuf/go-protobuf-9999.ebuild b/dev-go/go-protobuf/go-protobuf-9999.ebuild
index 4578bb28466a..1fe02c550738 100644
--- a/dev-go/go-protobuf/go-protobuf-9999.ebuild
+++ b/dev-go/go-protobuf/go-protobuf-9999.ebuild
@@ -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-protobuf/go-protobuf-9999.ebuild,v 1.3 2015/07/30 09:31:49 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-protobuf/go-protobuf-9999.ebuild,v 1.4 2015/08/05 17:24:07 williamh Exp $
EAPI=5
@@ -13,6 +13,7 @@ else
KEYWORDS="~amd64"
EGIT_COMMIT="68c687dc49948540b356a6b47931c9be4fcd0245"
SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ inherit golang-vcs-snapshot
fi
inherit golang-build
@@ -24,37 +25,7 @@ IUSE=""
DEPEND=""
RDEPEND=""
-if [[ ${PV} != *9999* ]]; then
-src_unpack() {
- local f
-
- for f in ${A}
- do
- case "${f}" in
- *.tar|*.tar.gz|*.tar.bz2|*.tar.xz)
- local destdir=${WORKDIR}/${P}/src/${EGO_SRC}
-
- debug-print "${FUNCNAME}: unpacking ${f} to ${destdir}"
-
- # XXX: check whether the directory structure inside is
- # fine? i.e. if the tarball has actually a parent dir.
- mkdir -p "${destdir}" || die
- tar -C "${destdir}" -x --strip-components 1 \
- -f "${DISTDIR}/${f}" || die
- ;;
- *)
- debug-print "${FUNCNAME}: falling back to unpack for ${f}"
-
- # fall back to the default method
- unpack "${f}"
- ;;
- esac
- done
-}
-fi
-
src_install() {
- rm -rf src/${EGO_SRC}/.git* || die
golang-build_src_install
dobin bin/*
}