summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-09 06:58:35 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-09 06:58:35 +0100
commitf838074a646b9bfaf9a4d7d665bc4f0f4b1b21fb (patch)
tree7e45619d765067daedfa3b4939685f1f7d9c387b /dev-ruby/rb-inotify
parentwww-apache/passenger: add 5.0.24 (diff)
downloadgentoo-f838074a646b9bfaf9a4d7d665bc4f0f4b1b21fb.tar.gz
gentoo-f838074a646b9bfaf9a4d7d665bc4f0f4b1b21fb.tar.bz2
gentoo-f838074a646b9bfaf9a4d7d665bc4f0f4b1b21fb.zip
dev-ruby/rb-inotify: add 0.9.7
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/rb-inotify')
-rw-r--r--dev-ruby/rb-inotify/Manifest1
-rw-r--r--dev-ruby/rb-inotify/rb-inotify-0.9.7.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest
index 847c0d5333ab..7f83ab5bc35a 100644
--- a/dev-ruby/rb-inotify/Manifest
+++ b/dev-ruby/rb-inotify/Manifest
@@ -1,2 +1,3 @@
DIST rb-inotify-0.9.5.gem 14336 SHA256 69559fc3d790c275b90f55f8c76cde94a999e3400f5a51f2e0d463a0a2e8ad4d SHA512 1ecc0142ed44358a2f51403736533e9854b5fc13cb81b552eb866310b60535b14e2ac6bfb6ee53bc1ee65ac14e51fc5a981e52f843607dbb3d8390c1d6c13e60 WHIRLPOOL 19d7d1f7ca8e65a297de94fae3311c1bc8d9942aa47dc2c92202ce0adb8f04d62ac94f0c51c76a6bd263e773df2481b2337b6576f818cff7bf4fd2ccaa30fd27
DIST rb-inotify-0.9.6.gem 14336 SHA256 34da84a44b27e5dccc2d957209169ec3bc944fb634a30e07bdc5527726a30fba SHA512 face5d116308a6cba727cf39f01dc3b55e57a9075ac365f3be4fd2fc9c34ea7228902e8caf59119ae1277be5d10fbc05b915cfae8349969800997d3fb629d791 WHIRLPOOL cd0d43e6954b2f40166e615ff440e4e62fc970c57251fa7ae0f277c9ff7cc3b3ebf07e0022ff0287ea6472737ef737a63dc27566d166090b518e7e959a4e2684
+DIST rb-inotify-0.9.7.gem 14336 SHA256 2d9c1bf013d2f9e62b4fe827286ce77c35c83f06b65749a95a08d862c0b8ccf9 SHA512 bc9be713becf7ee644a58e5d68dc0c514f8ba69a5b78de19cc84c2f55c98601065da59612a7373cd784646234b8ae9acd6575089c6a77e0317a0284c3f1fcbe4 WHIRLPOOL 25d90ad8519ad765b4c414e2dec45a5fbf345fc594a25c4a49d63b89a1f9022838cb0866b8fc7a95bab76799a854ee36a4bb447187f4024c85d39cd2c6272d52
diff --git a/dev-ruby/rb-inotify/rb-inotify-0.9.7.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.9.7.ebuild
new file mode 100644
index 000000000000..e7ece7910156
--- /dev/null
+++ b/dev-ruby/rb-inotify/rb-inotify-0.9.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_TASK_TEST=""
+
+RUBY_FAKEGEM_TASK_DOC="yard"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
+
+RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A thorough inotify wrapper for Ruby using FFI"
+HOMEPAGE="https://github.com/nex3/rb-inotify"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend "virtual/ruby-ffi"
+
+ruby_add_bdepend "doc? ( dev-ruby/yard )"
+
+all_ruby_prepare() {
+ # Avoid unneeded dependency on jeweler.
+ sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
+
+ # Remove mandatory markup processor from yard options, bug 436112.
+ sed -i -e '/maruku/d' .yardopts || die
+}