diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-05-27 07:11:19 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-05-27 07:21:32 +0200 |
commit | f90717934d9dc778877f72e6b3054bc3b1a1ddc1 (patch) | |
tree | 3da8fd43c6c631a317d0c5c74ba4b6503b6b8901 /dev-ruby/path_expander | |
parent | dev-ruby/hoe: add 3.18.0 (diff) | |
download | gentoo-f90717934d9dc778877f72e6b3054bc3b1a1ddc1.tar.gz gentoo-f90717934d9dc778877f72e6b3054bc3b1a1ddc1.tar.bz2 gentoo-f90717934d9dc778877f72e6b3054bc3b1a1ddc1.zip |
dev-ruby/path_expander: add 1.0.4
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/path_expander')
-rw-r--r-- | dev-ruby/path_expander/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/path_expander/path_expander-1.0.4.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest index bbeb535fc36d..04091576b14d 100644 --- a/dev-ruby/path_expander/Manifest +++ b/dev-ruby/path_expander/Manifest @@ -1,2 +1,3 @@ DIST path_expander-1.0.2.gem 12800 BLAKE2B 99bc161e39803b01f2bac48eaca063a00473db1cf2f033837a1ffc187847a32aa5a88077d163b8acb2a75171a5fb134f47ee6d82cc8105d4ce297919ea8fce76 SHA512 550d20be7f3379ccb30e2e0c86c26348103d7d11d7b5d21c684c341cdb7cf1aaa29886c7b1210265af7bbc1853b8c26a0048d6bd40a8a2752938101e64a23468 DIST path_expander-1.0.3.gem 13312 BLAKE2B 79be135b73f192e86cbdfae7a203434c4c8b1535c2db959141db79fd6a2eedd92c6436376485ccf3f8c15efcda31de40a7dd5a8c71eece17ca1e72f7bd7e95b7 SHA512 e05d66759a863f69845e41da1677f2020111e85e206d58acb93d18e044833f70b9420929e731884e6bcd156988ca3ae836f9913697ec85756a71f68499469ef2 +DIST path_expander-1.0.4.gem 13312 BLAKE2B 9372b904a490cc07a29430a397d84d09484486517769a7803e983af31f6a181c7a5f8c2af15e5fcdfd9b794c9bfa1f5bd908c39d22c2b2e2dc7b8eb0a929592c SHA512 69d45724f3ba406a6dc96df06be1dd9cc869a52c4ea19eac9b900a8db083ce04fad4dbb37e5e75f5a229114f7b65023df2edd7c367a0670432e74105cd3c298c diff --git a/dev-ruby/path_expander/path_expander-1.0.4.ebuild b/dev-ruby/path_expander/path_expander-1.0.4.ebuild new file mode 100644 index 000000000000..8bca9466ad0d --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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 +} |