1 |
commit: 3e468f21b9f3d83a45d0498a02921f8503ccac15 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 26 12:22:41 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 26 12:42:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e468f21 |
7 |
|
8 |
dev-ruby/vcr: add json USE flag |
9 |
|
10 |
Add support for casettes serialized in JSON by adding |
11 |
the required dependency for it. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/729484 |
14 |
Package-Manager: Portage-2.3.99, Repoman-2.3.23 |
15 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
16 |
|
17 |
dev-ruby/vcr/metadata.xml | 3 +++ |
18 |
dev-ruby/vcr/vcr-4.0.0.ebuild | 8 +++++--- |
19 |
dev-ruby/vcr/vcr-5.1.0.ebuild | 4 +++- |
20 |
dev-ruby/vcr/vcr-6.0.0.ebuild | 4 +++- |
21 |
4 files changed, 14 insertions(+), 5 deletions(-) |
22 |
|
23 |
diff --git a/dev-ruby/vcr/metadata.xml b/dev-ruby/vcr/metadata.xml |
24 |
index 3e7ac4fc6b7..588668ce56b 100644 |
25 |
--- a/dev-ruby/vcr/metadata.xml |
26 |
+++ b/dev-ruby/vcr/metadata.xml |
27 |
@@ -8,4 +8,7 @@ |
28 |
<upstream> |
29 |
<remote-id type="github">myronmarston/vcr</remote-id> |
30 |
</upstream> |
31 |
+ <use> |
32 |
+ <flag name="json">Add support for casettes serialized with JSON</flag> |
33 |
+ </use> |
34 |
</pkgmetadata> |
35 |
|
36 |
diff --git a/dev-ruby/vcr/vcr-4.0.0.ebuild b/dev-ruby/vcr/vcr-4.0.0.ebuild |
37 |
index cae5212ae31..096a7318138 100644 |
38 |
--- a/dev-ruby/vcr/vcr-4.0.0.ebuild |
39 |
+++ b/dev-ruby/vcr/vcr-4.0.0.ebuild |
40 |
@@ -1,8 +1,8 @@ |
41 |
-# Copyright 1999-2019 Gentoo Authors |
42 |
+# Copyright 1999-2020 Gentoo Authors |
43 |
# Distributed under the terms of the GNU General Public License v2 |
44 |
|
45 |
EAPI=6 |
46 |
-USE_RUBY="ruby23 ruby24 ruby25 ruby26" |
47 |
+USE_RUBY="ruby24 ruby25 ruby26" |
48 |
|
49 |
RUBY_FAKEGEM_TASK_DOC="" |
50 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md" |
51 |
@@ -16,8 +16,10 @@ LICENSE="MIT" |
52 |
|
53 |
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86" |
54 |
SLOT="3" |
55 |
-IUSE="test" |
56 |
+IUSE="json test" |
57 |
|
58 |
# Tests require all supported HTTP libraries to be present, and it is |
59 |
# not possible to avoid some of them without very extensive patches. |
60 |
RESTRICT="test" |
61 |
+ |
62 |
+ruby_add_rdepend "json? ( dev-ruby/multi_json )" |
63 |
|
64 |
diff --git a/dev-ruby/vcr/vcr-5.1.0.ebuild b/dev-ruby/vcr/vcr-5.1.0.ebuild |
65 |
index ca4669a2923..c6e6cd0a24d 100644 |
66 |
--- a/dev-ruby/vcr/vcr-5.1.0.ebuild |
67 |
+++ b/dev-ruby/vcr/vcr-5.1.0.ebuild |
68 |
@@ -17,8 +17,10 @@ LICENSE="MIT" |
69 |
|
70 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
71 |
SLOT="$(ver_cut 1)" |
72 |
-IUSE="test" |
73 |
+IUSE="json test" |
74 |
|
75 |
# Tests require all supported HTTP libraries to be present, and it is |
76 |
# not possible to avoid some of them without very extensive patches. |
77 |
RESTRICT="test" |
78 |
+ |
79 |
+ruby_add_rdepend "json? ( dev-ruby/multi_json )" |
80 |
|
81 |
diff --git a/dev-ruby/vcr/vcr-6.0.0.ebuild b/dev-ruby/vcr/vcr-6.0.0.ebuild |
82 |
index ca4669a2923..9df479fba6a 100644 |
83 |
--- a/dev-ruby/vcr/vcr-6.0.0.ebuild |
84 |
+++ b/dev-ruby/vcr/vcr-6.0.0.ebuild |
85 |
@@ -17,8 +17,10 @@ LICENSE="MIT" |
86 |
|
87 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
88 |
SLOT="$(ver_cut 1)" |
89 |
-IUSE="test" |
90 |
+IUSE="json test" |
91 |
|
92 |
# Tests require all supported HTTP libraries to be present, and it is |
93 |
# not possible to avoid some of them without very extensive patches. |
94 |
RESTRICT="test" |
95 |
+ |
96 |
+ruby_add_rdepend "json? ( dev-ruby/json )" |