commit: 793e1b90ea0042302376cc44717059a3402f1853 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Tue Jul 13 08:58:39 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Tue Jul 13 09:20:48 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=793e1b90
dev-ruby/unindent: add ruby30; EAPI 7 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/unindent/unindent-1.0-r1.ebuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/dev-ruby/unindent/unindent-1.0-r1.ebuild b/dev-ruby/unindent/unindent-1.0-r1.ebuild new file mode 100644 index 00000000000..5c81007c698 --- /dev/null +++ b/dev-ruby/unindent/unindent-1.0-r1.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit ruby-fakegem + +DESCRIPTION="Ruby method to unindent strings" +HOMEPAGE="https://github.com/mynyml/unindent" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +SLOT="0" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/nanotest )" + +each_ruby_test() { + ${RUBY} -I.:lib test/test_unindent.rb || die +}
