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/activesupport: ChangeLog activesupport-3.1.7.ebuild
Date: Sat, 28 Jul 2012 07:37:35
Message-Id: 20120728073724.43D8B2004B@flycatcher.gentoo.org
1 graaff 12/07/28 07:37:24
2
3 Modified: ChangeLog
4 Added: activesupport-3.1.7.ebuild
5 Log:
6 Version bump for Rails 3.1.7, bug 428254.
7
8 (Portage version: 2.1.10.65/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.180 dev-ruby/activesupport/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.180&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.180&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?r1=1.179&r2=1.180
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v
20 retrieving revision 1.179
21 retrieving revision 1.180
22 diff -u -r1.179 -r1.180
23 --- ChangeLog 27 Jul 2012 06:12:01 -0000 1.179
24 +++ ChangeLog 28 Jul 2012 07:37:24 -0000 1.180
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/activesupport
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.179 2012/07/27 06:12:01 graaff Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.180 2012/07/28 07:37:24 graaff Exp $
30 +
31 +*activesupport-3.1.7 (28 Jul 2012)
32 +
33 + 28 Jul 2012; Hans de Graaff <graaff@g.o> +activesupport-3.1.7.ebuild:
34 + Version bump for Rails 3.1.7, bug 428254.
35
36 *activesupport-3.2.7 (27 Jul 2012)
37
38
39
40
41 1.1 dev-ruby/activesupport/activesupport-3.1.7.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-3.1.7.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-3.1.7.ebuild?rev=1.1&content-type=text/plain
45
46 Index: activesupport-3.1.7.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-3.1.7.ebuild,v 1.1 2012/07/28 07:37:24 graaff Exp $
51
52 EAPI=4
53
54 # jruby fails tests.
55 USE_RUBY="ruby18 ree18 ruby19"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
60
61 RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
62
63 inherit ruby-fakegem
64
65 DESCRIPTION="Utility Classes and Extension to the Standard Library"
66 HOMEPAGE="http://rubyforge.org/projects/activesupport/"
67 SRC_URI="https://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
68
69 LICENSE="MIT"
70 SLOT="3.1"
71 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
72 IUSE=""
73
74 RUBY_S="rails-rails-*/${PN}"
75
76 ruby_add_rdepend ">=dev-ruby/memcache-client-1.5.8
77 >=dev-ruby/multi_json-1.0
78 dev-ruby/i18n:0.6
79 !!<dev-ruby/activesupport-3.0.11-r1:3.0"
80
81 # libxml-ruby, nokogiri, and builder are not strictly needed, but there
82 # are tests using this code.
83 ruby_add_bdepend "test? (
84 virtual/ruby-test-unit
85 >=dev-ruby/libxml-2.0.0
86 dev-ruby/nokogiri
87 dev-ruby/builder:0
88 )"
89
90 all_ruby_prepare() {
91 # don't support older mocha versions as the optional codepath
92 # breaks JRuby
93 epatch "${FILESDIR}"/${PN}-3.0.3-mocha-0.9.5.patch
94
95 # Set test environment to our hand.
96 # rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
97 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
98
99 # Remove upper restriction from gemspec. All tests pass with
100 # multi_json 1.3.5. The upstream commit doesn't give details but
101 # most likely this was added to avoid multi_json 1.3.0 which broke
102 # compatibility. This was later fixed in 1.3.1. 1.3.0 is no longer
103 # in portage so from a Gentoo point of view it is safe to depend on
104 # => 1.0.
105 sed -i -e "s/, '< 1.3'//" activesupport.gemspec || die
106
107 # Avoid tests that do not work with newer versions of mocha.
108 rm test/whiny_nil_test.rb || die
109 }