Revision: 147459 https://trac.macports.org/changeset/147459 Author: cal@macports.org Date: 2016-04-04 11:07:06 -0700 (Mon, 04 Apr 2016) Log Message: ----------- rb23-bundler: New port Additionally, adjust ruby-1.0 PortGroup to support Ruby 2.3. Modified Paths: -------------- trunk/dports/_resources/port1.0/group/ruby-1.0.tcl trunk/dports/ruby/rb23-bundler/Portfile Added Paths: ----------- trunk/dports/ruby/rb23-bundler/ Modified: trunk/dports/_resources/port1.0/group/ruby-1.0.tcl =================================================================== --- trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2016-04-04 15:38:45 UTC (rev 147458) +++ trunk/dports/_resources/port1.0/group/ruby-1.0.tcl 2016-04-04 18:07:06 UTC (rev 147459) @@ -36,17 +36,17 @@ # 1. use ruby.setup # # PortGroup ruby 1.0 -# ruby.setup module version type {} ruby22 +# ruby.setup module version type {} ruby23 # # 2. use ruby.branch # # PortGroup ruby 1.0 -# ruby.branch 2.2 +# ruby.branch 2.3 # depends_lib port:ruby${ruby.suffix} # build.cmd ${ruby.bin} # options: -# ruby.branch: select ruby version. 2.2, 2.1, 2.0, 1.9 or 1.8. +# ruby.branch: select ruby version. 2.3, 2.2, 2.1, 2.0, 1.9 or 1.8. # ruby.link_binaries: whether generate suffixed symlink under ${prefix}/bin # or not. # values: @@ -102,6 +102,7 @@ } # switch -exact ${ruby.branch} { + 2.3 {set ruby.api_version 2.3.0} 2.2 {set ruby.api_version 2.2.0} 2.1 {set ruby.api_version 2.1.0} 2.0 {set ruby.api_version 2.0.0} @@ -161,13 +162,14 @@ global ruby.config_rubyprog_name switch ${implementation} { + ruby23 { ruby.branch 2.3 } ruby22 { ruby.branch 2.2 } ruby21 { ruby.branch 2.1 } ruby20 { ruby.branch 2.0 } ruby19 { ruby.branch 1.9 } ruby { ruby.branch 1.8 } default { - ui_error "ruby.setup: unknown implementation '${implementation}' specified (ruby22, ruby21, ruby20, ruby19 or ruby possible)" + ui_error "ruby.setup: unknown implementation '${implementation}' specified (ruby23, ruby22, ruby21, ruby20, ruby19 or ruby possible)" return -code error "ruby.setup failed" } } Modified: trunk/dports/ruby/rb23-bundler/Portfile =================================================================== --- trunk/dports/ruby/rb19-bundler/Portfile 2016-04-03 14:34:36 UTC (rev 147431) +++ trunk/dports/ruby/rb23-bundler/Portfile 2016-04-04 18:07:06 UTC (rev 147459) @@ -3,20 +3,19 @@ PortSystem 1.0 PortGroup ruby 1.0 -ruby.setup bundler 1.0.21 gem {} rubygems ruby19 -revision 2 +ruby.setup bundler 1.11.2 gem {} rubygems ruby23 license MIT categories-append www devel platforms darwin maintainers nomaintainer -homepage http://gembundler.com/ -description Ruby application dependency manager -long_description \ - Bundler manages an application's dependencies through its entire life \ - across many machines systematically and repeatably. +homepage http://bundler.io/ +description \ + Bundler provides a consistent environment for Ruby projects by tracking and \ + installing the exact gems and versions that are needed. +long_description ${description}\ + \nBundler is an exit from dependency hell, and ensures that the gems you \ + need are present in development, staging, and production. Starting work on \ + a project is as simple as bundle install. -checksums sha1 33602885c02925acabe94d884b85043863c1e256 \ - rmd160 034a6cf800ce63abc915238a68eb74219b567887 - -depends_run-append port:rb19-rspec \ - port:rb19-ronn +checksums sha256 c7aa8ffe0af6e0c75d0dad8dd7749cb8493b834f0ed90830d4843deb61906768 \ + rmd160 555b465973c1b5e75b972976c27909303c1d7928