1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby23 ruby24 ruby25"
8 RUBY_FAKEGEM_RECIPE_TEST="rspec"
10 RUBY_FAKEGEM_TASK_DOC=""
11 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
13 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
17 DESCRIPTION="Listens to file modifications and notifies you about the changes"
18 HOMEPAGE="https://github.com/guard/listen"
19 SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz"
23 KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~x64-macos"
26 ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0"
29 # Avoid a spec with incorrect stubbing.
30 sed -i -e '/loads all the registerd dependencies/,/ end/ s:^:#:' \
31 -e '/return true when dependencies are loaded/,/ end/ s:^:#:' \
32 spec/listen/dependency_manager_spec.rb || die