summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-12-20 07:58:34 +0100
committerHans de Graaff <graaff@gentoo.org>2015-12-20 08:08:50 +0100
commite4539e3fa56c993934236be401195d71ae7ddf1c (patch)
tree8025dedd193cec226a09cd461b70f6a0bcf54b98 /dev-ruby/coffee-rails
parentapp-portage/ufed: Stable for HPPA PPC64 (bug #567480). (diff)
downloadgentoo-e4539e3fa56c993934236be401195d71ae7ddf1c.tar.gz
gentoo-e4539e3fa56c993934236be401195d71ae7ddf1c.tar.bz2
gentoo-e4539e3fa56c993934236be401195d71ae7ddf1c.zip
dev-ruby/coffee-rails: add 4.1.1
Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-ruby/coffee-rails')
-rw-r--r--dev-ruby/coffee-rails/Manifest1
-rw-r--r--dev-ruby/coffee-rails/coffee-rails-4.1.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest
index 0430cad06f96..fd3cf4b1d1d8 100644
--- a/dev-ruby/coffee-rails/Manifest
+++ b/dev-ruby/coffee-rails/Manifest
@@ -1,3 +1,4 @@
+DIST 4.1.1.tar.gz 5384 SHA256 91531419b840b5eefdd1ca5214c9d8332a0761f7a86661c379ef40f495a777f8 SHA512 643f8056280b3a4435cea28f53a2e9abe7c3c0a90a860dc91dc619da77968d6f1ed131b29f4e4b6f6312922024f15b92f5847b7f5c3da2a83447ec682c80a1fd WHIRLPOOL efcb409218eb65070088447e4a28a3fe4d0556842c386ae73605995489d71067b8b05e8168ff8e058238eb038129c626078041aead39776873fecc3b70ec5876
DIST coffee-rails-3.2.2.gem 7168 SHA256 75f06d71060999044fbc6ac199b91f1fc0bd075d8dd8acde04e02431396b463a SHA512 b4c6a6d0658f50fcd7632260bbddb25e619a9dfb45c0bab8fd60cbfaf32480875fc4b90bd0e77eef5cf25b84b1de08b1bf335454b2c828340ea20a0986373244 WHIRLPOOL 629fde6c30f1288146284dff0b53e2cc6f5469a8c51a625628435b88bf7e9087352da1a7bf5711b4496c92084272aebfa254ddd41b009157646f062738cc3d95
DIST coffee-rails-4.0.1.gem 9216 SHA256 2f6e36f2c7a2b5ea4ba2aae5d8f70b443e47f010e1f645aec28368d783e1d88a SHA512 33a4efc0350977ede05e869ceed0cc5c9902d2f75ade6c84fada2d1265323af4798ffe0f0994d0d7b4a7bbb7e48c7360e04c729bc117c7d4448c986f238fdbae WHIRLPOOL c1a5b1890648df1229d474cc9e33dbfcc339971ea6ca3b3cf584fd055b4ce1bb2a6cf33119499aab1715f6b5b2ddd7855467da2b31e718edab480644f045f7bb
DIST coffee-rails-4.1.0.gem 9216 SHA256 1adbc3d1e3e4d835643e7848b3279a7a1deadd8711be6a41bac1eb4788867f5c SHA512 b3aeaa0d54646cc3ac0b0c6987411b6deb1ed3a432e8cbe489f5be9b1d4558332afba561ff9844b2a74bf09665df063b2d4a08d85bb32c82b7ec8c14a2391fa0 WHIRLPOOL d1ca71933d3e3f9ab2a04ff2197725f6ea2a9f7079897f9e29c85f6094322234db4f844e1e814d5c858f04d6cf3dea6169069be6a5f16ce0611ce48e31dcd4da
diff --git a/dev-ruby/coffee-rails/coffee-rails-4.1.1.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.1.1.ebuild
new file mode 100644
index 000000000000..44028bffed91
--- /dev/null
+++ b/dev-ruby/coffee-rails/coffee-rails-4.1.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Coffee Script adapter for the Rails asset pipeline"
+HOMEPAGE="https://github.com/rails/coffee-rails"
+SRC_URI="https://github.com/rails/coffee-rails/archive/v${PV}.tar.gz -> ${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0
+ >dev-ruby/railties-4:* <dev-ruby/railties-5.1:*"
+
+all_ruby_prepare() {
+ # Avoid dependency on git and bundler.
+ sed -i -e 's/git ls-files/echo/' \
+ -e '/bundler/I s:^:#:' Rakefile || die
+
+ # Make sure a consistent rails version is loaded.
+ sed -i -e '4igem "rails"' -e '/bundler/ s:^:#:' test/test_helper.rb || die
+}