summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-10-22 07:43:04 +0200
committerHans de Graaff <graaff@gentoo.org>2016-10-22 07:43:04 +0200
commit303a4323270c236de6c6cecf3faec09711453213 (patch)
tree888bae61b9195a1192eaf40cf4553b801a2e597f /dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild
parentwww-servers/tornado: Fix examples install, bug 595020 (diff)
downloadgentoo-303a4323270c236de6c6cecf3faec09711453213.tar.gz
gentoo-303a4323270c236de6c6cecf3faec09711453213.tar.bz2
gentoo-303a4323270c236de6c6cecf3faec09711453213.zip
dev-ruby/sprockets-rails: add 3.2.0
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild')
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild
new file mode 100644
index 000000000000..67a4065978a4
--- /dev/null
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.2.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Sprockets implementation for Rails 4.x (and beyond) Asset Pipeline"
+HOMEPAGE="https://github.com/rails/sprockets-rails"
+SRC_URI="https://github.com/rails/sprockets-rails/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1)"
+KEYWORDS="~amd64 ~arm ~amd64-linux"
+
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/actionpack-4.0:*
+ >=dev-ruby/activesupport-4.0:*
+ dev-ruby/sprockets:3"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/actionpack-4
+ >=dev-ruby/railties-4
+ dev-ruby/test-unit:2
+ )"
+
+all_ruby_prepare() {
+ # Help load correct rack version consistently
+ sed -i -e "3irequire 'action_controller'" test/test_helper.rb || die
+}