commit:     b0985d19724759446ccd0921b37cef9f5cadaa77
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 10 04:55:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 04:55:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0985d19

dev-lang/ruby: fix MissingUseDepDefault in deps

This both fixes a pkgcheck warning but may help Portage with upgrades a bit
too (or at least lead to less confusing output).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ruby/ruby-2.7.8-r1.ebuild | 10 +++++-----
 dev-lang/ruby/ruby-3.0.6-r1.ebuild | 26 ++++++++++++-------------
 dev-lang/ruby/ruby-3.1.4-r1.ebuild | 26 ++++++++++++-------------
 dev-lang/ruby/ruby-3.2.2-r1.ebuild | 40 +++++++++++++++++++-------------------
 4 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/dev-lang/ruby/ruby-2.7.8-r1.ebuild 
b/dev-lang/ruby/ruby-2.7.8-r1.ebuild
index 6090b5d0a1ab..00bfcea0af62 100644
--- a/dev-lang/ruby/ruby-2.7.8-r1.ebuild
+++ b/dev-lang/ruby/ruby-2.7.8-r1.ebuild
@@ -55,11 +55,11 @@ BUNDLED_GEMS="
 
 PDEPEND="
        ${BUNDLED_GEMS}
-       virtual/rubygems[ruby_targets_ruby27]
-       >=dev-ruby/bundler-2.1.4[ruby_targets_ruby27]
-       >=dev-ruby/did_you_mean-1.3.1[ruby_targets_ruby27]
-       >=dev-ruby/json-2.0.2[ruby_targets_ruby27]
-       rdoc? ( >=dev-ruby/rdoc-6.1.2[ruby_targets_ruby27] )
+       virtual/rubygems[ruby_targets_ruby27(-)]
+       >=dev-ruby/bundler-2.1.4[ruby_targets_ruby27(-)]
+       >=dev-ruby/did_you_mean-1.3.1[ruby_targets_ruby27(-)]
+       >=dev-ruby/json-2.0.2[ruby_targets_ruby27(-)]
+       rdoc? ( >=dev-ruby/rdoc-6.1.2[ruby_targets_ruby27(-)] )
        xemacs? ( app-xemacs/ruby-modes )"
 
 src_prepare() {

diff --git a/dev-lang/ruby/ruby-3.0.6-r1.ebuild 
b/dev-lang/ruby/ruby-3.0.6-r1.ebuild
index fd4e239eb841..b75e5b052e8b 100644
--- a/dev-lang/ruby/ruby-3.0.6-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.0.6-r1.ebuild
@@ -45,23 +45,23 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 BUNDLED_GEMS="
-       >=dev-ruby/minitest-5.14.2[ruby_targets_ruby30]
-       >=dev-ruby/power_assert-1.2.0[ruby_targets_ruby30]
-       >=dev-ruby/rake-13.0.3[ruby_targets_ruby30]
-       >=dev-ruby/rbs-1.0.0[ruby_targets_ruby30]
-       >=dev-ruby/rexml-3.2.4[ruby_targets_ruby30]
-       >=dev-ruby/rss-0.2.9[ruby_targets_ruby30]
-       >=dev-ruby/test-unit-3.3.7[ruby_targets_ruby30]
-       >=dev-ruby/typeprof-0.11.0[ruby_targets_ruby30]
+       >=dev-ruby/minitest-5.14.2[ruby_targets_ruby30(-)]
+       >=dev-ruby/power_assert-1.2.0[ruby_targets_ruby30(-)]
+       >=dev-ruby/rake-13.0.3[ruby_targets_ruby30(-)]
+       >=dev-ruby/rbs-1.0.0[ruby_targets_ruby30(-)]
+       >=dev-ruby/rexml-3.2.4[ruby_targets_ruby30(-)]
+       >=dev-ruby/rss-0.2.9[ruby_targets_ruby30(-)]
+       >=dev-ruby/test-unit-3.3.7[ruby_targets_ruby30(-)]
+       >=dev-ruby/typeprof-0.11.0[ruby_targets_ruby30(-)]
 "
 
 PDEPEND="
        ${BUNDLED_GEMS}
-       virtual/rubygems[ruby_targets_ruby30]
-       >=dev-ruby/bundler-2.2.15[ruby_targets_ruby30]
-       >=dev-ruby/did_you_mean-1.5.0[ruby_targets_ruby30]
-       >=dev-ruby/json-2.5.1[ruby_targets_ruby30]
-       rdoc? ( >=dev-ruby/rdoc-6.3.0[ruby_targets_ruby30] )
+       virtual/rubygems[ruby_targets_ruby30(-)]
+       >=dev-ruby/bundler-2.2.15[ruby_targets_ruby30(-)]
+       >=dev-ruby/did_you_mean-1.5.0[ruby_targets_ruby30(-)]
+       >=dev-ruby/json-2.5.1[ruby_targets_ruby30(-)]
+       rdoc? ( >=dev-ruby/rdoc-6.3.0[ruby_targets_ruby30(-)] )
        xemacs? ( app-xemacs/ruby-modes )"
 
 src_prepare() {

diff --git a/dev-lang/ruby/ruby-3.1.4-r1.ebuild 
b/dev-lang/ruby/ruby-3.1.4-r1.ebuild
index 9f545678341d..36a6e643723f 100644
--- a/dev-lang/ruby/ruby-3.1.4-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.1.4-r1.ebuild
@@ -45,23 +45,23 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 BUNDLED_GEMS="
-       >=dev-ruby/minitest-5.15.0[ruby_targets_ruby31]
-       >=dev-ruby/power_assert-2.0.1[ruby_targets_ruby31]
-       >=dev-ruby/rake-13.0.6[ruby_targets_ruby31]
-       >=dev-ruby/rbs-2.1.0[ruby_targets_ruby31]
-       >=dev-ruby/rexml-3.2.5[ruby_targets_ruby31]
-       >=dev-ruby/rss-0.2.9[ruby_targets_ruby31]
-       >=dev-ruby/test-unit-3.5.3[ruby_targets_ruby31]
-       >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31]
+       >=dev-ruby/minitest-5.15.0[ruby_targets_ruby31(-)]
+       >=dev-ruby/power_assert-2.0.1[ruby_targets_ruby31(-)]
+       >=dev-ruby/rake-13.0.6[ruby_targets_ruby31(-)]
+       >=dev-ruby/rbs-2.1.0[ruby_targets_ruby31(-)]
+       >=dev-ruby/rexml-3.2.5[ruby_targets_ruby31(-)]
+       >=dev-ruby/rss-0.2.9[ruby_targets_ruby31(-)]
+       >=dev-ruby/test-unit-3.5.3[ruby_targets_ruby31(-)]
+       >=dev-ruby/typeprof-0.12.2[ruby_targets_ruby31(-)]
 "
 
 PDEPEND="
        ${BUNDLED_GEMS}
-       virtual/rubygems[ruby_targets_ruby31]
-       >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31]
-       >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31]
-       >=dev-ruby/json-2.6.1[ruby_targets_ruby31]
-       rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31] )
+       virtual/rubygems[ruby_targets_ruby31(-)]
+       >=dev-ruby/bundler-2.3.3[ruby_targets_ruby31(-)]
+       >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby31(-)]
+       >=dev-ruby/json-2.6.1[ruby_targets_ruby31(-)]
+       rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby31(-)] )
        xemacs? ( app-xemacs/ruby-modes )"
 
 src_prepare() {

diff --git a/dev-lang/ruby/ruby-3.2.2-r1.ebuild 
b/dev-lang/ruby/ruby-3.2.2-r1.ebuild
index f77a9a393e65..dca82be67f05 100644
--- a/dev-lang/ruby/ruby-3.2.2-r1.ebuild
+++ b/dev-lang/ruby/ruby-3.2.2-r1.ebuild
@@ -45,30 +45,30 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 BUNDLED_GEMS="
-       >=dev-ruby/debug-1.7.1[ruby_targets_ruby32]
-       >=dev-ruby/matrix-0.4.2[ruby_targets_ruby32]
-       >=dev-ruby/minitest-5.16.3[ruby_targets_ruby32]
-       >=dev-ruby/net-ftp-0.2.0[ruby_targets_ruby32]
-       >=dev-ruby/net-imap-0.3.4[ruby_targets_ruby32]
-       >=dev-ruby/net-pop-0.1.2[ruby_targets_ruby32]
-       >=dev-ruby/net-smtp-0.3.3[ruby_targets_ruby32]
-       >=dev-ruby/power_assert-2.0.3[ruby_targets_ruby32]
-       >=dev-ruby/prime-0.1.2[ruby_targets_ruby32]
-       >=dev-ruby/rake-13.0.6[ruby_targets_ruby32]
-       >=dev-ruby/rbs-2.8.2[ruby_targets_ruby32]
-       >=dev-ruby/rexml-3.2.5[ruby_targets_ruby32]
-       >=dev-ruby/rss-0.2.9[ruby_targets_ruby32]
-       >=dev-ruby/test-unit-3.5.7[ruby_targets_ruby32]
-       >=dev-ruby/typeprof-0.21.3[ruby_targets_ruby32]
+       >=dev-ruby/debug-1.7.1[ruby_targets_ruby32(-)]
+       >=dev-ruby/matrix-0.4.2[ruby_targets_ruby32(-)]
+       >=dev-ruby/minitest-5.16.3[ruby_targets_ruby32(-)]
+       >=dev-ruby/net-ftp-0.2.0[ruby_targets_ruby32(-)]
+       >=dev-ruby/net-imap-0.3.4[ruby_targets_ruby32(-)]
+       >=dev-ruby/net-pop-0.1.2[ruby_targets_ruby32(-)]
+       >=dev-ruby/net-smtp-0.3.3[ruby_targets_ruby32(-)]
+       >=dev-ruby/power_assert-2.0.3[ruby_targets_ruby32(-)]
+       >=dev-ruby/prime-0.1.2[ruby_targets_ruby32(-)]
+       >=dev-ruby/rake-13.0.6[ruby_targets_ruby32(-)]
+       >=dev-ruby/rbs-2.8.2[ruby_targets_ruby32(-)]
+       >=dev-ruby/rexml-3.2.5[ruby_targets_ruby32(-)]
+       >=dev-ruby/rss-0.2.9[ruby_targets_ruby32(-)]
+       >=dev-ruby/test-unit-3.5.7[ruby_targets_ruby32(-)]
+       >=dev-ruby/typeprof-0.21.3[ruby_targets_ruby32(-)]
 "
 
 PDEPEND="
        ${BUNDLED_GEMS}
-       virtual/rubygems[ruby_targets_ruby32]
-       >=dev-ruby/bundler-2.3.3[ruby_targets_ruby32]
-       >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby32]
-       >=dev-ruby/json-2.6.1[ruby_targets_ruby32]
-       rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby32] )
+       virtual/rubygems[ruby_targets_ruby32(-)]
+       >=dev-ruby/bundler-2.3.3[ruby_targets_ruby32(-)]
+       >=dev-ruby/did_you_mean-1.6.1[ruby_targets_ruby32(-)]
+       >=dev-ruby/json-2.6.1[ruby_targets_ruby32(-)]
+       rdoc? ( >=dev-ruby/rdoc-6.3.3[ruby_targets_ruby32(-)] )
        xemacs? ( app-xemacs/ruby-modes )"
 
 src_prepare() {

Reply via email to