diff options
author | 2011-08-14 07:23:25 +0000 | |
---|---|---|
committer | 2011-08-14 07:23:25 +0000 | |
commit | c23bc798d6655d79f5df074f2bf2695b43e1c978 (patch) | |
tree | 8addaf2d7e68dbf7f4c2cfb882b093462a45c78a /dev-ruby/fssm/fssm-0.2.7-r1.ebuild | |
parent | jruby has a native ffi implementation so don't require dev-ruby/ffi in the ge... (diff) | |
download | gentoo-2-c23bc798d6655d79f5df074f2bf2695b43e1c978.tar.gz gentoo-2-c23bc798d6655d79f5df074f2bf2695b43e1c978.tar.bz2 gentoo-2-c23bc798d6655d79f5df074f2bf2695b43e1c978.zip |
Add dependency on rb-inotify as encouraged by upstream, so that inotify events can be used instead of polling. Dropped keywords, bug 379131.
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/fssm/fssm-0.2.7-r1.ebuild')
-rw-r--r-- | dev-ruby/fssm/fssm-0.2.7-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/fssm/fssm-0.2.7-r1.ebuild b/dev-ruby/fssm/fssm-0.2.7-r1.ebuild new file mode 100644 index 000000000000..162a62a5effc --- /dev/null +++ b/dev-ruby/fssm/fssm-0.2.7-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fssm/fssm-0.2.7-r1.ebuild,v 1.1 2011/08/14 07:23:25 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ree18 jruby" + +RUBY_FAKEGEM_TASK_TEST="spec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit ruby-fakegem + +DESCRIPTION="Monitor API" +HOMEPAGE="http://github.com/ttilley/fssm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +# rb-inotify is a Linux-specific extension, so we will need to make this +# conditional when keywords are added that are not linux-specific. +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.6-r1" + +ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.4.0:2 )" + +all_ruby_prepare() { + # Remove bundler support + sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die + rm Gemfile || die + + # Fix/ignore broken specs with patch from upstream + epatch "${FILESDIR}/${P}-test.patch" +} + +all_ruby_install() { + all_fakegem_install + + dodoc example.rb +} |