1 |
commit: 3b6efcf125b39936de6fd2007282811cadb56468 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 22 05:52:27 2017 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 22 05:52:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b6efcf1 |
7 |
|
8 |
dev-ruby/jira-ruby: add 1.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-ruby/jira-ruby/Manifest | 1 + |
13 |
dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild | 43 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-ruby/jira-ruby/Manifest b/dev-ruby/jira-ruby/Manifest |
17 |
index f93a7e8d318..59498e0756c 100644 |
18 |
--- a/dev-ruby/jira-ruby/Manifest |
19 |
+++ b/dev-ruby/jira-ruby/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST jira-ruby-1.2.0.gem 53760 SHA256 427127d81f6cbe94ba8c0b9c25e7caedcdee6226719ddd9a9ab4b9c64d2dda4a SHA512 83f469a818fcfe84fb4d7dd744400f937b114930e3108ac3a2d4aa99f4d0780961d929b781cc0f9bb614c09cc7651a7e9addb2d5a38caa086f239abc5aed92f8 WHIRLPOOL 130da1340fb7b28bd0046f6b370498aa8dcde13c89dab4693e2c18f34ccbb469101a255aa3a4e15fed783dbf2c691709747eb1f3d2f710124c16c477cbf975e6 |
22 |
+DIST jira-ruby-1.3.0.gem 57344 SHA256 b25f24188e42b0e87b6a8d5b6abfab999e94ae82de5fde32a1e9661c648e093a SHA512 dcfbce86e21b57a2c50d11655d4e94c7341c32f32c935f7d2f841d4706e61011c96b2bc57a8d7f2c0c6a1288b21ac7fcef9d21d16a8b6a8d6f82e6e8ef77b7ac WHIRLPOOL 936630df6c1f7bd63d7349a305fd64b34794c08c38cbdebb7e5d9aefde76904ad2696201b14f67b460ddc17f0802499662452b2f9517e411ac2526e8da0f83d8 |
23 |
|
24 |
diff --git a/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild b/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..cb9db68128a |
27 |
--- /dev/null |
28 |
+++ b/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild |
29 |
@@ -0,0 +1,43 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+ |
35 |
+USE_RUBY="ruby22 ruby23" |
36 |
+ |
37 |
+RUBY_FAKEGEM_RECIPE_TEST="rspec3" |
38 |
+RUBY_FAKEGEM_RECIPE_DOC="rdoc" |
39 |
+ |
40 |
+inherit ruby-fakegem |
41 |
+ |
42 |
+DESCRIPTION="API for JIRA" |
43 |
+HOMEPAGE="https://github.com/sumoheavy/jira-ruby https://rubygems.org/gems/jira-ruby" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+IUSE="" |
49 |
+ |
50 |
+ruby_add_rdepend "dev-ruby/activesupport:* |
51 |
+ dev-ruby/multipart-post |
52 |
+ >=dev-ruby/oauth-0.5.0 |
53 |
+ <dev-ruby/oauth-1" |
54 |
+ |
55 |
+ruby_add_bdepend "test? ( |
56 |
+ dev-ruby/railties |
57 |
+ >=dev-ruby/webmock-1.18.0:0 |
58 |
+ dev-ruby/rake )" |
59 |
+ |
60 |
+DEPEND="${DEPEND} test? ( dev-libs/openssl:0 )" |
61 |
+ |
62 |
+all_ruby_prepare() { |
63 |
+ sed -i -e "/bundler/d" \ |
64 |
+ -e '1igem "webmock", "~>1.0"' \ |
65 |
+ spec/spec_helper.rb || die |
66 |
+ sed -i -e '/git ls-files/d' ${PN}.gemspec || die |
67 |
+} |
68 |
+ |
69 |
+each_ruby_test() { |
70 |
+ ${RUBY} -S rake jira:generate_public_cert || die |
71 |
+ RSPEC_VERSION=3 ruby-ng_rspec || die |
72 |
+} |