From 36aebc01c1151e41c7d31fcbf3ad2d95b3b8faa3 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Mon, 16 Sep 2019 07:57:42 +0200 Subject: [PATCH] dev-ruby/path_expander: add 1.0.5 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Hans de Graaff --- dev-ruby/path_expander/Manifest | 1 + .../path_expander/path_expander-1.0.5.ebuild | 29 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 dev-ruby/path_expander/path_expander-1.0.5.ebuild diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest index b55ff52abb5c..a4bbca23e8b9 100644 --- a/dev-ruby/path_expander/Manifest +++ b/dev-ruby/path_expander/Manifest @@ -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 index 000000000000..6c8722ce1e1e --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.5.ebuild @@ -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 +} -- 2.26.2