Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rb-inotify: ChangeLog rb-inotify-0.9.4.ebuild
Date: Sat, 03 May 2014 09:28:15
Message-Id: 20140503092811.DB1842004C@flycatcher.gentoo.org
1 graaff 14/05/03 09:28:11
2
3 Modified: ChangeLog
4 Added: rb-inotify-0.9.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.29 dev-ruby/rb-inotify/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rb-inotify/ChangeLog?rev=1.29&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rb-inotify/ChangeLog?rev=1.29&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rb-inotify/ChangeLog?r1=1.28&r2=1.29
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v
20 retrieving revision 1.28
21 retrieving revision 1.29
22 diff -u -r1.28 -r1.29
23 --- ChangeLog 20 Apr 2014 08:11:14 -0000 1.28
24 +++ ChangeLog 3 May 2014 09:28:11 -0000 1.29
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/rb-inotify
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.28 2014/04/20 08:11:14 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.29 2014/05/03 09:28:11 graaff Exp $
30 +
31 +*rb-inotify-0.9.4 (03 May 2014)
32 +
33 + 03 May 2014; Hans de Graaff <graaff@g.o> +rb-inotify-0.9.4.ebuild:
34 + Version bump.
35
36 20 Apr 2014; Hans de Graaff <graaff@g.o> rb-inotify-0.9.3.ebuild:
37 Add ruby21.
38
39
40
41 1.1 dev-ruby/rb-inotify/rb-inotify-0.9.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.9.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.9.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rb-inotify-0.9.4.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.9.4.ebuild,v 1.1 2014/05/03 09:28:11 graaff Exp $
51
52 EAPI=5
53
54 USE_RUBY="ruby19 ruby20 ruby21 jruby"
55
56 RUBY_FAKEGEM_TASK_TEST=""
57
58 RUBY_FAKEGEM_TASK_DOC="yard"
59 RUBY_FAKEGEM_DOCDIR="doc"
60 RUBY_FAKEGEM_EXTRADOC="README.md"
61
62 RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
63
64 RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec"
65
66 inherit ruby-fakegem
67
68 DESCRIPTION="A thorough inotify wrapper for Ruby using FFI."
69 HOMEPAGE="https://github.com/nex3/rb-inotify"
70
71 LICENSE="MIT"
72 SLOT="0"
73 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x64-macos"
74 IUSE=""
75
76 ruby_add_rdepend "virtual/ruby-ffi"
77
78 ruby_add_bdepend "doc? ( dev-ruby/yard )"
79
80 all_ruby_prepare() {
81 # Avoid unneeded dependency on jeweler.
82 sed -i -e '/:build/ s:^:#:' -e '/module Jeweler/,/^end/ s:^:#:' -e '/class Jeweler/,/^end/ s:^:#:' Rakefile || die
83
84 # Remove mandatory markup processor from yard options, bug 436112.
85 sed -i -e '/maruku/d' .yardopts || die
86 }
87
88 each_ruby_prepare() {
89 case ${RUBY} in
90 *jruby)
91 # jruby has a native implementation and should not list ffi
92 # in the gemspec.
93 sed -i -e '/ffi/d' rb-inotify.gemspec || die
94 ;;
95 *)
96 ;;
97 esac
98 }