From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/activejob: metadata.xml ChangeLog activejob-4.2.0.ebuild |
Date: | Thu, 01 Jan 2015 10:19:52 |
Message-Id: | 20150101101949.18398EA16@oystercatcher.gentoo.org |
1 | graaff 15/01/01 10:19:49 |
2 | |
3 | Added: metadata.xml ChangeLog activejob-4.2.0.ebuild |
4 | Log: |
5 | Initial import. New dependency for Rails 4.2. |
6 | |
7 | (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/activejob/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>ruby</herd> |
21 | </pkgmetadata> |
22 | |
23 | |
24 | |
25 | 1.1 dev-ruby/activejob/ChangeLog |
26 | |
27 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/ChangeLog?rev=1.1&view=markup |
28 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/ChangeLog?rev=1.1&content-type=text/plain |
29 | |
30 | Index: ChangeLog |
31 | =================================================================== |
32 | # ChangeLog for dev-ruby/activejob |
33 | # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
34 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activejob/ChangeLog,v 1.1 2015/01/01 10:19:49 graaff Exp $ |
35 | |
36 | *activejob-4.2.0 (01 Jan 2015) |
37 | |
38 | 01 Jan 2015; Hans de Graaff <graaff@g.o> +activejob-4.2.0.ebuild, |
39 | +metadata.xml: |
40 | Initial import. New dependency for Rails 4.2. |
41 | |
42 | |
43 | |
44 | |
45 | 1.1 dev-ruby/activejob/activejob-4.2.0.ebuild |
46 | |
47 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/activejob-4.2.0.ebuild?rev=1.1&view=markup |
48 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/activejob/activejob-4.2.0.ebuild?rev=1.1&content-type=text/plain |
49 | |
50 | Index: activejob-4.2.0.ebuild |
51 | =================================================================== |
52 | # Copyright 1999-2015 Gentoo Foundation |
53 | # Distributed under the terms of the GNU General Public License v2 |
54 | # $Header: /var/cvsroot/gentoo-x86/dev-ruby/activejob/activejob-4.2.0.ebuild,v 1.1 2015/01/01 10:19:49 graaff Exp $ |
55 | |
56 | EAPI=5 |
57 | |
58 | USE_RUBY="ruby19 ruby20 ruby21" |
59 | |
60 | RUBY_FAKEGEM_TASK_DOC="" |
61 | RUBY_FAKEGEM_DOCDIR="" |
62 | RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
63 | |
64 | RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
65 | |
66 | inherit ruby-fakegem versionator |
67 | |
68 | DESCRIPTION="Job framework with pluggable queues" |
69 | HOMEPAGE="http://github.com/rails/rails" |
70 | SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
71 | |
72 | LICENSE="MIT" |
73 | SLOT="$(get_version_component_range 1-2)" |
74 | KEYWORDS="~amd64" |
75 | IUSE="" |
76 | |
77 | RUBY_S="rails-${PV}/${PN}" |
78 | |
79 | ruby_add_rdepend " |
80 | ~dev-ruby/activesupport-${PV} |
81 | >=dev-ruby/globalid-0.3.0 |
82 | " |
83 | |
84 | ruby_add_bdepend " |
85 | test? ( |
86 | >=dev-ruby/mocha-0.14.0:0.14 |
87 | )" |
88 | |
89 | all_ruby_prepare() { |
90 | # Set test environment to our hand. |
91 | sed -i -e '/load_paths/d' test/helper.rb || die "Unable to remove load paths" |
92 | |
93 | # Remove all currently unpackaged queues. |
94 | sed -i -e 's/delayed_job qu que queue_classic resque sidekiq sneakers sucker_punch backburner//' Rakefile || die |
95 | } |