summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-24 09:07:52 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-24 09:13:20 +0200
commit83f4fd6221f06b0346af9b9096a171059b8a378a (patch)
treed759f9c48934eacdfe377a2fd1096b13b3871ad9
parentgames-engines/devilutionx: add 1.5.1 (diff)
downloadgentoo-83f4fd6221f06b0346af9b9096a171059b8a378a.tar.gz
gentoo-83f4fd6221f06b0346af9b9096a171059b8a378a.tar.bz2
gentoo-83f4fd6221f06b0346af9b9096a171059b8a378a.zip
dev-ruby/rexml: add missing test dependency
Closes: https://bugs.gentoo.org/914380 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--dev-ruby/rexml/rexml-3.2.5-r1.ebuild2
-rw-r--r--dev-ruby/rexml/rexml-3.2.6.ebuild4
2 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/rexml/rexml-3.2.5-r1.ebuild b/dev-ruby/rexml/rexml-3.2.5-r1.ebuild
index 49bfc5d72f43..eb3493aa2530 100644
--- a/dev-ruby/rexml/rexml-3.2.5-r1.ebuild
+++ b/dev-ruby/rexml/rexml-3.2.5-r1.ebuild
@@ -21,6 +21,8 @@ LICENSE="BSD-2"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
SLOT="3"
+ruby_add_bdepend "test? ( dev-ruby/test-unit )"
+
all_ruby_prepare() {
sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/I s:^:#:' Rakefile || die
diff --git a/dev-ruby/rexml/rexml-3.2.6.ebuild b/dev-ruby/rexml/rexml-3.2.6.ebuild
index ae71241986ff..34ea357c7f8f 100644
--- a/dev-ruby/rexml/rexml-3.2.6.ebuild
+++ b/dev-ruby/rexml/rexml-3.2.6.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-USE_RUBY="ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32"
RUBY_FAKEGEM_RECIPE_DOC="none"
RUBY_FAKEGEM_EXTRADOC="NEWS.md README.md"
@@ -21,6 +21,8 @@ LICENSE="BSD-2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
SLOT="3"
+ruby_add_bdepend "test? ( dev-ruby/test-unit )"
+
all_ruby_prepare() {
sed -i -e 's:require_relative ":require "./:' -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
sed -i -e '/bundler/I s:^:#:' Rakefile || die