sass-rails: quick fix for upstream #588542

This commit is contained in:
blshkv 2016-07-10 23:19:55 +08:00
parent d411b36dbd
commit 787e83fcd0
No known key found for this signature in database
GPG key ID: 9CCF6FCB8D8A14BF
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST sass-rails-5.0.5.tar.gz 89688 SHA256 26ddcc586f43d713b14baee027c3f4d430e830ffb2c2582fc7208047a9c28eb2 SHA512 28ba55fc2a4bae0dbf9cf0e51d945e3373a4e1457287d51f98e32c06591c72f6557e49a58370fecdf01f45bd04a39a014a49cc2259488301793792e14653787e WHIRLPOOL d6d7a6dd631be765b365278486ad33ad5586a30da23efd4784c63e3aead2228d668e81587702708706eccbef1cbeea618f3d94cd25a2ddae77a550bc1bba207a

View file

@ -0,0 +1,39 @@
# 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="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
inherit ruby-fakegem versionator
DESCRIPTION="Official Ruby-on-Rails Integration with Sass"
HOMEPAGE="https://github.com/rails/sass-rails"
SRC_URI="https://github.com/rails/sass-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=""
# Restrict tests for now since it is hard to set up the right
# environment with the correct ruby interpreter and Rails test
# application.
RESTRICT="test"
#ruby_add_bdepend "test? ( dev-ruby/sfl dev-ruby/bundler )"
ruby_add_rdepend ">=dev-ruby/sass-3.1:* =dev-ruby/sass-3*:*
=dev-ruby/railties-4*:* <dev-ruby/railties-6:*
>=dev-ruby/sprockets-rails-2.0:* <dev-ruby/sprockets-rails-4:*
>=dev-ruby/sprockets-2.8:* <dev-ruby/sprockets-4:*
>=dev-ruby/tilt-1.1:* <dev-ruby/tilt-3:*"
each_ruby_test() {
${RUBY} -S bundle exec rake test || die
}