summaryrefslogtreecommitdiff
path: root/dev-ruby/sass-rails
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/sass-rails
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/sass-rails')
-rw-r--r--dev-ruby/sass-rails/Manifest3
-rw-r--r--dev-ruby/sass-rails/metadata.xml11
-rw-r--r--dev-ruby/sass-rails/sass-rails-5.0.7.ebuild39
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ruby/sass-rails/Manifest b/dev-ruby/sass-rails/Manifest
new file mode 100644
index 000000000000..aed10de6a3d1
--- /dev/null
+++ b/dev-ruby/sass-rails/Manifest
@@ -0,0 +1,3 @@
+DIST sass-rails-5.0.7.tar.gz 90425 BLAKE2B 8aceff670ba2e4993597858b74362a02307e39ac967a331005f21d384644d0dbdd414560abaa88e60d35358b47d65c146baa72f37c879a2f13178e187cc1f79b SHA512 491a1618a75becf6095b102c996e50d25fe701d3a6c1b6c6fadff81c6c09260c3ee6ff9c84abf7bc62779fa7034d54d7c0d9a7c4148d3cc741d83efda87ec0a0
+EBUILD sass-rails-5.0.7.ebuild 1144 BLAKE2B f391a03d4ae5d70bba329b94c5ea02bebf6d6470af29b4ea64155035e13856b9a1705b7a91fbdb558032c1275fad5488a4a7dcf7f76558d5814c52e01fb604ab SHA512 636614dca20b7d50f65712df5e5ab36f573f1877fea5a647333b63db989c5996197a5df8bb45ce0f0f5da441a07857f2dd5e3069454ba2d022242f93672feb17
+MISC metadata.xml 342 BLAKE2B ada4b20d7341b3ce1b6062b13b4e2e3bbeabd0d5c1532a1d488ba4d25b4de5b940e2632a84ba7a4fddaa02439308dd0c39d993991a3f29f45d4e6bb5a2c66a84 SHA512 92d0e35a64810351db2a1d71d32b1c93cefd2689eee3bc4eb275c9fd016aad8fdfaeb0ece230a5da7d2158f720d6715d2f15b14bf3c7e80c0211ffc895863920
diff --git a/dev-ruby/sass-rails/metadata.xml b/dev-ruby/sass-rails/metadata.xml
new file mode 100644
index 000000000000..36956bcf5523
--- /dev/null
+++ b/dev-ruby/sass-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">rails/sass-rails</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild b/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild
new file mode 100644
index 000000000000..2e3f27229a80
--- /dev/null
+++ b/dev-ruby/sass-rails/sass-rails-5.0.7.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+USE_RUBY="ruby23 ruby24 ruby25"
+
+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 ~arm64 ~ppc ~ppc64 ~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
+}