1 |
commit: 6503749b2984992f8b87ad91e0523631857cdd34 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 12 04:34:21 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 12 04:34:21 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6503749b |
7 |
|
8 |
dev-ruby/listen: cleanup |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-ruby/listen/listen-0.7.3-r1.ebuild | 34 -------------------------------- |
13 |
dev-ruby/listen/listen-1.3.1-r2.ebuild | 36 ---------------------------------- |
14 |
2 files changed, 70 deletions(-) |
15 |
|
16 |
diff --git a/dev-ruby/listen/listen-0.7.3-r1.ebuild b/dev-ruby/listen/listen-0.7.3-r1.ebuild |
17 |
deleted file mode 100644 |
18 |
index 985f8e2..0000000 |
19 |
--- a/dev-ruby/listen/listen-0.7.3-r1.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,34 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-USE_RUBY="ruby20" |
29 |
- |
30 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec" |
31 |
- |
32 |
-RUBY_FAKEGEM_TASK_DOC="" |
33 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
34 |
- |
35 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
36 |
- |
37 |
-inherit ruby-fakegem |
38 |
- |
39 |
-DESCRIPTION="Listens to file modifications and notifies you about the changes" |
40 |
-HOMEPAGE="https://github.com/guard/listen" |
41 |
-SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
42 |
- |
43 |
-LICENSE="MIT" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x64-macos" |
46 |
-IUSE="" |
47 |
- |
48 |
-ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0" |
49 |
- |
50 |
-all_ruby_prepare() { |
51 |
- # Avoid a spec with incorrect stubbing. |
52 |
- sed -i -e '/loads all the registerd dependencies/,/ end/ s:^:#:' \ |
53 |
- -e '/return true when dependencies are loaded/,/ end/ s:^:#:' \ |
54 |
- spec/listen/dependency_manager_spec.rb || die |
55 |
-} |
56 |
|
57 |
diff --git a/dev-ruby/listen/listen-1.3.1-r2.ebuild b/dev-ruby/listen/listen-1.3.1-r2.ebuild |
58 |
deleted file mode 100644 |
59 |
index f9c549e..0000000 |
60 |
--- a/dev-ruby/listen/listen-1.3.1-r2.ebuild |
61 |
+++ /dev/null |
62 |
@@ -1,36 +0,0 @@ |
63 |
-# Copyright 1999-2016 Gentoo Foundation |
64 |
-# Distributed under the terms of the GNU General Public License v2 |
65 |
-# $Id$ |
66 |
- |
67 |
-EAPI=5 |
68 |
- |
69 |
-USE_RUBY="ruby20" |
70 |
- |
71 |
-RUBY_FAKEGEM_RECIPE_TEST="rspec" |
72 |
- |
73 |
-RUBY_FAKEGEM_TASK_DOC="" |
74 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
75 |
- |
76 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
77 |
- |
78 |
-inherit ruby-fakegem |
79 |
- |
80 |
-DESCRIPTION="Listens to file modifications and notifies you about the changes" |
81 |
-HOMEPAGE="https://github.com/guard/listen" |
82 |
-SRC_URI="https://github.com/guard/listen/archive/v${PV}.tar.gz -> ${P}-git.tgz" |
83 |
- |
84 |
-LICENSE="MIT" |
85 |
-SLOT="1" |
86 |
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~x64-macos" |
87 |
-IUSE="" |
88 |
- |
89 |
-ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.0" |
90 |
- |
91 |
-all_ruby_prepare() { |
92 |
- sed -i -e '/[Cc]overalls/d' spec/spec_helper.rb || die |
93 |
- # Drop failing test |
94 |
- sed -i -e '/#85/,+17d' spec/listen/directory_record_spec.rb || die |
95 |
- |
96 |
- # Drop dependencies for file system events not available on Gentoo. |
97 |
- sed -i -e '/\(fsevent\|kqueue\)/d' ${RUBY_FAKEGEM_GEMSPEC} || die |
98 |
-} |