[MacPorts] #65329: ruby-build @20220426: Improper dependency specification

MacPorts noreply at macports.org
Sat Jun 11 03:01:06 UTC 2022


#65329: ruby-build @20220426: Improper dependency specification
------------------------+------------------------
 Reporter:  halostatue  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.7.2
 Keywords:              |       Port:  ruby-build
------------------------+------------------------
 When running `sudo port install ruby-build`, I was surprised to see that
 it prompted me to install `rbenv` as a dependency. This is not a
 requirement from [https://github.com/rbenv/ruby-build rbenv/ruby-build]
 itself:

 > ruby-build is a command-line utility that makes it easy to install
 virtually any version of Ruby, from source.
 >
 > It is available as a plugin for rbenv that provides the rbenv install
 command, or as a standalone program.

 I explicitly ''do not'' want to use rbenv (I prefer chruby, although I am
 preparing to write a fully-native Fish version), and would rather not have
 it installed.

 I believe that the dependency specification for this port should be
 broken. I’m happy to submit a PR for this, but feel it’s more appropriate
 to open a ticket for discussion first.

 {{{#!diff
 diff --git i/ruby/ruby-build/Portfile w/ruby/ruby-build/Portfile
 index 202cd7948cba..bbb4c4fb1047 100644
 --- i/ruby/ruby-build/Portfile
 +++ w/ruby/ruby-build/Portfile
 @@ -22,5 +22,3 @@ use_configure       no
  build {}
  destroot.cmd        ./install.sh
  destroot.env        PREFIX=${destroot}${prefix}
 -
 -depends_lib         port:rbenv
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65329>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list