[Bug 258108] [exp-run] devel/ruby-gems: Update to 3.2.30 (Fixes for Ruby 3.0)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Jan 2022 13:58:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258108

--- Comment #56 from Thibault Jouan <tj+freebsd_ports@a13.fr> ---
Created attachment 231355
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231355&action=edit
update to 3.3.6

Patch updated:
* Update to 3.3.6 instead of 3.2.30
* Remove changes because of gemspec patch removal in some ports:
  - devel/rubygem-azure-storage-common
  - devel/rubygem-dynflow
  - mail/rubygem-net-imap
  - mail/rubygem-net-pop
  - mail/rubygem-net-smtp
* Remove changes temporarily because of pending gemspec changes:
  - www/rubygem-gollum-lib
  - www/rubygem-gollum-rugged_adapter
  - www/rubygem-gollum
  (see bug #260207)
* Remove unnecessary info from commit messages
* Add notes for notable changes between RubyGems 3.2.30 and 3.3.6:
  * Remove `.document' files in vendored libraries (See upstream
    2d7cd652).

    RubyGems now bundles tsort library (d3268809) and optparse one
  (47c4d12e). We chose not to unbundle those, because they were moved into
  `Gem' namespace (renamed as `Gem::TSort' and `Gem::OptionParser') which
  would require an invasive and complex patch.
  * The server command has been moved to the rubygems-server gem.


  I choose to remove those `.document' files because it seemed strange
to have them in the release tarball, and previously vendored library
didn't have them. Also, patch in bug #260780 remove them too.


  Please let me know if you have issues with this new patch.

  Now if someone has extra free time and build power to test building
ports that depends on devel/ruby-gems *and* have a gemspec patch, I'd
be happy to know about any build error related to the patch. Since the
last exp-run, I've been doing manual, incomplete, inefficient checks
with this ugly command:

for f ($(git grep -l ^USES=.\*gem \*/\*/Makefile | cut -d / -f 1-2)) \
  git diff ${COMMIT}... --quiet -- $f/files || echo $f >> ~/gem_ports_list
  (zsh)

  Where ${COMMIT} is the original commit my last version of the patch
was based on. Then I poudriere testport the suspicious ones, but
probably missed a lot. Test building *all* ports that depend on
devel/ruby-gems is better and simpler, but takes lot of time.

-- 
You are receiving this mail because:
You are the assignee for the bug.