Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/activejob/
Date: Tue, 01 Mar 2016 05:49:35
Message-Id: 1456811315.d5501733ef7e95517b01c51d21360856c8a33c1d.graaff@gentoo
1 commit: d5501733ef7e95517b01c51d21360856c8a33c1d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 05:43:18 2016 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 05:48:35 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5501733
7
8 dev-ruby/activejob: add rails 4.2.5.2, bug 576068
9
10 Package-Manager: portage-2.2.26
11
12 dev-ruby/activejob/Manifest | 1 +
13 dev-ruby/activejob/activejob-4.2.5.2.ebuild | 44 +++++++++++++++++++++++++++++
14 2 files changed, 45 insertions(+)
15
16 diff --git a/dev-ruby/activejob/Manifest b/dev-ruby/activejob/Manifest
17 index 770ab93..fca0421 100644
18 --- a/dev-ruby/activejob/Manifest
19 +++ b/dev-ruby/activejob/Manifest
20 @@ -1 +1,2 @@
21 DIST rails-4.2.5.1.tgz 4175926 SHA256 713da4f88244101457b4de5d08007f4b373cb43c3982d72de70bb5c5145afb46 SHA512 3c74d825f35a71dd80a0e1d3959cc6d9e52da0f2eb43bfb869da22a8117ba4f66df1de183851b7cd9e3c2cc8a0b5a8ae4e6902d3b43afd52ccdd20470b49801d WHIRLPOOL dfb4f925468cfbadd73fd54eb146e377df8e4d67aa094076dd928c616d6cfddb9084cee2adb220490df0c34627a99b150118bc7827b2ca5f6d0751611993b53f
22 +DIST rails-4.2.5.2.tgz 4174380 SHA256 c5dfe36d5ac69f2a852665c2025d289a4d57dc204209b4b3013dcbd0d33f544f SHA512 f2dc1b86c296c9b3862d050a6471f4c529bb246cee6a18106e3e48f588d6a5d665529c95ab94c7d8a9197bf247869805ef908d1255e67641e2cc906e15dcd2e3 WHIRLPOOL 4d933582683d2838fee5d042c1e783afb790a0197b3470969ead3eb79f263cc4862b51bfb30e6a14552473813a8dca237c7241c78f4cc8279c267ba692cbf5d6
23
24 diff --git a/dev-ruby/activejob/activejob-4.2.5.2.ebuild b/dev-ruby/activejob/activejob-4.2.5.2.ebuild
25 new file mode 100644
26 index 0000000..c42f4f3
27 --- /dev/null
28 +++ b/dev-ruby/activejob/activejob-4.2.5.2.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 1999-2016 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +# $Id$
33 +
34 +EAPI=5
35 +
36 +USE_RUBY="ruby20 ruby21 ruby22"
37 +
38 +RUBY_FAKEGEM_TASK_DOC=""
39 +RUBY_FAKEGEM_DOCDIR=""
40 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
41 +
42 +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
43 +
44 +inherit ruby-fakegem versionator
45 +
46 +DESCRIPTION="Job framework with pluggable queues"
47 +HOMEPAGE="https://github.com/rails/rails"
48 +SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
49 +
50 +LICENSE="MIT"
51 +SLOT="$(get_version_component_range 1-2)"
52 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
53 +IUSE=""
54 +
55 +RUBY_S="rails-${PV}/${PN}"
56 +
57 +ruby_add_rdepend "
58 + ~dev-ruby/activesupport-${PV}
59 + >=dev-ruby/globalid-0.3.0
60 +"
61 +
62 +ruby_add_bdepend "
63 + test? (
64 + >=dev-ruby/mocha-0.14.0:0.14
65 + )"
66 +
67 +all_ruby_prepare() {
68 + # Set test environment to our hand.
69 + sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths"
70 +
71 + # Remove all currently unpackaged queues.
72 + sed -i -e 's/delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner//' Rakefile || die
73 +}