1 |
commit: 5c12d8ed9966d90e78613be43a9a1bf06b14c59f |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 1 06:50:30 2016 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 1 06:50:30 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c12d8ed |
7 |
|
8 |
dev-ruby/activeresource: add rails 3.2.22.2, bug 576068 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
dev-ruby/activeresource/Manifest | 1 + |
13 |
.../activeresource/activeresource-3.2.22.2.ebuild | 44 ++++++++++++++++++++++ |
14 |
2 files changed, 45 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/activeresource/Manifest b/dev-ruby/activeresource/Manifest |
17 |
index a2f7bef..ac7d293 100644 |
18 |
--- a/dev-ruby/activeresource/Manifest |
19 |
+++ b/dev-ruby/activeresource/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST activeresource-4.0.0.tgz 69142 SHA256 b2f8094b56c589193fa9c275e4a970fdcd4eb7e7885c8a7a12c86eda6c8d2f37 SHA512 bad94922b7125f79988fb8c6694d6a0370ff1271b47d031e1c249441079e98f75a8069602c1eebf2ec8d7e28aab21b0ca42502c79fe06f46dfa5d42659ff79ab WHIRLPOOL 04120c0a81e140435194ae28a98b4c2ba69e3ef663b7fbf02783839b842c92db70742e4c5d204168dfe4a28caac8d3a8d4c2aea81842959819590544b648d867 |
22 |
DIST rails-3.2.22.1.tgz 3570617 SHA256 0678ec5677e6f70a20aa398b323a3d926531e1da266734ec90c34e111512b0fc SHA512 29b9e7aca818ed08111cc6306edfcbf88969ab2cbb0f36b9a189f8a29c2dec966e3a453d7b9ee9fc0cf06f0786aa493839440a2d6fb338b13b801978b08f4656 WHIRLPOOL b797311ab5420c4663b1617e5fabdc30a66619f1b6a16aa68ed96f5e38f4daff89cecc8bf9f3d7a702f17ae7da6bedf128adad2a3120f50a25ff85aff5cb6527 |
23 |
+DIST rails-3.2.22.2.tgz 3571822 SHA256 6aaef5723f3a409d057ace5500f1743168bde8f45114d9b5d861bb6e05444356 SHA512 b0c1817164168e2b8ae5b748dd1dd88097c2047d2e2eb31e403a5b865a1e50c43f8841a0e60ccdda6d5a859bba9acdfb06462cb8ba93a3e9ecc57dc349f8be13 WHIRLPOOL 8f5e674020a4c00a9a5da6e2e25aceb408ccb01f8adce74128a99cbb602d08da31de44b496a42d86bbf3887830785bfb961c95231d98bb1ce5d17755741dd3e1 |
24 |
|
25 |
diff --git a/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild b/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..7e534e9 |
28 |
--- /dev/null |
29 |
+++ b/dev-ruby/activeresource/activeresource-3.2.22.2.ebuild |
30 |
@@ -0,0 +1,44 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+USE_RUBY="ruby20 ruby21" |
38 |
+ |
39 |
+RUBY_FAKEGEM_TASK_DOC="" |
40 |
+RUBY_FAKEGEM_DOCDIR="doc" |
41 |
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc" |
42 |
+ |
43 |
+RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec" |
44 |
+ |
45 |
+inherit ruby-fakegem versionator |
46 |
+ |
47 |
+DESCRIPTION="Think Active Record for web resources" |
48 |
+HOMEPAGE="https://github.com/rails/rails" |
49 |
+SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="$(get_version_component_range 1-2)" |
53 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
54 |
+IUSE="" |
55 |
+ |
56 |
+RUBY_S="rails-${PV}/${PN}" |
57 |
+ |
58 |
+ruby_add_rdepend "~dev-ruby/activesupport-${PV} |
59 |
+ dev-ruby/builder:3" |
60 |
+ruby_add_bdepend " |
61 |
+ test? ( |
62 |
+ dev-ruby/test-unit:2 |
63 |
+ >=dev-ruby/mocha-0.13.0:0.13 |
64 |
+ )" |
65 |
+ |
66 |
+all_ruby_prepare() { |
67 |
+ # Set test environment to our hand. |
68 |
+ rm "${S}/../Gemfile" || die "Unable to remove Gemfile" |
69 |
+ sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths" |
70 |
+ |
71 |
+ # Make sure we use the test-unit gem since ruby18 does not provide |
72 |
+ # all the test-unit features needed. |
73 |
+ sed -i -e '1igem "test-unit"' test/abstract_unit.rb || die |
74 |
+} |