diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-07-06 07:03:09 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-07-06 07:03:30 +0200 |
commit | 2befef8947fed9a9b1fc3786d7b00412cbbf62f6 (patch) | |
tree | 67a23e38509e9ec3496bc7ef39c0674888300b42 /dev-ruby/coffee-rails | |
parent | dev-ruby/coffee-rails: cleanup (diff) | |
download | gentoo-2befef8947fed9a9b1fc3786d7b00412cbbf62f6.tar.gz gentoo-2befef8947fed9a9b1fc3786d7b00412cbbf62f6.tar.bz2 gentoo-2befef8947fed9a9b1fc3786d7b00412cbbf62f6.zip |
dev-ruby/coffee-rails: add 4.2.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/coffee-rails')
-rw-r--r-- | dev-ruby/coffee-rails/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/coffee-rails/coffee-rails-4.2.1.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest index e82d520677d8..b692634f454a 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 4.2.1.tar.gz 5753 SHA256 5efeb14c12edbf5e7854da1cab0d868a1d835b6e3b2c64879fcd067b0c53ec28 SHA512 00b10b2d972d0a1ca2af07d09cc36a407568ddc8a9493d5db7004c4cce9cc65835b78c4d0870e1d18deb70c30f603232652c86df485fd769b17bed15631b1d0e WHIRLPOOL 58caafd8763304a004b5fac698a586a057dd7685160572091fe1afa2bbf084aa8b53e61e03143ca7f7d9125827390b71b587b25e52815245f82be89bec80829e 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 diff --git a/dev-ruby/coffee-rails/coffee-rails-4.2.1.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.2.1.ebuild new file mode 100644 index 000000000000..834d77830f79 --- /dev/null +++ b/dev-ruby/coffee-rails/coffee-rails-4.2.1.ebuild @@ -0,0 +1,33 @@ +# 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_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 ~amd64-linux" + +IUSE="" + +ruby_add_rdepend ">=dev-ruby/coffee-script-2.2.0 + >dev-ruby/railties-4:* <dev-ruby/railties-5.2:*" + +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 +} |