summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild')
-rw-r--r--dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild b/dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild
new file mode 100644
index 000000000000..03d16ac26326
--- /dev/null
+++ b/dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.0.3-r1.ebuild,v 1.1 2011/12/29 16:22:17 graaff Exp $
+
+EAPI=4
+USE_RUBY="ruby18 ruby19 ree18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Ruby library for compiling and serving web assets."
+HOMEPAGE="https://github.com/sstephenson/sprockets"
+SRC_URI="https://github.com/sstephenson/sprockets/tarball/v${PV} -> ${P}.tgz"
+RUBY_S="sstephenson-sprockets-*"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+ruby_add_rdepend "
+ =dev-ruby/hike-1* >=dev-ruby/hike-1.2
+ =dev-ruby/rack-1*
+ >=dev-ruby/tilt-1.3.1"
+
+ruby_add_bdepend "test? (
+ dev-ruby/json
+ dev-ruby/rack-test
+ )"
+
+# Restrict tests for now since they require quite lot of new
+# dependencies related to javascript. To be revisited later.
+RESTRICT="test"
+# s.add_development_dependency "coffee-script", "~> 2.0"
+# s.add_development_dependency "eco", "~> 1.0"
+# s.add_development_dependency "ejs", "~> 1.0"
+# s.add_development_dependency "execjs", "~> 1.0"