diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-22 09:44:24 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-01-22 09:44:24 +0000 |
commit | d5d8533ff537626d8992195cdc4d1892fe9ad6ce (patch) | |
tree | b04e1f01160d695573fca2c790e3180a93b32318 /dev-ruby/fssm | |
parent | Removed blockers on app-emulation/qemu-softmmu (dead 10 months ago) and on ap... (diff) | |
download | gentoo-2-d5d8533ff537626d8992195cdc4d1892fe9ad6ce.tar.gz gentoo-2-d5d8533ff537626d8992195cdc4d1892fe9ad6ce.tar.bz2 gentoo-2-d5d8533ff537626d8992195cdc4d1892fe9ad6ce.zip |
Version bump; add rb-inotify dependency to gemspec if using it at all.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/fssm')
-rw-r--r-- | dev-ruby/fssm/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/fssm/fssm-0.2.8.1.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/fssm/ChangeLog b/dev-ruby/fssm/ChangeLog index 13faeff812cb..1e05855f82bf 100644 --- a/dev-ruby/fssm/ChangeLog +++ b/dev-ruby/fssm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/fssm -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fssm/ChangeLog,v 1.15 2011/12/31 18:04:39 grobian Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fssm/ChangeLog,v 1.16 2012/01/22 09:44:24 flameeyes Exp $ + +*fssm-0.2.8.1 (22 Jan 2012) + + 22 Jan 2012; Diego E. Pettenò <flameeyes@gentoo.org> +fssm-0.2.8.1.ebuild: + Version bump; add rb-inotify dependency to gemspec if using it at all. 31 Dec 2011; Fabian Groffen <grobian@gentoo.org> fssm-0.2.7-r1.ebuild: Add Prefix keywords, bug #396547 diff --git a/dev-ruby/fssm/fssm-0.2.8.1.ebuild b/dev-ruby/fssm/fssm-0.2.8.1.ebuild new file mode 100644 index 000000000000..a6ae1be9710d --- /dev/null +++ b/dev-ruby/fssm/fssm-0.2.8.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fssm/fssm-0.2.8.1.ebuild,v 1.1 2012/01/22 09:44:24 flameeyes Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ruby19 ree18 jruby" + +RUBY_FAKEGEM_TASK_TEST="spec" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="File System State Monitor API" +HOMEPAGE="http://github.com/ttilley/fssm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +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 "kernel_linux? ( >=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}/${PN}-0.2.7-test.patch" + + # if we're going to require rb-inotify, let's make sure it gets used + # as well; if we don't declare it in the dependencies this will not + # be loaded by bundler-based projects to begin with. + if use kernel_linux; then + sed -i -e '/^end/i s.add_dependency "rb-inotify"' ${RUBY_FAKEGEM_GEMSPEC} || die + fi +} + +all_ruby_install() { + all_fakegem_install + + dodoc example.rb +} |