commit: 16a59e8779f688109491b53304a8b005d3b0218a Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri May 6 07:53:10 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri May 6 08:19:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a59e87
dev-ruby/fast-stemmer: update EAPI 7 -> 8, ruby31 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild new file mode 100644 index 000000000000..7840a1559e99 --- /dev/null +++ b/dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README" + +RUBY_FAKEGEM_EXTENSIONS=(ext/extconf.rb) + +inherit ruby-fakegem + +DESCRIPTION="Simple wrapper around multithreaded Porter stemming algorithm" +HOMEPAGE="https://github.com/romanbsd/fast-stemmer" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="" + +all_ruby_prepare() { + rm ext/Makefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib -S testrb-2 test/fast_stemmer_test.rb || die +}
