From: "M. Edward (Ed) Borasky" Date: 2006-09-23T11:30:46+09:00 Subject: Re: Would people use a rubyforge apt-get repository? darren kirby wrote: > quoth the M. Edward (Ed) Borasky: > >> People who run Debian or derivatives of Debian might. I guess us >> Gentooists would prefer a utility to automate production of ebuilds from >> gems, since quite a few gems are already in Portage. > > It would be trivial to do so. Someone took the time to write a gems eclass so > a valid ebuild for a package available via remote gems (using my own as > example) is: > > ### > > > inherit ruby gems > > DESCRIPTION="A pure Ruby library for reading metadata from Flac files" > HOMEPAGE="http://badcomputer.org/unix/code/flacinfo/" > SRC_URI="http://gems.rubyforge.org/gems/${P}.gem" > > LICENSE="Ruby" > SLOT="0" > KEYWORDS="~x86" > > IUSE="" > USE_RUBY="ruby18" > DEPEND="virtual/ruby" > ### > > You could grab the needed info from the gemspec, and you don't need the > USE_RUBY if you are sure the package will run on Ruby 1.6, 1.8 and 1.9. > > -d Yeah ... too bad Portage is written in Python, isn't it? :)