Summary: | sysutils/vagrant -- requires older version of ruby_dep | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Matthew Seaman <matthew> | ||||||
Component: | Individual Port(s) | Assignee: | Nikolai Lifanov <lifanov> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | joe, lifanov, nate.wheeler | ||||||
Priority: | --- | Flags: | joe:
maintainer-feedback+
|
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
Matthew Seaman
2017-01-09 11:15:09 UTC
From https://github.com/mitchellh/vagrant/blob/master/vagrant.gemspec ``` # NOTE: The ruby_dep gem is an implicit dependency from the listen gem. Later versions # of the ruby_dep gem impose an aggressive constraint on the required ruby version (>= 2.2.5). # Explicit constraint is defined to provide required dependency to listen without imposing # tighter restrictions on valid ruby versions s.add_dependency "ruby_dep", "<= 1.3.1" ``` Looks like we need a rubygem-ruby_dep-1.30 port. (In reply to Matthew Seaman from comment #1) Although given that ruby in ports is already newer than 2.2.5 then perhaps we could just fix the gemspec to allow more recent ruby_dep Created attachment 178665 [details]
unrestrict ruby_dep version, fix patch-bin_vagrant
Patch gemspec to allow any version of ruby_dep -- the upstream restriction to 1.3.1 is because later version of ruby_dep require ruby >= 2.2.5
However the default version in ports is already ruby-2.2.6
Regenerate patches by 'make makepatch'
Reinstate the '@PREFIX@' token in patch-bin_vagrant lost during the previous update of this port.
(In reply to Matthew Seaman from comment #3) Thanks for the patch Matthew, works for me. Hopefully it gets committed soon. FYI, we always use "patch-gemspec" for XXX.gemspec patch, instead of patch-vagrant.gemspec in this case. Created attachment 179024 [details]
unrestrict ruby_dep version, fix patch-bin_vagrant
Address comments by sunpoet -- it's always patch-gemspec rather than patch-vagrant_gemspec
A commit references this bug: Author: lifanov Date: Wed Jan 18 17:49:23 UTC 2017 New revision: 431819 URL: https://svnweb.freebsd.org/changeset/ports/431819 Log: fix sysutils/vagrant by relaxing ruby_dep requirement PR: 215905 Submitted by: matthew Reviewed by: matthew Approved by: matthew (mentor), joe@thrallingpenguin.com (maintainer) Differential Revision: https://reviews.freebsd.org/D9232 Changes: head/sysutils/vagrant/Makefile head/sysutils/vagrant/files/patch-bin_vagrant head/sysutils/vagrant/files/patch-gemspec Committed, thanks! |