ruby_select plan, rubygem: dependency operator

C. Florian Ebeling florian.ebeling at gmail.com
Wed Apr 15 01:03:37 PDT 2009


>> What would be nice is some automatic wrapper for all the various
>> extensions
>> to languages (ruby, perl, python, etc) where you just say "I need xyz from
>> CPAN/gem" and port can handle it, and hence use it for dependencies.  Of
>> course,
>> base has no support for such hence the need to wrap such things in
>> full-blown
>> ports, otherwise how do we know what is installed and and what version?
>>  It
>> would still run the install through the proper tool, but also keep track
>> of
>> what is installed so it can be managed (and easily upgraded, activated,
>> etc), but wouldn't need to be a complete port.  Instead it could be some
>> form of listing in a table someplace, for any extensions which are easily
>> installed.
>
> In lieu of this, a tool to mostly-automatically convert from those package
> managers to a MacPorts port is useful, c.f. cpan2port for converting CPAN
> perl modules to Portfiles.

A ruby port also consists of only 3 or 4 lines of effective code, if you use
the ruby.setup call from the ruby group file. What worries me more is
the brittleness when you just can pull away dependencies using the
special package manager, gem in the ruby case.




>
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>



-- 
Florian Ebeling
Twitter: febeling
florian.ebeling at gmail.com


More information about the macports-dev mailing list