Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rb-inotify/
Date: Wed, 25 Dec 2019 06:56:35
Message-Id: 1577255675.dc7278d897e9d02e1db533ed94e0ad6af676b858.graaff@gentoo
1 commit: dc7278d897e9d02e1db533ed94e0ad6af676b858
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 25 06:34:35 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 25 06:34:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc7278d8
7
8 dev-ruby/rb-inotify: add 0.10.1
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.16
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/rb-inotify/Manifest | 1 +
14 dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild | 34 ++++++++++++++++++++++++++++
15 2 files changed, 35 insertions(+)
16
17 diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest
18 index 56d6ca8cf84..388f11e088b 100644
19 --- a/dev-ruby/rb-inotify/Manifest
20 +++ b/dev-ruby/rb-inotify/Manifest
21 @@ -1 +1,2 @@
22 DIST rb-inotify-0.10.0.gem 15872 BLAKE2B 52647ff17994287810efa9c04bc9553b101c42cdd27cf42d530565127dfce104a589ad729d7019409079731577d327221ec3423fa7a5f746aefa3d817b93d898 SHA512 16aa7fb21e5ed713335e583299cfc72676e3ef66de3d349f74a14885b88020b79e031839b193dc140036a0b6539a45ef3a0c3c6027a7211508d388137d22a13b
23 +DIST rb-inotify-0.10.1.gem 15872 BLAKE2B 1ddf4fe8de7cdd348e007ac29ab7b41667092439f9b70eeae49d7e917351c73512e43a7ccf6679af1c9225b19efadb6a1581f63e1958d2a31d61f2bce5a13664 SHA512 7831a6228f2d6363e634b8d6b4a12206f19b96098e5dfba1d27b1e994a7284a5cb58cd0299d861a6ff275fc8248c0e68faaaf786d6222ad68f3e6b43ccea29ec
24
25 diff --git a/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild
26 new file mode 100644
27 index 00000000000..fd890af7d20
28 --- /dev/null
29 +++ b/dev-ruby/rb-inotify/rb-inotify-0.10.1.ebuild
30 @@ -0,0 +1,34 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +USE_RUBY="ruby24 ruby25 ruby26"
37 +
38 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
39 +
40 +RUBY_FAKEGEM_EXTRADOC="README.md"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="A thorough inotify wrapper for Ruby using FFI"
45 +HOMEPAGE="https://github.com/nex3/rb-inotify"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 +IUSE=""
51 +
52 +ruby_add_rdepend "dev-ruby/ffi"
53 +
54 +ruby_add_bdepend "test? ( dev-ruby/concurrent-ruby )"
55 +
56 +all_ruby_prepare() {
57 + # Avoid unneeded dependency on jeweler.
58 + sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
59 +
60 + # Remove mandatory markup processor from yard options, bug 436112.
61 + sed -i -e '/maruku/d' .yardopts || die
62 +
63 + sed -i -e '/bundler/ s:^:#:' -e '1irequire "pathname"' spec/spec_helper.rb || die
64 +}