summaryrefslogtreecommitdiff
path: root/dev-ruby/path_expander
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/path_expander')
-rw-r--r--dev-ruby/path_expander/Manifest1
-rw-r--r--dev-ruby/path_expander/path_expander-2.0.0.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest
index 3810b1243bd7..44ab7efa4f5d 100644
--- a/dev-ruby/path_expander/Manifest
+++ b/dev-ruby/path_expander/Manifest
@@ -1 +1,2 @@
DIST path_expander-1.1.3.gem 13824 BLAKE2B 7852be8bb3ba816c0e2ac80f381a4b56913b4f928a79bacd488f0d761c700ef615d6f4c1e191d1fa4ae82a1f64d66bb46bf2a2863a971f0763e38f334a60a9ab SHA512 b522a7b43b72e33dd3d176067cbb53417620f13ee0c270993edcd3c9bc7ab0f36ecaa8feca0bca258c416ecf37855e1eb1ca2abbafccbbd08ed7a19a3556a035
+DIST path_expander-2.0.0.gem 13824 BLAKE2B db90b6321b8ea09052f3fb35c26f7f7db799c3077f62feb0497c321ab851806c8078476476b97a582f07a139c10088c17cc2f6c1f965f007719745feb9eea11c SHA512 730691ee2a7940dfc133080ddf8d13d5eb60d28c6624ff5c8ad8bf8f54c5866459c70c5be520699389a71c5d7ea5ada7d6d3f003f0b0bab62157c042d1dcf113
diff --git a/dev-ruby/path_expander/path_expander-2.0.0.ebuild b/dev-ruby/path_expander/path_expander-2.0.0.ebuild
new file mode 100644
index 000000000000..bda8f79360fd
--- /dev/null
+++ b/dev-ruby/path_expander/path_expander-2.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby32 ruby33 ruby34"
+
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files"
+HOMEPAGE="https://github.com/seattlerb/path_expander"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~x86"
+
+all_ruby_prepare() {
+ # Fix tests depending on sort order
+ sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \
+ -e '33 s/$/.sort/' \
+ -e '83 s/act/act.sort/' \
+ test/test_path_expander.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}