summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-02-06 07:47:29 +0100
committerHans de Graaff <graaff@gentoo.org>2016-02-06 07:47:29 +0100
commitfe26ed1ce90192a428f29aad98fc74ecfef85db9 (patch)
treed0b5a2a01ebeb0b6bd7aac964c95f4a46493a29a /dev-ruby
parentsci-libs/qrupdate: Stable for HPPA (bug #570060). (diff)
downloadgentoo-fe26ed1ce90192a428f29aad98fc74ecfef85db9.tar.gz
gentoo-fe26ed1ce90192a428f29aad98fc74ecfef85db9.tar.bz2
gentoo-fe26ed1ce90192a428f29aad98fc74ecfef85db9.zip
dev-ruby/rb-inotify: add 0.9.6
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/rb-inotify/Manifest1
-rw-r--r--dev-ruby/rb-inotify/rb-inotify-0.9.6.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest
index e7788a1d563a..847c0d5333ab 100644
--- a/dev-ruby/rb-inotify/Manifest
+++ b/dev-ruby/rb-inotify/Manifest
@@ -1 +1,2 @@
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
diff --git a/dev-ruby/rb-inotify/rb-inotify-0.9.6.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.9.6.ebuild
new file mode 100644
index 000000000000..e7ece7910156
--- /dev/null
+++ b/dev-ruby/rb-inotify/rb-inotify-0.9.6.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
+}