1 |
commit: 07bd3b0780a43d837073dc725aff770d4ab195a9 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 4 05:10:39 2022 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 4 05:10:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07bd3b07 |
7 |
|
8 |
dev-ruby/path_expander: add 1.1.1 |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
|
12 |
dev-ruby/path_expander/Manifest | 1 + |
13 |
dev-ruby/path_expander/path_expander-1.1.1.ebuild | 29 +++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest |
17 |
index 13653294f35d..c59f2ebf4c0e 100644 |
18 |
--- a/dev-ruby/path_expander/Manifest |
19 |
+++ b/dev-ruby/path_expander/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST path_expander-1.1.0.gem 13312 BLAKE2B dca42a0e995d7ef87cef3dd26251ce378df33db557c5089b58f1130ed4c61b5521012198e381853c3583601d990aeff3a8463393e89e891b2ca9c923831ba31d SHA512 eebcd1caafba5c40512cc0c6e3419137fc169215d2eac77914419d9f3a6e200350d742b13953b2dbbdd532c9ef73e950c920017a4f178941c1e04ee832e038f7 |
22 |
+DIST path_expander-1.1.1.gem 13312 BLAKE2B d22b7253be821f7bf73bef48843b64356e5a4c66fb532844e4de25e9f4e01486560defda00d8cbc698a3d3b936cff742bdd3005afb32f9a41318d380d2f575cc SHA512 bd670b45bf8a265faf0ab9e845782e7bb6fa62e4360d3b5109b83b27afc54d3d372db1d0df9a098eb6935d24d29a973848c7b914b5ee0d67069ddc88c0aa79b7 |
23 |
|
24 |
diff --git a/dev-ruby/path_expander/path_expander-1.1.1.ebuild b/dev-ruby/path_expander/path_expander-1.1.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6b828c31ed55 |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/path_expander/path_expander-1.1.1.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+USE_RUBY="ruby26 ruby27 ruby30 ruby31" |
35 |
+ |
36 |
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" |
37 |
+ |
38 |
+inherit ruby-fakegem |
39 |
+ |
40 |
+DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" |
41 |
+HOMEPAGE="https://github.com/seattlerb/path_expander" |
42 |
+LICENSE="MIT" |
43 |
+ |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+SLOT="1" |
46 |
+IUSE="" |
47 |
+ |
48 |
+all_ruby_prepare() { |
49 |
+ # Fix tests depending on sort order |
50 |
+ sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ |
51 |
+ -e '33 s/$/.sort/' \ |
52 |
+ -e '83 s/act/act.sort/' \ |
53 |
+ test/test_path_expander.rb || die |
54 |
+} |
55 |
+ |
56 |
+each_ruby_test() { |
57 |
+ ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die |
58 |
+} |