summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2020-06-26 14:22:41 +0200
committerHans de Graaff <graaff@gentoo.org>2020-06-26 14:42:01 +0200
commit3e468f21b9f3d83a45d0498a02921f8503ccac15 (patch)
tree95c0183293f9eed5c6d995978ea6410524635597 /dev-ruby/vcr/vcr-5.1.0.ebuild
parentdev-ruby/vcr: cleanup (diff)
downloadgentoo-3e468f21b9f3d83a45d0498a02921f8503ccac15.tar.gz
gentoo-3e468f21b9f3d83a45d0498a02921f8503ccac15.tar.bz2
gentoo-3e468f21b9f3d83a45d0498a02921f8503ccac15.zip
dev-ruby/vcr: add json USE flag
Add support for casettes serialized in JSON by adding the required dependency for it. Bug: https://bugs.gentoo.org/729484 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/vcr/vcr-5.1.0.ebuild')
-rw-r--r--dev-ruby/vcr/vcr-5.1.0.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/vcr/vcr-5.1.0.ebuild b/dev-ruby/vcr/vcr-5.1.0.ebuild
index ca4669a2923a..c6e6cd0a24d1 100644
--- a/dev-ruby/vcr/vcr-5.1.0.ebuild
+++ b/dev-ruby/vcr/vcr-5.1.0.ebuild
@@ -17,8 +17,10 @@ LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
SLOT="$(ver_cut 1)"
-IUSE="test"
+IUSE="json test"
# Tests require all supported HTTP libraries to be present, and it is
# not possible to avoid some of them without very extensive patches.
RESTRICT="test"
+
+ruby_add_rdepend "json? ( dev-ruby/multi_json )"