commit: a5a1ddf8511fd552669e01337c5205aaf92d18e3
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 22:13:11 2015 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 22:16:30 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5a1ddf8
dev-go/go-colortext: new package -- a dependency for dev-go/gom
dev-go/go-colortext/Manifest | 1 +
.../go-colortext/go-colortext-0_pre20150720.ebuild | 30 ++++++++++++++++++++++
dev-go/go-colortext/metadata.xml | 11 ++++++++
3 files changed, 42 insertions(+)
diff --git a/dev-go/go-colortext/Manifest b/dev-go/go-colortext/Manifest
new file mode 100644
index 0000000..47928a4
--- /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 0000000..69e0d83
--- /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 0000000..829fdae
--- /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>[email protected]</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>