diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-05-06 09:53:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-05-06 10:19:54 +0200 |
commit | 16a59e8779f688109491b53304a8b005d3b0218a (patch) | |
tree | 6674d38580828a7c250a654ecc58717fbf10d1f4 /dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild | |
parent | dev-python/xarray: Remove old (diff) | |
download | gentoo-16a59e8779f688109491b53304a8b005d3b0218a.tar.gz gentoo-16a59e8779f688109491b53304a8b005d3b0218a.tar.bz2 gentoo-16a59e8779f688109491b53304a8b005d3b0218a.zip |
dev-ruby/fast-stemmer: update EAPI 7 -> 8, ruby31
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild')
-rw-r--r-- | dev-ruby/fast-stemmer/fast-stemmer-1.0.2-r4.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
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 +} |