summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2013-01-21 12:09:32 +0000
committerHans de Graaff <graaff@gentoo.org>2013-01-21 12:09:32 +0000
commitac2cac38cb0120a569c8a06354ec715d4ce06ba7 (patch)
tree17092bec1557658cd61a0e95bc65a2d19b231cbb /dev-ruby/listen
parentCleanup. (diff)
downloadgentoo-2-ac2cac38cb0120a569c8a06354ec715d4ce06ba7.tar.gz
gentoo-2-ac2cac38cb0120a569c8a06354ec715d4ce06ba7.tar.bz2
gentoo-2-ac2cac38cb0120a569c8a06354ec715d4ce06ba7.zip
Fix rb-inotify dependency to adhere to semantic versioning.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/listen')
-rw-r--r--dev-ruby/listen/ChangeLog7
-rw-r--r--dev-ruby/listen/listen-0.7.2-r1.ebuild32
2 files changed, 38 insertions, 1 deletions
diff --git a/dev-ruby/listen/ChangeLog b/dev-ruby/listen/ChangeLog
index ddeea3792288..e175a3f2d700 100644
--- a/dev-ruby/listen/ChangeLog
+++ b/dev-ruby/listen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/listen
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/ChangeLog,v 1.17 2013/01/21 12:02:25 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/ChangeLog,v 1.18 2013/01/21 12:09:32 graaff Exp $
+
+*listen-0.7.2-r1 (21 Jan 2013)
+
+ 21 Jan 2013; Hans de Graaff <graaff@gentoo.org> +listen-0.7.2-r1.ebuild:
+ Fix rb-inotify dependency to adhere to semantic versioning.
21 Jan 2013; Hans de Graaff <graaff@gentoo.org> -listen-0.5.3.ebuild,
-listen-0.6.0.ebuild:
diff --git a/dev-ruby/listen/listen-0.7.2-r1.ebuild b/dev-ruby/listen/listen-0.7.2-r1.ebuild
new file mode 100644
index 000000000000..096ac9826541
--- /dev/null
+++ b/dev-ruby/listen/listen-0.7.2-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.7.2-r1.ebuild,v 1.1 2013/01/21 12:09:32 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby18 ruby19 ree18 jruby"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Listens to file modifications and notifies you about the changes."
+HOMEPAGE="https://github.com/guard/listen"
+SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8"
+
+all_ruby_prepare() {
+ # Adhere to semantic versioning.
+ sed -i -e '/rb-inotify/ s/0.8.8/0.8/' lib/listen/adapters/linux.rb || die
+}