summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-11-13 06:24:29 +0100
committerHans de Graaff <graaff@gentoo.org>2021-11-13 06:24:39 +0100
commite389f6cf5ce5f6817e67e44706323eeda6f0731e (patch)
tree28da616e26322483115c2980a28b7a144dce8ef4 /dev-ruby
parentdev-ruby/rdoc: add 6.3.3 (diff)
downloadgentoo-e389f6cf5ce5f6817e67e44706323eeda6f0731e.tar.gz
gentoo-e389f6cf5ce5f6817e67e44706323eeda6f0731e.tar.bz2
gentoo-e389f6cf5ce5f6817e67e44706323eeda6f0731e.zip
dev-ruby/sprockets-rails: add 3.3.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sprockets-rails/Manifest1
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-3.3.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ruby/sprockets-rails/Manifest b/dev-ruby/sprockets-rails/Manifest
index 86c6320b6e10..8953964b3bfe 100644
--- a/dev-ruby/sprockets-rails/Manifest
+++ b/dev-ruby/sprockets-rails/Manifest
@@ -1 +1,2 @@
DIST sprockets-rails-3.2.2.tar.gz 109408 BLAKE2B ce589e18daa4f664ed56d909a0eff082a69d756ca57e6e7569723b5da0b1dcfbe02f4a00e42b3d9d34b1cac37b663830ede046715c04c8bbfd48be7407e13431 SHA512 048f48930325316ac28d721a2c33ba60767dfec9456b0705e90363a1c81c8876ec6f99d65ce533d5a0704e1f67a33fcac5cd675aec5cc3c3f1cd896d518865a9
+DIST sprockets-rails-3.3.0.tar.gz 109701 BLAKE2B ba614e3110c355370fa39ac0ecf4120f86095e34d70dee470320f700c21d65159adc2f6837ad2307f38fcd5a9d753820d5ee537bd7e592514f24f8e02e5fc3e6 SHA512 f6bc9920f19ac76e383a36ed550f06b16a4de628a8df15c6e70f005fe60c0050a01002c9334359adfb182b449a8baaec35733c846240258702a430f14dcdefe2
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.3.0.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.3.0.ebuild
new file mode 100644
index 000000000000..1cd6cd8e035f
--- /dev/null
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.3.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27"
+
+RUBY_FAKEGEM_TASK_DOC=""
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+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="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/actionpack-5.2:*
+ >=dev-ruby/activesupport-5.2:*
+ >=dev-ruby/sprockets-3.0.0:*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/railties-5.2:*
+ dev-ruby/test-unit:2
+ )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/ s:^:#:' Rakefile || die
+}