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/listen: metadata.xml ChangeLog listen-0.4.2.ebuild
Date: Sat, 02 Jun 2012 08:49:46
Message-Id: 20120602084935.A26D42004B@flycatcher.gentoo.org
1 graaff 12/06/02 08:49:35
2
3 Added: metadata.xml ChangeLog listen-0.4.2.ebuild
4 Log:
5 Initial import. New dependency for forthcoming versions of sass.
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-ruby/listen/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>ruby</herd>
21 <maintainer>
22 <email>trapni@g.o</email>
23 </maintainer>
24 </pkgmetadata>
25
26
27
28 1.1 dev-ruby/listen/ChangeLog
29
30 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/ChangeLog?rev=1.1&view=markup
31 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/ChangeLog?rev=1.1&content-type=text/plain
32
33 Index: ChangeLog
34 ===================================================================
35 # ChangeLog for dev-ruby/listen
36 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
37 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/ChangeLog,v 1.1 2012/06/02 08:49:35 graaff Exp $
38
39 *listen-0.4.2 (02 Jun 2012)
40
41 02 Jun 2012; Hans de Graaff <graaff@g.o> +listen-0.4.2.ebuild,
42 +metadata.xml:
43 Initial import. New dependency for forthcoming versions of sass.
44
45
46
47
48 1.1 dev-ruby/listen/listen-0.4.2.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/listen-0.4.2.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/listen/listen-0.4.2.ebuild?rev=1.1&content-type=text/plain
52
53 Index: listen-0.4.2.ebuild
54 ===================================================================
55 # Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/listen/listen-0.4.2.ebuild,v 1.1 2012/06/02 08:49:35 graaff Exp $
58
59 EAPI=4
60
61 USE_RUBY="ruby18 ruby19 ree18 jruby"
62
63 RUBY_FAKEGEM_TASK_DOC=""
64 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
65
66 RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
67
68 inherit ruby-fakegem
69
70 DESCRIPTION="Listens to file modifications and notifies you about the changes."
71 HOMEPAGE="https://github.com/guard/listen"
72 SRC_URI="https://github.com/guard/listen/tarball/v0.4.2 -> ${P}-git.tgz"
73 RUBY_S="guard-listen-*"
74
75 LICENSE="MIT"
76 SLOT="0"
77 KEYWORDS="~amd64"
78 IUSE="test"
79
80 ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
81
82 ruby_add_rdepend ">=dev-ruby/rb-inotify-0.8.8"
83
84 all_ruby_prepare() {
85 # On Gentoo Linux we only support inotify.
86 sed -i -e '/rb-fsevent/d' -e '/rb-fchange/d' ${RUBY_FAKEGEM_GEMSPEC} || die
87 }
88
89 each_ruby_test() {
90 ${RUBY} -S rspec --format progress spec || die
91 }