summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-07-30 20:31:58 +0000
committerZac Medico <zmedico@gentoo.org>2015-07-30 20:31:58 +0000
commit55542e1f6a971243b672b74e7770dd8bc3f261e6 (patch)
treec4038c88b3d417838c358e069856fe62811ed705 /dev-go
parentfixed typo made yesterday when adding the epatch line to fix hppa builds; bug... (diff)
downloadhistorical-55542e1f6a971243b672b74e7770dd8bc3f261e6.tar.gz
historical-55542e1f6a971243b672b74e7770dd8bc3f261e6.tar.bz2
historical-55542e1f6a971243b672b74e7770dd8bc3f261e6.zip
Add go-spew.
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-spew/ChangeLog10
-rw-r--r--dev-go/go-spew/Manifest15
-rw-r--r--dev-go/go-spew/go-spew-0_pre20150619.ebuild60
-rw-r--r--dev-go/go-spew/go-spew-9999.ebuild60
-rw-r--r--dev-go/go-spew/metadata.xml10
5 files changed, 155 insertions, 0 deletions
diff --git a/dev-go/go-spew/ChangeLog b/dev-go/go-spew/ChangeLog
new file mode 100644
index 000000000000..17a054611adb
--- /dev/null
+++ b/dev-go/go-spew/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-go/go-spew
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/ChangeLog,v 1.1 2015/07/30 20:31:56 zmedico Exp $
+
+*go-spew-9999 (30 Jul 2015)
+*go-spew-0_pre20150619 (30 Jul 2015)
+
+ 30 Jul 2015; Zac Medico <zmedico@gentoo.org> +go-spew-0_pre20150619.ebuild,
+ +go-spew-9999.ebuild, +metadata.xml:
+ Add go-spew.
diff --git a/dev-go/go-spew/Manifest b/dev-go/go-spew/Manifest
new file mode 100644
index 000000000000..38fc210dff30
--- /dev/null
+++ b/dev-go/go-spew/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST go-spew-0_pre20150619.tar.gz 41714 SHA256 e064d12586e3685d32eb0bd125b9e4c19291fdcc07bd21e067593cbc81525e1c SHA512 84ec5cbf26b59d6380d09b4e053427d8c8b93555e43de4a95d373b7fb1edc647f0c950caaacf451c03872171d138e717b1fa9a1ea0f14208a9a5197bd83ce037 WHIRLPOOL 31f9823776b77317b26a256ba3615cf7aeae4c3d46f54b2840ed742770369a15bfa8a972252229eaa907e16c40a18573e1df748a99c86bf244ed4b43d86db409
+EBUILD go-spew-0_pre20150619.ebuild 1415 SHA256 07a9b5d7040c68e1cdacf0776d3fec30ff8c571bac9375f7d3644a4d838fb9f6 SHA512 737bbd8cf59413430a994700845338f5ecd386fd360fb4c6706dde778bed555c3cebf83ba278383275b6cd246755e07edddc1ce0e65d15a99d0ec88d47e967cb WHIRLPOOL fd768df0dfaa0afd01d733735ea568010330ebb26ae41c74d124c3d53e9393622bf7e8f8fd89516a58339e181c2f4b55ca835c9f7ee1e8135dcea3b2dd1f08a0
+EBUILD go-spew-9999.ebuild 1406 SHA256 05eeb5e14894444be61df44b47404ea01a8f49b3445df51aba3bb813aa6c5ed8 SHA512 df0e56cccaf20c598ea0c4b4b8d3f33d8805ac9e02d29ccc7e726c4cac2724369d3425fee3082d01557465b38a68afc642e742abf64cfe4e71f2ab102b300448 WHIRLPOOL 3f312cea39a61fa61f0a509845ef8ff157526f7a8e13f74e593e48d9ba48181d8e1163b07b2c055354cb1a195cbfa01638bc6b45b0cb0f37d5b2e5d02bcae4db
+MISC ChangeLog 400 SHA256 d475e9ddd3fc556dbb60b7ca9389f8caada635df91bdad582ab6c71e957e96b9 SHA512 dcc68f27a9a4c7dbf4e44bdc23269a2778ab1a9ab307c160fc8f368db46f227832d8d95c5c741c9e7ad7c1b254910e4a18ec422285e4369b30903c70745642ec WHIRLPOOL 51f6c8f2d2001b280716bf8fb488c1f51ab30eb458f5af0ddc743da19575687f948fac15695c2ae0c936e4ae01e4a94d3752d2d8fd0f8c9ae95baa0107484cdc
+MISC metadata.xml 292 SHA256 82aaf46b09bb2d64da53c76104b6133a0db7c580edf7d3a37e21d4b8f0f3215d SHA512 0d1fb90b8f8411959d17df99c872413179a821ae4abd225a39872509d53a970595777b8a670ca548a72b18e9117d7d645d5a8bfc515134d5838c49aac0ff874b WHIRLPOOL 7879c9d729c4a4f42de26adea632e8bdde32bcd4400e411c0aabc1214236db2c04976b0384bfcab8d302478bd7b4c87183065097e6f268956c9f7499fbd591e7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iEUEAREIAAYFAlW6ib0ACgkQ/ejvha5XGaPgdgCgtMAiaIgITVLa4eAa1Rh4LCQe
+tzsAl1BOhnKK1gvEvmP47yDunSVSKxI=
+=HLrl
+-----END PGP SIGNATURE-----
diff --git a/dev-go/go-spew/go-spew-0_pre20150619.ebuild b/dev-go/go-spew/go-spew-0_pre20150619.ebuild
new file mode 100644
index 000000000000..c0956ea90d00
--- /dev/null
+++ b/dev-go/go-spew/go-spew-0_pre20150619.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-0_pre20150619.ebuild,v 1.1 2015/07/30 20:31:56 zmedico Exp $
+
+EAPI=5
+
+EGO_SRC=github.com/davecgh/${PN}
+EGO_PN=${EGO_SRC}/...
+
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT="2df174808ee097f90d259e432cc04442cf60be21"
+ SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+fi
+inherit golang-build
+
+DESCRIPTION="Implements a deep pretty printer for Go data structures to aid in debugging"
+HOMEPAGE="https://${EGO_SRC}"
+LICENSE="ISC"
+SLOT="0/${PV}"
+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
+}
diff --git a/dev-go/go-spew/go-spew-9999.ebuild b/dev-go/go-spew/go-spew-9999.ebuild
new file mode 100644
index 000000000000..d168172809ab
--- /dev/null
+++ b/dev-go/go-spew/go-spew-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-go/go-spew/go-spew-9999.ebuild,v 1.1 2015/07/30 20:31:56 zmedico Exp $
+
+EAPI=5
+
+EGO_SRC=github.com/davecgh/${PN}
+EGO_PN=${EGO_SRC}/...
+
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ KEYWORDS="~amd64"
+ EGIT_COMMIT="2df174808ee097f90d259e432cc04442cf60be21"
+ SRC_URI="https://${EGO_SRC}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+fi
+inherit golang-build
+
+DESCRIPTION="Implements a deep pretty printer for Go data structures to aid in debugging"
+HOMEPAGE="https://${EGO_SRC}"
+LICENSE="ISC"
+SLOT="0/${PV}"
+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
+}
diff --git a/dev-go/go-spew/metadata.xml b/dev-go/go-spew/metadata.xml
new file mode 100644
index 000000000000..d2c2e9307d05
--- /dev/null
+++ b/dev-go/go-spew/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ <upstream>
+ <remote-id type="github">davecgh/go-spew</remote-id>
+ </upstream>
+</pkgmetadata>