diff options
Diffstat (limited to 'dev-ruby/sassc-rails')
-rw-r--r-- | dev-ruby/sassc-rails/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/sassc-rails/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild | 40 |
3 files changed, 54 insertions, 0 deletions
diff --git a/dev-ruby/sassc-rails/Manifest b/dev-ruby/sassc-rails/Manifest new file mode 100644 index 000000000000..66acb9d0e7c0 --- /dev/null +++ b/dev-ruby/sassc-rails/Manifest @@ -0,0 +1,3 @@ +DIST sassc-rails-2.1.1.gem 33280 BLAKE2B eaa66fa6bfa60a41c8b2a180ac58758d860feaa33aad6a92b28b3224361837281c353041f854317591ef4ae99a6e48f00d8cb31fdf1e5c6a12f58fb24809d615 SHA512 d612a0c5d0d4f55600f8f9734f5bcf30c62c2bcd657b917ee13e95b7f7c3c08b2b4cb2b62b75c52e08992b254279aa4988c3e94b56b91490532b2382dc0d8555 +EBUILD sassc-rails-2.1.1.ebuild 783 BLAKE2B 82fb27a1be266c91e2b423646e2e13d7f70fefce0951595708dd580624eb4bca1d0369aa5ea09fb4351df0537b1185d5aab757805ead5620c822ee3a0ad08646 SHA512 d37ecbd211802bbba7f0ae588138ffb9517f266bb9b14082b8eade25acd0965c37a0d391854001e7d1b839962461f8d3477f6e5d8bed0fe559a248fc351d0675 +MISC metadata.xml 342 BLAKE2B b460bdd1f19ae844f16c9600d7ffe9c737fe0812e88d35e572eb75d616b2aa6392bd0fa83eac92bd349503f5d72d39da3317b57415c38d121c705f09c5317338 SHA512 ee5b3763d54c109df23d6acdb840d71569d9405884bec4fb15de75d6fc66f68a5e40a8b873dfecab98e6c1f7e47cea4f875ac842d1f0d08cf5fc6cdcb0828312 diff --git a/dev-ruby/sassc-rails/metadata.xml b/dev-ruby/sassc-rails/metadata.xml new file mode 100644 index 000000000000..6cc4ce8447fb --- /dev/null +++ b/dev-ruby/sassc-rails/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">sass/sassc-rails</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild new file mode 100644 index 000000000000..ca9443f56d99 --- /dev/null +++ b/dev-ruby/sassc-rails/sassc-rails-2.1.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem eapi7-ver + +DESCRIPTION="Integrate SassC-Ruby with Rails" +HOMEPAGE="https://github.com/sass/sassc-rails" + +LICENSE="MIT" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" + +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/sassc-2.0 + dev-ruby/tilt:* + >=dev-ruby/railties-4:* + >=dev-ruby/sprockets-3.0:* + dev-ruby/sprockets-rails:* +" + +ruby_add_bdepend " + test? ( dev-ruby/bundler dev-ruby/mocha )" + +all_ruby_prepare() { + sed -i -e '/rake/ s/,.*$//' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +} |