[MacPorts] #43225: [new] rb-vagrant

MacPorts noreply at macports.org
Fri Apr 4 15:53:33 PDT 2014


#43225: [new] rb-vagrant
-------------------------+--------------------------------
  Reporter:  jul_bsd@…   |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  rb-vagrant  |
-------------------------+--------------------------------

Comment (by egall@…):

 I had actually started work on my own copy of a Portfile for vagrant, but
 never got it working well enough to submit:
 https://github.com/cooljeanius/LocalPorts/blob/master/ruby/rb-
 vagrant/Portfile

 Differences I have noticed between our Portfiles:

  - my `ruby.setup` line remains un-commented-out, so I assume that that
 means that it works:
 {{{
 ruby.setup          vagrant 1.0.7 gem {} rubygems
 }}}
  - I use `categories-append` instead of just `categories` because the ruby
 portgroup already adds the `ruby` category by default. Also the categories
 that I append are `devel` and `emulators` instead of `sysutils`, but I
 guess that is mostly just a matter of personal preference...
  - You wrote your port after the `rb19-rake` port was added, and as such
 were able to work around the whole issue of using multiple versions of
 ruby that I was running into... although if this port is now using the
 ruby from the ruby19 port, it should probably be now called `rb19-vagrant`
 instead of just `rb-vagrant`...
  - I just kept the default build and destroot behavior from the ruby
 portgroup, but that is because I am installing it from the gem, and you
 are getting it directly from the sources on GitHub, which I only do for
 testing.
  - I used a `bin:`-style dependency for VirtualBox, because VirtualBox
 drags in `qt4-mac`, which is humongous, and VirtualBox is also humongous
 in its own right. Using a `bin:`-style dependency allows me to just use
 the binary installer from the VirtualBox website if I am in too much of a
 hurry to compile all of its dependencies with MacPorts.
  - Your Portfile is for a newer version of vagrant than mine, so maybe
 some stuff has been fixed upstream since I last tried it...
  - I tried finding MacPorts equivalents for all of the dependencies that
 had been listed on Vagrant's rubygems page when I had been working on it,
 but it looks like most of those dependencies have been dropped with the
 current version of Vagrant...

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


More information about the macports-tickets mailing list