1 |
commit: 9947765326686950e4d451f32463b6608f51cb1e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 20 05:59:47 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 20 06:25:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99477653 |
7 |
|
8 |
dev-ruby/path_expander: add 1.0.2; fix tests, bug 623312 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/path_expander/Manifest | 1 + |
13 |
dev-ruby/path_expander/path_expander-1.0.2.ebuild | 30 +++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest |
17 |
index 30a8d8726b8..aca9949ae8e 100644 |
18 |
--- a/dev-ruby/path_expander/Manifest |
19 |
+++ b/dev-ruby/path_expander/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST path_expander-1.0.1.gem 12800 SHA256 a940510b051d0811a7b1cef8284114256423bff876fe22a8e9d5e40596b37442 SHA512 a87fb90ca9af0a28c51339761dd0b66926d1288009cb5cae32793587a59cf8a81cc8cacf8561ea49d1d77ddec49385892d0c3bf70cfa7da29390c4d32f9a29b2 WHIRLPOOL 9e3bc78af7098d9839dd7b7086a727677b0e328d19528ee1878226ca981ae6d5cf9290853533a3daf3357d68ac99c80f6eeef011c69a900c53945bff667abe23 |
22 |
+DIST path_expander-1.0.2.gem 12800 SHA256 8a8cf958f54b9b02f34a4fe2ce239b52f238e2d45380edea6c5f49972fac5e73 SHA512 550d20be7f3379ccb30e2e0c86c26348103d7d11d7b5d21c684c341cdb7cf1aaa29886c7b1210265af7bbc1853b8c26a0048d6bd40a8a2752938101e64a23468 WHIRLPOOL 5b26ec807b8a4d1b6958ea3c62b141454d1f436c04ba4a4b70fa56574c9a4fa3fb35283ca6a774c54514763c1d707276143cacd7482cb3e7251995e3a7c97935 |
23 |
|
24 |
diff --git a/dev-ruby/path_expander/path_expander-1.0.2.ebuild b/dev-ruby/path_expander/path_expander-1.0.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..273f8c24c1e |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/path_expander/path_expander-1.0.2.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+USE_RUBY="ruby21 ruby22 ruby23 ruby24" |
35 |
+ |
36 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
37 |
+RUBY_FAKEGEM_EXTRADOC="History.rdoc README.rdoc" |
38 |
+ |
39 |
+inherit ruby-fakegem |
40 |
+ |
41 |
+DESCRIPTION="Pre-process CLI arguments expanding directories into their constituent files" |
42 |
+HOMEPAGE="https://github.com/seattlerb/path_expander" |
43 |
+LICENSE="MIT" |
44 |
+ |
45 |
+KEYWORDS="~amd64" |
46 |
+SLOT="1" |
47 |
+IUSE="" |
48 |
+ |
49 |
+all_ruby_prepare() { |
50 |
+ # Fix tests depending on sort order |
51 |
+ sed -i -e '/test_process_args_dir/,/^ end/ s:^:#:' \ |
52 |
+ -e '33 s/$/.sort/' \ |
53 |
+ -e '83 s/act/act.sort/' \ |
54 |
+ test/test_path_expander.rb || die |
55 |
+} |
56 |
+ |
57 |
+each_ruby_test() { |
58 |
+ ${RUBY} -Ilib:.:test -e 'Dir["test/test_*.rb"].each{|f| require f}' || die |
59 |
+} |