Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/color/
Date: Fri, 29 Oct 2021 06:03:04
Message-Id: 1635487376.8b5726de09a1083e48e8ff669110d55e02be0a77.graaff@gentoo
1 commit: 8b5726de09a1083e48e8ff669110d55e02be0a77
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 28 05:36:47 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 06:02:56 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b5726de
7
8 dev-ruby/color: add ruby30
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/color/color-1.8-r1.ebuild | 28 ++++++++++++++++++++++++++++
14 1 file changed, 28 insertions(+)
15
16 diff --git a/dev-ruby/color/color-1.8-r1.ebuild b/dev-ruby/color/color-1.8-r1.ebuild
17 new file mode 100644
18 index 00000000000..64f4215a36c
19 --- /dev/null
20 +++ b/dev-ruby/color/color-1.8-r1.ebuild
21 @@ -0,0 +1,28 @@
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="History.rdoc README.rdoc"
29 +RUBY_FAKEGEM_GEMSPEC="color.gemspec"
30 +
31 +inherit ruby-fakegem
32 +
33 +DESCRIPTION="Colour management with Ruby"
34 +HOMEPAGE="https://github.com/halostatue/color"
35 +SRC_URI="https://github.com/halostatue/color/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
40 +IUSE=""
41 +
42 +ruby_add_bdepend "
43 + test? (
44 + >=dev-ruby/minitest-5.0
45 + )"
46 +
47 +each_ruby_test() {
48 + ${RUBY} -Ilib:test:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
49 +}