dev-ruby/path_expander: add 1.0.5
authorHans de Graaff <graaff@gentoo.org>
Mon, 16 Sep 2019 05:57:42 +0000 (07:57 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 16 Sep 2019 05:57:42 +0000 (07:57 +0200)
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/path_expander/Manifest
dev-ruby/path_expander/path_expander-1.0.5.ebuild [new file with mode: 0644]

index b55ff52abb5caa6d12ff1eaaf7b371b67948d01e..a4bbca23e8b99bedcc80a061e001503dda89dcb8 100644 (file)
@@ -1,2 +1,3 @@
 DIST path_expander-1.0.3.gem 13312 BLAKE2B 79be135b73f192e86cbdfae7a203434c4c8b1535c2db959141db79fd6a2eedd92c6436376485ccf3f8c15efcda31de40a7dd5a8c71eece17ca1e72f7bd7e95b7 SHA512 e05d66759a863f69845e41da1677f2020111e85e206d58acb93d18e044833f70b9420929e731884e6bcd156988ca3ae836f9913697ec85756a71f68499469ef2
 DIST path_expander-1.0.4.gem 13312 BLAKE2B 9372b904a490cc07a29430a397d84d09484486517769a7803e983af31f6a181c7a5f8c2af15e5fcdfd9b794c9bfa1f5bd908c39d22c2b2e2dc7b8eb0a929592c SHA512 69d45724f3ba406a6dc96df06be1dd9cc869a52c4ea19eac9b900a8db083ce04fad4dbb37e5e75f5a229114f7b65023df2edd7c367a0670432e74105cd3c298c
+DIST path_expander-1.0.5.gem 13312 BLAKE2B 2edea26334df78dc5f3b9b4b0030141c7af61c93c47a921b6dffe02dd8018336dedb9d5a5dba92ccad42ca935d8e4c58be9f3c284263bac56af4d31c107f9258 SHA512 ef5d4798481988ed07ea801c8e7173ac6bdc62554a9c38337e09853f87e49783b64a4e9ee4f4fc63968ebbd324e4960a4ccbc53bded64248d89de25a930c11fb
diff --git a/dev-ruby/path_expander/path_expander-1.0.5.ebuild b/dev-ruby/path_expander/path_expander-1.0.5.ebuild
new file mode 100644 (file)
index 0000000..6c8722c
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby24 ruby25 ruby26"
+
+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"
+
+KEYWORDS="~amd64 ~x86"
+SLOT="1"
+IUSE=""
+
+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
+}