public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-colortext/
@ 2015-11-18 22:17 William Hubbs
  0 siblings, 0 replies; 2+ messages in thread
From: William Hubbs @ 2015-11-18 22:17 UTC (permalink / raw
  To: gentoo-commits

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>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>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-colortext/
@ 2021-11-14 13:48 Jakov Smolić
  0 siblings, 0 replies; 2+ messages in thread
From: Jakov Smolić @ 2021-11-14 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     8601e21384efce32ce3805b251a3e84b1bfb815b
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 14 13:43:35 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Nov 14 13:43:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8601e213

dev-go/go-colortext: Port to EAPI 7

Closes: https://bugs.gentoo.org/819648
Closes: https://bugs.gentoo.org/790479
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 .../go-colortext/go-colortext-0_pre20150720.ebuild | 25 ++++++++--------------
 1 file changed, 9 insertions(+), 16 deletions(-)

diff --git a/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild
index 181bd09a7642..edf72cdb953e 100644
--- a/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild
+++ b/dev-go/go-colortext/go-colortext-0_pre20150720.ebuild
@@ -1,29 +1,22 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-EGO_PN="github.com/daviddengcn/go-colortext"
+EAPI=7
 
-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
+EGO_PN="github.com/daviddengcn/go-colortext"
+EGIT_COMMIT=3b18c85
+ARCHIVE_URI="https://github.com/daviddengcn/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+inherit golang-build golang-vcs-snapshot
 
 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=""
+KEYWORDS="~amd64"
 
 src_install() {
 	golang-build_src_install
-dodoc src/${EGO_PN}/*.md
+	dodoc src/${EGO_PN}/*.md
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-14 13:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-14 13:48 [gentoo-commits] repo/gentoo:master commit in: dev-go/go-colortext/ Jakov Smolić
  -- strict thread matches above, loose matches on Subject: below --
2015-11-18 22:17 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox