summaryrefslogtreecommitdiff
path: root/dev-ruby/sassc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-10-13 22:19:36 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-10-14 23:22:23 +0100
commit4b19be30aa626b327c885dae62c559ec0e9fb935 (patch)
tree76e74807bc479502e13866b581b6bf86734ec634 /dev-ruby/sassc
parent30d6f67c98d149508509d5e86f176d558793acc0 (diff)
gentoo resync : 13.10.2019
Diffstat (limited to 'dev-ruby/sassc')
-rw-r--r--dev-ruby/sassc/Manifest2
-rw-r--r--dev-ruby/sassc/sassc-2.2.1.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/sassc/Manifest b/dev-ruby/sassc/Manifest
index 2a1bb4f6c9b0..3fbf5655a1ae 100644
--- a/dev-ruby/sassc/Manifest
+++ b/dev-ruby/sassc/Manifest
@@ -1,3 +1,5 @@
DIST sassc-2.0.1.gem 357888 BLAKE2B 670a622edc065abd7124a413bff3e32e524703cd3343ae7ffd1439af075e04d513ee125ddbd9ff81ffd7eadbb2dd935a83dc71334252b681fb478da9aad06181 SHA512 cece2741e316eeb4684a5650627bb2a9f161bfd99a3c93c2bf8b7d40f47ff064ee837831b1f9ad77d9e321bbd9874301762c9f0519b2b42658cbea6fd7240fcd
+DIST sassc-2.2.1.gem 302080 BLAKE2B 626601d2b22f91f354a4ddf7a68e4463b0a56b0a79e5d2ca122a083101146dac32699e348fd4573ef4ba76a430470ecd39427a8542caec931a8e16b26a23bb70 SHA512 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb
EBUILD sassc-2.0.1-r1.ebuild 1230 BLAKE2B c89dd78b25250f86705c754b8dbed9b9310a2ece0f324dce102dd5cdec3c5c4da2cecf8f9e5f9a0e1332f5e672b029a325889a436becff468094f6e88467e70e SHA512 e97918a8e2828850d4b8d155615ac88a9a1cdb849683828b14f07a446a25d7414a5ea32ce1071a1591d044c3aa8101f9bb5e7033fcafd3b802eb7d21282065d1
+EBUILD sassc-2.2.1.ebuild 1018 BLAKE2B e4b4131e45bef2d6b4debcf6f5664faa3e05b228db75e504ffa49be92c74123afc353d367204a8be54c8e3f1384d382821a78b0aaae8afcc368ec80ad33f6d71 SHA512 fea567e939670a061af9026889006d87299b7d7e13b2a1675932f92db863510403c4456a1f5457c246c8fc4b14b841fff3d689428a4060c9a096496d5a68de3e
MISC metadata.xml 341 BLAKE2B a87edcb982765d42f3b800c9cc82e1552e92c758454449fe45da64ae131526134e6f0c3e828547ddf4e63e464563589b67de46c11539464c78b4de4291be6b6b SHA512 4cb9faf011e514021d70371749be7c56529e0bec0b880815cba83fcd66fd9e5b1f44932b3d498a7cbe26238659d590bb5a4e3f98e04553b8299299aaec71c70d
diff --git a/dev-ruby/sassc/sassc-2.2.1.ebuild b/dev-ruby/sassc/sassc-2.2.1.ebuild
new file mode 100644
index 000000000000..4d00f99db555
--- /dev/null
+++ b/dev-ruby/sassc/sassc-2.2.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_RECIPE_DOC="none"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Use libsass with Ruby"
+HOMEPAGE="https://github.com/sass/sassc-ruby"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="2"
+IUSE=""
+
+RDEPEND+=">=dev-libs/libsass-3.6.1"
+
+ruby_add_rdepend "
+ >=dev-ruby/ffi-1.9.6
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/test_construct
+ dev-ruby/minitest-around
+)"
+
+all_ruby_prepare() {
+ # Use unbundled libsass
+ rm -rf ext || die
+
+ sed -i -e '/ffi_lib/ s:__dir__:"/usr/lib64":' \
+ lib/sassc/native.rb || die
+
+ # Avoid version-specific test so newer libsass versions can be used.
+ sed -i -e '/test_it_reports_the_libsass_version/,/end/ s:^:#:' test/native_test.rb || die
+
+ sed -i -e '/pry/ s:^:#:' test/test_helper.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
+}