diff options
author | 2017-07-20 07:59:47 +0200 | |
---|---|---|
committer | 2017-07-20 08:25:11 +0200 | |
commit | 9947765326686950e4d451f32463b6608f51cb1e (patch) | |
tree | f73ae00a2d6b20c46e1795b75a5f56bb4019a805 /dev-ruby/path_expander | |
parent | dev-ruby/nokogumbo: add 1.4.13 (diff) | |
download | gentoo-9947765326686950e4d451f32463b6608f51cb1e.tar.gz gentoo-9947765326686950e4d451f32463b6608f51cb1e.tar.bz2 gentoo-9947765326686950e4d451f32463b6608f51cb1e.zip |
dev-ruby/path_expander: add 1.0.2; fix tests, bug 623312
Package-Manager: Portage-2.3.6, Repoman-2.3.2
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.2.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/path_expander/Manifest b/dev-ruby/path_expander/Manifest index 30a8d8726b8d..aca9949ae8ec 100644 --- a/dev-ruby/path_expander/Manifest +++ b/dev-ruby/path_expander/Manifest @@ -1 +1,2 @@ DIST path_expander-1.0.1.gem 12800 SHA256 a940510b051d0811a7b1cef8284114256423bff876fe22a8e9d5e40596b37442 SHA512 a87fb90ca9af0a28c51339761dd0b66926d1288009cb5cae32793587a59cf8a81cc8cacf8561ea49d1d77ddec49385892d0c3bf70cfa7da29390c4d32f9a29b2 WHIRLPOOL 9e3bc78af7098d9839dd7b7086a727677b0e328d19528ee1878226ca981ae6d5cf9290853533a3daf3357d68ac99c80f6eeef011c69a900c53945bff667abe23 +DIST path_expander-1.0.2.gem 12800 SHA256 8a8cf958f54b9b02f34a4fe2ce239b52f238e2d45380edea6c5f49972fac5e73 SHA512 550d20be7f3379ccb30e2e0c86c26348103d7d11d7b5d21c684c341cdb7cf1aaa29886c7b1210265af7bbc1853b8c26a0048d6bd40a8a2752938101e64a23468 WHIRLPOOL 5b26ec807b8a4d1b6958ea3c62b141454d1f436c04ba4a4b70fa56574c9a4fa3fb35283ca6a774c54514763c1d707276143cacd7482cb3e7251995e3a7c97935 diff --git a/dev-ruby/path_expander/path_expander-1.0.2.ebuild b/dev-ruby/path_expander/path_expander-1.0.2.ebuild new file mode 100644 index 000000000000..273f8c24c1eb --- /dev/null +++ b/dev-ruby/path_expander/path_expander-1.0.2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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" +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 +} |