diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-05-25 07:01:56 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-05-25 07:01:56 +0200 |
commit | 32782672a264b123b48fdb7116cd8e8e80bfe72a (patch) | |
tree | dd7afa6dbab4699ca81558bc9180fe5287e2f997 /dev-ruby/coffee-rails | |
parent | dev-ruby/coffee-rails: cleanup (diff) | |
download | gentoo-32782672a264b123b48fdb7116cd8e8e80bfe72a.tar.gz gentoo-32782672a264b123b48fdb7116cd8e8e80bfe72a.tar.bz2 gentoo-32782672a264b123b48fdb7116cd8e8e80bfe72a.zip |
dev-ruby/coffee-rails: add 4.2.2
Package-Manager: Portage-2.3.5, Repoman-2.3.1
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.2.ebuild | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/coffee-rails/Manifest b/dev-ruby/coffee-rails/Manifest index d54436b39579..ab835cc7921a 100644 --- a/dev-ruby/coffee-rails/Manifest +++ b/dev-ruby/coffee-rails/Manifest @@ -1,3 +1,4 @@ DIST coffee-rails-4.0.1.gem 9216 SHA256 2f6e36f2c7a2b5ea4ba2aae5d8f70b443e47f010e1f645aec28368d783e1d88a SHA512 33a4efc0350977ede05e869ceed0cc5c9902d2f75ade6c84fada2d1265323af4798ffe0f0994d0d7b4a7bbb7e48c7360e04c729bc117c7d4448c986f238fdbae WHIRLPOOL c1a5b1890648df1229d474cc9e33dbfcc339971ea6ca3b3cf584fd055b4ce1bb2a6cf33119499aab1715f6b5b2ddd7855467da2b31e718edab480644f045f7bb DIST coffee-rails-4.1.1.tar.gz 5384 SHA256 91531419b840b5eefdd1ca5214c9d8332a0761f7a86661c379ef40f495a777f8 SHA512 643f8056280b3a4435cea28f53a2e9abe7c3c0a90a860dc91dc619da77968d6f1ed131b29f4e4b6f6312922024f15b92f5847b7f5c3da2a83447ec682c80a1fd WHIRLPOOL efcb409218eb65070088447e4a28a3fe4d0556842c386ae73605995489d71067b8b05e8168ff8e058238eb038129c626078041aead39776873fecc3b70ec5876 DIST coffee-rails-4.2.1.tar.gz 5753 SHA256 5efeb14c12edbf5e7854da1cab0d868a1d835b6e3b2c64879fcd067b0c53ec28 SHA512 00b10b2d972d0a1ca2af07d09cc36a407568ddc8a9493d5db7004c4cce9cc65835b78c4d0870e1d18deb70c30f603232652c86df485fd769b17bed15631b1d0e WHIRLPOOL 58caafd8763304a004b5fac698a586a057dd7685160572091fe1afa2bbf084aa8b53e61e03143ca7f7d9125827390b71b587b25e52815245f82be89bec80829e +DIST coffee-rails-4.2.2.tar.gz 6013 SHA256 d7d980310fbe0493892ee6d042c87e7972c9b27c0f327083e68345db8cd06cfd SHA512 195f4132f21b271a3142af1aec911f86cd8234a6f382a337ba349407626fe501f529ff0f65ddfdd91c413dc87a44433e295f81f4399163910104369d11320041 WHIRLPOOL 894271b3185e03da5a9d2e2bfd94c482b07edc86efc112defa3c129fafd3fa46af8d9f8b013bff944d8837c81f11789db7716ae73b8156909525ca10e2dba626 diff --git a/dev-ruby/coffee-rails/coffee-rails-4.2.2.ebuild b/dev-ruby/coffee-rails/coffee-rails-4.2.2.ebuild new file mode 100644 index 000000000000..d45bfbf14c69 --- /dev/null +++ b/dev-ruby/coffee-rails/coffee-rails-4.2.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +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 -> ${P}.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:*" + +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 +} |