From d163cb4066d3ddeb4f2daf857445915661766155 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 9 Oct 2022 13:27:02 +0200 Subject: community/rubygems: disabled rdoc for now, breaking cycle and conflict with ruby-rdoc --- community/rubygems/PKGBUILD | 10 ++++++++++ community/rubygems/rubygems-3.3.23-no-rdoc.patch | 14 ++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 community/rubygems/rubygems-3.3.23-no-rdoc.patch diff --git a/community/rubygems/PKGBUILD b/community/rubygems/PKGBUILD index 472071e2..e06368d4 100644 --- a/community/rubygems/PKGBUILD +++ b/community/rubygems/PKGBUILD @@ -15,3 +15,13 @@ eval "$( )" unset check + +source+=(rubygems-3.3.23-no-rdoc.patch) +sha512sums+=(91a0c886b264f40ad80d3d6b0f494e6b4fa9b11b121943956b4484ea0763e6f959f6e87a6b844ecbd7b6b58752fe950297c489bf202cc78af4092707c6713bf0) +eval "$( + declare -f prepare \ + | sed ' + $ i patch -p1 -i "$srcdir"/rubygems-3.3.23-no-rdoc.patch + ' +)" + diff --git a/community/rubygems/rubygems-3.3.23-no-rdoc.patch b/community/rubygems/rubygems-3.3.23-no-rdoc.patch new file mode 100644 index 00000000..d4f78398 --- /dev/null +++ b/community/rubygems/rubygems-3.3.23-no-rdoc.patch @@ -0,0 +1,14 @@ +diff -rauN rubygems-3.3.23/lib/rubygems/commands/setup_command.rb rubygems-3.3.23-no-rdoc-patch/lib/rubygems/commands/setup_command.rb +--- rubygems-3.3.23/lib/rubygems/commands/setup_command.rb 2022-10-05 16:34:09.000000000 +0200 ++++ rubygems-3.3.23-no-rdoc-patch/lib/rubygems/commands/setup_command.rb 2022-10-09 11:13:47.750021079 +0200 +@@ -347,8 +347,8 @@ + generate_ri = options[:document].include? "ri" + generate_rdoc = options[:document].include? "rdoc" + +- rdoc = Gem::RDoc.new fake_spec, generate_rdoc, generate_ri +- rdoc.generate ++# rdoc = Gem::RDoc.new fake_spec, generate_rdoc, generate_ri ++# rdoc.generate + + return true + elsif @verbose -- cgit v1.2.3-70-g09d2