dev-ruby/sassc-rails: add 2.1.2
authorHans de Graaff <graaff@gentoo.org>
Tue, 18 Jun 2019 17:33:26 +0000 (19:33 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 18 Jun 2019 17:33:26 +0000 (19:33 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11

dev-ruby/sassc-rails/Manifest
dev-ruby/sassc-rails/sassc-rails-2.1.2.ebuild [new file with mode: 0644]

index 714064312ac0e2f4d6ace6f4feddd8cb8740bdf9..cb0fc535dcb6b7e7fe6ff5538deaa7e81cd60598 100644 (file)
@@ -1 +1,2 @@
 DIST sassc-rails-2.1.1.gem 33280 BLAKE2B eaa66fa6bfa60a41c8b2a180ac58758d860feaa33aad6a92b28b3224361837281c353041f854317591ef4ae99a6e48f00d8cb31fdf1e5c6a12f58fb24809d615 SHA512 d612a0c5d0d4f55600f8f9734f5bcf30c62c2bcd657b917ee13e95b7f7c3c08b2b4cb2b62b75c52e08992b254279aa4988c3e94b56b91490532b2382dc0d8555
+DIST sassc-rails-2.1.2.gem 33280 BLAKE2B 1ecd048a879ea9ba08390ed81c679a3a4461f3937d1b0ce5ee001810067286f386ea885787984ffa417d2af191f178563e892ea24f1b466b6538c815fadbd9e3 SHA512 d250f22a3f2c4afb56a22f4533194d80b8a301730e5e4b49f9613e489f7158e7bd9c02cff8e1ec8ce727ede25f1c03a2613a664291967b5e97e210f7890d0bc8
diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.2.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.2.ebuild
new file mode 100644 (file)
index 0000000..ca9443f
--- /dev/null
@@ -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
+}