summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2015-11-18 16:13:11 -0600
committerWilliam Hubbs <williamh@gentoo.org>2015-11-18 16:16:30 -0600
commita5a1ddf8511fd552669e01337c5205aaf92d18e3 (patch)
tree6f3f5665dc473e1d3751cfc2c256e362ea0a6d69 /dev-go
parentapp-emulation/spice-vdagent: drop old versions (diff)
downloadgentoo-a5a1ddf8511fd552669e01337c5205aaf92d18e3.tar.gz
gentoo-a5a1ddf8511fd552669e01337c5205aaf92d18e3.tar.bz2
gentoo-a5a1ddf8511fd552669e01337c5205aaf92d18e3.zip
dev-go/go-colortext: new package -- a dependency for dev-go/gom
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-colortext/Manifest1
-rw-r--r--dev-go/go-colortext/go-colortext-0_pre20150720.ebuild30
-rw-r--r--dev-go/go-colortext/metadata.xml11
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-go/go-colortext/Manifest b/dev-go/go-colortext/Manifest
new file mode 100644
index 000000000000..47928a475958
--- /dev/null
+++ b/dev-go/go-colortext/Manifest
@@ -0,0 +1 @@
+DIST go-colortext-0_pre20150720.tar.gz 3542 SHA256 a09f0130f98f862880c3376b1d2aa69d0507872d6dfd1a51a2e6f9ee5e6d74a2 SHA512 7f70e32f6f7b17c683c4e6131ef6e15d7c1f40ad7cfeb3e8ce02e799370af02493fcdeb8896c73e8f71b4c28ba3accce646a795f404900b7b63bb40f9651287d WHIRLPOOL 3c58de00b8a4cedd548737a7d54d86ec8d1ded6d129b8a5bd77a2a1c79f1d1913be94fa09d2e0543e878e7adc5a053dd92701ba275244dc700723fe7096300e6
diff --git a/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild
new file mode 100644
index 000000000000..69e0d8344e8a
--- /dev/null
+++ b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+EGO_PN="github.com/daviddengcn/go-colortext"
+
+if [[ ${PV} = *9999* ]]; then
+ inherit golang-vcs
+else
+ EGIT_COMMIT=3b18c85
+ ARCHIVE_URI="https://github.com/daviddengcn/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+inherit golang-build
+
+DESCRIPTION="Change the console foreground and background colors"
+HOMEPAGE="https://github.com/daviddengcn/go-colortext"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ golang-build_src_install
+dodoc src/${EGO_PN}/*.md
+}
diff --git a/dev-go/go-colortext/metadata.xml b/dev-go/go-colortext/metadata.xml
new file mode 100644
index 000000000000..829fdae33755
--- /dev/null
+++ b/dev-go/go-colortext/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>williamh@gentoo.org</email>
+ <name>William Hubbs</name>
+ </maintainer>
+ <longdescription lang="en">
+ This go package allows you to change the color of text in the console.
+ </longdescription>
+</pkgmetadata>