summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-17 09:10:07 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-17 09:20:48 +0100
commit610c99960619da19cb95cf10e4915b2382f7853d (patch)
tree7aad4f429555e1c4f99513eadf2d63e3724021bd /dev-ruby/sprockets-rails
parentdev-ruby/sprockets: add ruby22 (diff)
downloadgentoo-610c99960619da19cb95cf10e4915b2382f7853d.tar.gz
gentoo-610c99960619da19cb95cf10e4915b2382f7853d.tar.bz2
gentoo-610c99960619da19cb95cf10e4915b2382f7853d.zip
dev-ruby/sprockets-rails: add ruby22
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/sprockets-rails')
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-2.3.3-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-2.3.3-r1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-2.3.3-r1.ebuild
new file mode 100644
index 000000000000..4186903d579a
--- /dev/null
+++ b/dev-ruby/sprockets-rails/sprockets-rails-2.3.3-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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-2)"
+KEYWORDS="~amd64 ~arm"
+
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/actionpack-3.0:*
+ >=dev-ruby/activesupport-3.0:*
+ >=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/actionpack-4
+ >=dev-ruby/railties-4
+ dev-ruby/test-unit:2
+ )"