commit:     c35ae6bead6ba13a9ca9354f67d717e66a3b0b90
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 19 07:49:46 2023 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Aug 19 08:03:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35ae6be

dev-ruby/colored2: update EAPI 7 -> 8

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/colored2/colored2-3.1.2-r1.ebuild | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/dev-ruby/colored2/colored2-3.1.2-r1.ebuild 
b/dev-ruby/colored2/colored2-3.1.2-r1.ebuild
new file mode 100644
index 000000000000..3d0b2e46c6fb
--- /dev/null
+++ b/dev-ruby/colored2/colored2-3.1.2-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Console coloring"
+HOMEPAGE="https://github.com/kigster/colored2";
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE=""
+
+each_ruby_prepare() {
+       sed -i -e '/bundler/ s:^:#:' Rakefile || die
+       sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
+
+       sed -i -e 's/Fixnum/Integer/' lib/colored2/numbers.rb || die
+}

Reply via email to