1 |
commit: b3f3a694f3a7d4fa338d5236d7b503e04e65e814 |
2 |
Author: Hans de Graaff <hans <AT> degraaff <DOT> org> |
3 |
AuthorDate: Sun May 19 06:51:15 2013 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 19 06:51:15 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=b3f3a694 |
7 |
|
8 |
fastercsv is not available for ruby19, fix gemspec accordingly. |
9 |
|
10 |
Package-Manager: portage-2.1.11.62 |
11 |
|
12 |
--- |
13 |
dev-ruby/statsample/ChangeLog | 6 ++++++ |
14 |
...ple-1.2.0.ebuild => statsample-1.2.0-r1.ebuild} | 11 +++++++++-- |
15 |
2 files changed, 15 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/statsample/ChangeLog b/dev-ruby/statsample/ChangeLog |
18 |
index a34ad76..f9c971e 100644 |
19 |
--- a/dev-ruby/statsample/ChangeLog |
20 |
+++ b/dev-ruby/statsample/ChangeLog |
21 |
@@ -2,6 +2,12 @@ |
22 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+*statsample-1.2.0-r1 (19 May 2013) |
26 |
+ |
27 |
+ 19 May 2013; Hans de Graaff <graaff@g.o> -statsample-1.2.0.ebuild, |
28 |
+ +statsample-1.2.0-r1.ebuild: |
29 |
+ fastercsv is not available for ruby19, fix gemspec accordingly. |
30 |
+ |
31 |
19 May 2013; Hans de Graaff <graaff@g.o> -statsample-1.1.0.ebuild, |
32 |
-statsample-1.1.0-r1.ebuild: |
33 |
Cleanup. |
34 |
|
35 |
diff --git a/dev-ruby/statsample/statsample-1.2.0.ebuild b/dev-ruby/statsample/statsample-1.2.0-r1.ebuild |
36 |
similarity index 91% |
37 |
rename from dev-ruby/statsample/statsample-1.2.0.ebuild |
38 |
rename to dev-ruby/statsample/statsample-1.2.0-r1.ebuild |
39 |
index 37c510f..919eb4b 100644 |
40 |
--- a/dev-ruby/statsample/statsample-1.2.0.ebuild |
41 |
+++ b/dev-ruby/statsample/statsample-1.2.0-r1.ebuild |
42 |
@@ -1,4 +1,4 @@ |
43 |
-# Copyright 1999-2012 Gentoo Foundation |
44 |
+# Copyright 1999-2013 Gentoo Foundation |
45 |
# Distributed under the terms of the GNU General Public License v2 |
46 |
# $Header: $ |
47 |
|
48 |
@@ -50,7 +50,6 @@ USE_RUBY="ruby18 ree18 jruby" ruby_add_rdepend "dev-ruby/fastercsv" |
49 |
# rserve-client (~> 0, development) |
50 |
# shoulda (~> 0, development) |
51 |
|
52 |
- |
53 |
all_ruby_prepare() { |
54 |
# Nasty hack to avoid adding a bunch of dependencies I don't need now... |
55 |
sed -i -e '/reportbuilder/d' lib/statsample.rb || die |
56 |
@@ -63,3 +62,11 @@ all_ruby_prepare() { |
57 |
# right now. |
58 |
sed -i -e '/minimization/d' -e '/reportbuilder/d' -e '/rserve-client/d' -e '/spreadsheet/d' -e '/bivariate-extension/d' -e '/rubyvis/d' statsample.gemspec |
59 |
} |
60 |
+ |
61 |
+each_ruby_prepare() { |
62 |
+ case ${RUBY} in |
63 |
+ *ruby19) |
64 |
+ sed -i -e '/fastercsv/d' statsample.gemspec || die |
65 |
+ ;; |
66 |
+ esac |
67 |
+} |