Bug 262088 - mail/rubygem-mail: Depend directly on mail/rubygem-net-smtp not packaged with Ruby 3.1
Summary: mail/rubygem-mail: Depend directly on mail/rubygem-net-smtp not packaged with...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yasuhiro Kimura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-21 07:58 UTC by Yasuhiro Kimura
Modified: 2022-03-19 07:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (ruby)
yasu: merge-quarterly+


Attachments
Patch file (2.44 KB, patch)
2022-02-21 07:58 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-02-21 07:58:08 UTC
Created attachment 231982 [details]
Patch file

In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand, our ruby ports (lang/rubyXY) don't include bundled gems in their packages and it also applies to lang/ruby31. That means net/smtp isn't include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to RUN_DEPENDS so this port works fine with Ruby 3.1.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2022-02-22 00:36:06 UTC
Note that dependency fixes are:

Approved by: portmgr (blanket: dependency fix)
MFH: <branch|No> (<reason>)
Comment 2 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-03-19 07:12:07 UTC
Take.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-03-19 07:22:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=da6b7803d1f8bccac09d69a6d2eaa96e93522743

commit da6b7803d1f8bccac09d69a6d2eaa96e93522743
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2021-11-10 17:59:42 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-19 07:10:31 +0000

    mail/rubygem-mail: Fix dependency with Ruby 3.1

    In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand,
    our ruby ports (lang/rubyXY) don't include bundled gems in their
    packages and it also applies to lang/ruby31. That means net/smtp isn't
    include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to
    RUN_DEPENDS so this port works fine with Ruby 3.1.

    PR:             262088
    Approved by:    portmgr (blanket: dependency fix)
    MFH:            2022Q1 (dependency fix)

 mail/rubygem-mail/Makefile                       |  4 +++-
 mail/rubygem-mail/files/patch-mail.gemspec (new) | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-03-19 07:25:02 UTC
A commit in branch 2022Q1 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c22b848a5d76a963762a9ea244c029c3d485d693

commit c22b848a5d76a963762a9ea244c029c3d485d693
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2021-11-10 17:59:42 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-19 07:23:55 +0000

    mail/rubygem-mail: Fix dependency with Ruby 3.1

    In Ruby 3.1 net/smtp is distributed as bundled gem. On the other hand,
    our ruby ports (lang/rubyXY) don't include bundled gems in their
    packages and it also applies to lang/ruby31. That means net/smtp isn't
    include in the package of Ruby 3.1. So add mail/rubygem-net-smtp to
    RUN_DEPENDS so this port works fine with Ruby 3.1.

    PR:             262088
    Approved by:    portmgr (blanket: dependency fix)
    MFH:            2022Q1 (dependency fix)

    (cherry picked from commit da6b7803d1f8bccac09d69a6d2eaa96e93522743)

 mail/rubygem-mail/Makefile                       |  4 +++-
 mail/rubygem-mail/files/patch-mail.gemspec (new) | 18 ++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)