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-4.2.0.ebuild
Date: Thu, 01 Jan 2015 10:18:48
Message-Id: 20150101101843.23B97EA16@oystercatcher.gentoo.org
1 graaff 15/01/01 10:18:43
2
3 Modified: ChangeLog
4 Added: activesupport-4.2.0.ebuild
5 Log:
6 Version bump for Rails 4.2. Dropped keywords tracked in bug 534186.
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
9
10 Revision Changes Path
11 1.278 dev-ruby/activesupport/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.278&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?rev=1.278&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/ChangeLog?r1=1.277&r2=1.278
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v
20 retrieving revision 1.277
21 retrieving revision 1.278
22 diff -u -r1.277 -r1.278
23 --- ChangeLog 20 Dec 2014 07:31:59 -0000 1.277
24 +++ ChangeLog 1 Jan 2015 10:18:43 -0000 1.278
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-ruby/activesupport
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.277 2014/12/20 07:31:59 graaff Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/ChangeLog,v 1.278 2015/01/01 10:18:43 graaff Exp $
31 +
32 +*activesupport-4.2.0 (01 Jan 2015)
33 +
34 + 01 Jan 2015; Hans de Graaff <graaff@g.o> +activesupport-4.2.0.ebuild:
35 + Version bump for Rails 4.2. Dropped keywords tracked in bug 534186.
36
37 20 Dec 2014; Hans de Graaff <graaff@g.o> -activesupport-3.2.20.ebuild,
38 -activesupport-4.0.11.ebuild, -activesupport-4.1.7.ebuild:
39
40
41
42 1.1 dev-ruby/activesupport/activesupport-4.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-4.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activesupport/activesupport-4.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: activesupport-4.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activesupport/activesupport-4.2.0.ebuild,v 1.1 2015/01/01 10:18:43 graaff Exp $
52
53 EAPI=5
54
55 USE_RUBY="ruby19 ruby20 ruby21"
56
57 RUBY_FAKEGEM_TASK_DOC=""
58
59 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
60
61 RUBY_FAKEGEM_GEMSPEC="activesupport.gemspec"
62
63 RUBY_FAKEGEM_BINWRAP=""
64
65 inherit ruby-fakegem versionator
66
67 DESCRIPTION="Utility Classes and Extension to the Standard Library"
68 HOMEPAGE="http://rubyforge.org/projects/activesupport/"
69 SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
70
71 LICENSE="MIT"
72 SLOT="$(get_version_component_range 1-2)"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
74 IUSE=""
75
76 RUBY_S="rails-${PV}/${PN}"
77
78 ruby_add_rdepend "
79 >=dev-ruby/i18n-0.7:0.7
80 >=dev-ruby/json-1.7.7:0
81 >=dev-ruby/tzinfo-1.1:1
82 >=dev-ruby/minitest-5.1:5
83 >=dev-ruby/thread_safe-0.3.4:0"
84
85 # memcache-client, nokogiri, and builder are not strictly
86 # needed, but there are tests using this code.
87 ruby_add_bdepend "test? (
88 >=dev-ruby/dalli-2.2.1
89 >=dev-ruby/nokogiri-1.4.5
90 >=dev-ruby/builder-3.1.0
91 >=dev-ruby/libxml-2.0.0
92 )"
93
94 all_ruby_prepare() {
95 # Set the secure permissions that tests expect.
96 chmod 0755 "${HOME}" || die "Failed to fix permissions on home"
97
98 # Set test environment to our hand.
99 # rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
100 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
101
102 # Avoid test that seems to be broken by lack of DST.
103 sed -i -e '369 s:^:#:' test/core_ext/string_ext_test.rb || die
104
105 # Avoid test that fails with Minitest 5.4 since that already defines
106 # a string E in its TestCase.
107 rm test/core_ext/marshal_test.rb || die
108 sed -i -e '/test_const_missing_in_anonymous_modules/askip "gentoo minitest"' test/dependencies_test.rb || die
109 }