[MacPorts] #39248: rb ports need revbump

MacPorts noreply at macports.org
Fri Oct 25 08:01:08 PDT 2013


#39248: rb ports need revbump
---------------------------+-----------------------
  Reporter:  ryandesign@…  |      Owner:  kimuraw@…
      Type:  defect        |     Status:  assigned
  Priority:  High          |  Milestone:
 Component:  ports         |    Version:  2.1.3
Resolution:                |   Keywords:
      Port:  ruby          |
---------------------------+-----------------------

Comment (by kimuraw@…):

 I wrote a patch against group/ruby-1.0.tcl.

 1. add an option "ruby.rake", means fullpath to "rake" command. such as
 "ruby.bin" or "ruby.gem".
 2. set destroot.env rake=${ruby.rake}

 {{{
 DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE=...
 rake='/opt/local/libexec/ruby1.8/rake'
 }}}

 3. ruby-1.8 gem ports requires rb-rake as depends_build

 {{{
 % port info --depends rb-rcov
 depends_build: port:rb-rake    # <= added by ruby.setup gem from portgroup
 ruby
 depends_run:
 depends_fetch:
 depends_lib: port:ruby, port:rb-rubygems
 depends_extract:
 % port info --depends rb-rake
 depends_build:                 # <= rb-rake does not require rake
 depends_run:
 depends_fetch:
 depends_lib: port:ruby, port:rb-rubygems
 depends_extract:
 }}}

 {{{
 % port info --depends rb19-rcov
 depends_build:
 depends_run:
 depends_fetch:
 depends_lib: port:ruby19
 depends_extract:
 }}}

 how about this?

-- 
Ticket URL: <https://trac.macports.org/ticket/39248#comment:12>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list