summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-04-03 13:41:58 +0000
committerHans de Graaff <graaff@gentoo.org>2010-04-03 13:41:58 +0000
commitebb5b8e32fdb834e3f11a95e58811c0e38575be8 (patch)
tree75bcfa80030f7241536116601f7d34d4c1e3f83a /dev-ruby/sinatra
parentAdd dev-libs/stfl-0.21, thanks to Tim Harder <radhermit@gmail.com> in bug #29... (diff)
downloadgentoo-2-ebb5b8e32fdb834e3f11a95e58811c0e38575be8.tar.gz
gentoo-2-ebb5b8e32fdb834e3f11a95e58811c0e38575be8.tar.bz2
gentoo-2-ebb5b8e32fdb834e3f11a95e58811c0e38575be8.zip
Version bump with many changes and deprecations.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/sinatra')
-rw-r--r--dev-ruby/sinatra/ChangeLog8
-rw-r--r--dev-ruby/sinatra/sinatra-1.0.ebuild30
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-ruby/sinatra/ChangeLog b/dev-ruby/sinatra/ChangeLog
index 6e87e8454814..17b34113746b 100644
--- a/dev-ruby/sinatra/ChangeLog
+++ b/dev-ruby/sinatra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/sinatra
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/ChangeLog,v 1.4 2010/01/04 23:18:42 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/ChangeLog,v 1.5 2010/04/03 13:41:58 graaff Exp $
+
+*sinatra-1.0 (03 Apr 2010)
+
+ 03 Apr 2010; Hans de Graaff <graaff@gentoo.org> +sinatra-1.0.ebuild:
+ Version bump with many changes and deprecations. Dropped x86 keyword
+ due to new dev-ruby/erubis dependency: bug 312971.
04 Jan 2010; Markus Meier <maekke@gentoo.org> sinatra-0.9.4-r1.ebuild:
add ~x86, bug #297782
diff --git a/dev-ruby/sinatra/sinatra-1.0.ebuild b/dev-ruby/sinatra/sinatra-1.0.ebuild
new file mode 100644
index 000000000000..1b04b14c8b25
--- /dev/null
+++ b/dev-ruby/sinatra/sinatra-1.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sinatra/sinatra-1.0.ebuild,v 1.1 2010/04/03 13:41:58 graaff Exp $
+
+EAPI=2
+USE_RUBY="ruby18"
+
+# no documentation is generable, it needs hanna, which is broken
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_EXTRADOC="README.rdoc AUTHORS CHANGES"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort."
+HOMEPAGE="http://www.sinatrarb.com/"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend '>=dev-ruby/rack-1.0'
+ruby_add_bdepend test "dev-ruby/rack-test dev-ruby/haml dev-ruby/erubis"
+
+each_ruby_prepare() {
+ # Remove tests for optional templating system which is not
+ # available in Gentoo.
+ rm test/less_test.rb || die
+}