From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/vcr/
Date: Fri, 26 Jun 2020 12:42:15 +0000 (UTC) [thread overview]
Message-ID: <1593175321.3e468f21b9f3d83a45d0498a02921f8503ccac15.graaff@gentoo> (raw)
commit: 3e468f21b9f3d83a45d0498a02921f8503ccac15
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 26 12:22:41 2020 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Jun 26 12:42:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e468f21
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 <AT> gentoo.org>
dev-ruby/vcr/metadata.xml | 3 +++
dev-ruby/vcr/vcr-4.0.0.ebuild | 8 +++++---
dev-ruby/vcr/vcr-5.1.0.ebuild | 4 +++-
dev-ruby/vcr/vcr-6.0.0.ebuild | 4 +++-
4 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/dev-ruby/vcr/metadata.xml b/dev-ruby/vcr/metadata.xml
index 3e7ac4fc6b7..588668ce56b 100644
--- a/dev-ruby/vcr/metadata.xml
+++ b/dev-ruby/vcr/metadata.xml
@@ -8,4 +8,7 @@
<upstream>
<remote-id type="github">myronmarston/vcr</remote-id>
</upstream>
+ <use>
+ <flag name="json">Add support for casettes serialized with JSON</flag>
+ </use>
</pkgmetadata>
diff --git a/dev-ruby/vcr/vcr-4.0.0.ebuild b/dev-ruby/vcr/vcr-4.0.0.ebuild
index cae5212ae31..096a7318138 100644
--- a/dev-ruby/vcr/vcr-4.0.0.ebuild
+++ b/dev-ruby/vcr/vcr-4.0.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md CONTRIBUTING.md README.md Upgrade.md"
@@ -16,8 +16,10 @@ LICENSE="MIT"
KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
SLOT="3"
-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 )"
diff --git a/dev-ruby/vcr/vcr-5.1.0.ebuild b/dev-ruby/vcr/vcr-5.1.0.ebuild
index ca4669a2923..c6e6cd0a24d 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 )"
diff --git a/dev-ruby/vcr/vcr-6.0.0.ebuild b/dev-ruby/vcr/vcr-6.0.0.ebuild
index ca4669a2923..9df479fba6a 100644
--- a/dev-ruby/vcr/vcr-6.0.0.ebuild
+++ b/dev-ruby/vcr/vcr-6.0.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/json )"
next reply other threads:[~2020-06-26 12:42 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-26 12:42 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-19 17:36 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/vcr/ Hans de Graaff
2025-05-19 17:36 Hans de Graaff
2024-10-17 7:08 Sam James
2024-09-08 6:44 Hans de Graaff
2024-05-26 7:20 Hans de Graaff
2024-01-16 7:36 Hans de Graaff
2023-08-19 5:25 Hans de Graaff
2023-08-19 5:25 Hans de Graaff
2023-07-04 6:01 Hans de Graaff
2023-06-21 5:12 Hans de Graaff
2023-04-12 2:33 Sam James
2023-04-02 6:36 Hans de Graaff
2022-12-03 15:51 Hans de Graaff
2022-04-24 7:06 Hans de Graaff
2022-04-17 5:31 Hans de Graaff
2022-04-17 5:31 Hans de Graaff
2022-03-27 9:54 Hans de Graaff
2022-03-18 6:50 Jakov Smolić
2020-09-06 8:43 Hans de Graaff
2020-06-26 12:42 Hans de Graaff
2020-06-13 4:47 Hans de Graaff
2020-05-13 5:05 Hans de Graaff
2020-02-26 6:25 Hans de Graaff
2019-08-18 5:51 Hans de Graaff
2019-06-29 6:30 Hans de Graaff
2019-05-04 19:14 Hans de Graaff
2019-04-11 17:46 Hans de Graaff
2019-04-09 17:13 Hans de Graaff
2019-01-12 8:33 Hans de Graaff
2018-03-25 19:45 Sergei Trofimovich
2018-03-25 19:45 Sergei Trofimovich
2018-03-15 20:03 Sergei Trofimovich
2018-03-15 20:03 Sergei Trofimovich
2017-12-29 5:18 Hans de Graaff
2017-07-15 5:22 Hans de Graaff
2017-07-15 5:22 Hans de Graaff
2016-11-09 0:44 Manuel Rüger
2016-11-01 6:46 Hans de Graaff
2016-06-13 4:37 Richard Farina
2016-06-06 6:02 Hans de Graaff
2016-06-05 6:24 Hans de Graaff
2016-03-06 19:17 Manuel Rüger
2016-03-06 19:17 Manuel Rüger
2015-12-23 6:41 Hans de Graaff
2015-11-08 7:05 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1593175321.3e468f21b9f3d83a45d0498a02921f8503ccac15.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox