Greetings, Please find the attachment of sinatra-0.9.4.ebuild. Known to work in ruby 1.9 also. Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort: eg: # myapp.rb require 'rubygems' require 'sinatra' get '/' do 'Hello world!' end Install the gem and run with: emerge sinatra ruby myapp.rb View at: http://localhost:4567 I suggest dev-ruby/sinatra. -- CS3
Created attachment 199894 [details] Sinatra 0.9.4 Ebuild ( Updated as per gentoo-sunrise comments )
Can someone assign it to ruby@gentoo.org
Comment on attachment 199894 [details] Sinatra 0.9.4 Ebuild ( Updated as per gentoo-sunrise comments ) # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit gems DESCRIPTION="Classy web-development dressed in a DSL" HOMEPAGE="http://www.sinatrarb.com" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" USE_RUBY="ruby18 ruby19" DEPEND=">=dev-ruby/rack-1.0.0"
Comment on attachment 199894 [details] Sinatra 0.9.4 Ebuild ( Updated as per gentoo-sunrise comments ) Checked in a peer reviewd version on Sunrise Overlay.
(In reply to comment #3) > DEPEND=">=dev-ruby/rack-1.0.0" Broken. RDEPEND also needs to be set because this is a runtime dependency. (And we need DEPEND also because the gem checks for its presence when installing).
Yes, I was pointed out. The ebuild in sunrise overlay has 'rack' as both runtime and buildtime dependency. The ebuild contents displayed and code attached are obsolete. (In reply to comment #5) > (In reply to comment #3) > > > DEPEND=">=dev-ruby/rack-1.0.0" > > Broken. RDEPEND also needs to be set because this is a runtime dependency. (And > we need DEPEND also because the gem checks for its presence when installing). >
The Ebuild has been uploaded to overlays.gentoo.org/svn/proj/sunrise/sunrise/dev-ruby/sinatra. Visit http://overlays.gentoo.org/proj/sunrise/changeset/8936 . Can the ruby herd members review it and add to overlay.
Whoopsy. Didn't see this bug but added it to the tree in the meantime. We can't do USE_RUBY="ruby18 ruby19", as rack doesn't have the ruby19 yet, but I'll add the ~x86. Thanks for the ebuild!