1 |
commit: bb807221f15f9c5564e0871e2139249fc0224d8d |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 08:04:10 2021 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 08:04:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb807221 |
7 |
|
8 |
dev-ruby/colorator: add ruby30 |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/colorator/colorator-1.1.0-r1.ebuild | 27 +++++++++++++++++++++++++++ |
14 |
1 file changed, 27 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/colorator/colorator-1.1.0-r1.ebuild b/dev-ruby/colorator/colorator-1.1.0-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 00000000000..51126d3d100 |
19 |
--- /dev/null |
20 |
+++ b/dev-ruby/colorator/colorator-1.1.0-r1.ebuild |
21 |
@@ -0,0 +1,27 @@ |
22 |
+# Copyright 1999-2021 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+USE_RUBY="ruby26 ruby27 ruby30" |
27 |
+ |
28 |
+RUBY_FAKEGEM_EXTRADOC="README.markdown" |
29 |
+RUBY_FAKEGEM_GEMSPEC="colorator.gemspec" |
30 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
31 |
+ |
32 |
+inherit ruby-fakegem |
33 |
+ |
34 |
+DESCRIPTION="Colorize your text in the terminal" |
35 |
+HOMEPAGE="https://github.com/octopress/colorator" |
36 |
+SRC_URI="https://github.com/octopress/colorator/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
37 |
+ |
38 |
+LICENSE="MIT" |
39 |
+SLOT="0" |
40 |
+KEYWORDS="~amd64 ~arm64" |
41 |
+IUSE="" |
42 |
+ |
43 |
+all_ruby_prepare() { |
44 |
+ sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die |
45 |
+ |
46 |
+ sed -i -e "/bundler/d" Rakefile || die |
47 |
+ sed -i -e "/luna/d" spec/spec/helper.rb || die |
48 |
+} |