summaryrefslogtreecommitdiff
path: root/dev-ruby/sassc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /dev-ruby/sassc
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'dev-ruby/sassc')
-rw-r--r--dev-ruby/sassc/Manifest2
-rw-r--r--dev-ruby/sassc/sassc-2.4.0.ebuild48
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-ruby/sassc/Manifest b/dev-ruby/sassc/Manifest
index d16211baef9f..b7c311911e46 100644
--- a/dev-ruby/sassc/Manifest
+++ b/dev-ruby/sassc/Manifest
@@ -1,4 +1,6 @@
DIST sassc-2.2.1.gem 302080 BLAKE2B 626601d2b22f91f354a4ddf7a68e4463b0a56b0a79e5d2ca122a083101146dac32699e348fd4573ef4ba76a430470ecd39427a8542caec931a8e16b26a23bb70 SHA512 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb
+DIST sassc-2.4.0.gem 304640 BLAKE2B a4cd96859855cfd26e78a35becba30af8b7ee52d8ba67f7dcbc6354786f26e60a312be4e773f515f6edda6623142249a4a470f418d9fae3db734f8ae11498dc8 SHA512 835ba03d0fc5a791b2d620367f63202973f778bd8ebaa87c27f6a1de75b5895270205e8746fbb242d2739c9830a27d72453a75c1b536090840de581c52caade6
EBUILD sassc-2.2.1-r1.ebuild 1048 BLAKE2B 8c48e20062edfbefd711bd25e824d18c23b57015b3a45e813d149a3d65f7267c0834fd0d68a66c557983e4d2a1dd77c8cd1986bc1af35f271f4f3f5d3324d3f9 SHA512 12909cacf82d0ce4bb059024a17464143fe37f902bae472f3aed317dc720eb79c12cf948199c24922ad5e2e42d65e84e93b1db68eaaf3212b62b9c67bf7eee51
EBUILD sassc-2.2.1.ebuild 1032 BLAKE2B ff9fc9b4fd8704d6ce318fde53989aa914bec96cdd10f3d9898e89dc02f7e26640df8150f0ae18c09db7fa97f541452eeef39ab4900602f4442eb44c47668ce0 SHA512 89ad98172e679447138d251dd34fcd1e5a1ca4bc21d438f82929052a0b23ca6f8bf0ce36ec13aa2a98f5665e8669b0ea51044d0c145ffd7eac2cc76356cc06e2
+EBUILD sassc-2.4.0.ebuild 1048 BLAKE2B 8c48e20062edfbefd711bd25e824d18c23b57015b3a45e813d149a3d65f7267c0834fd0d68a66c557983e4d2a1dd77c8cd1986bc1af35f271f4f3f5d3324d3f9 SHA512 12909cacf82d0ce4bb059024a17464143fe37f902bae472f3aed317dc720eb79c12cf948199c24922ad5e2e42d65e84e93b1db68eaaf3212b62b9c67bf7eee51
MISC metadata.xml 341 BLAKE2B a87edcb982765d42f3b800c9cc82e1552e92c758454449fe45da64ae131526134e6f0c3e828547ddf4e63e464563589b67de46c11539464c78b4de4291be6b6b SHA512 4cb9faf011e514021d70371749be7c56529e0bec0b880815cba83fcd66fd9e5b1f44932b3d498a7cbe26238659d590bb5a4e3f98e04553b8299299aaec71c70d
diff --git a/dev-ruby/sassc/sassc-2.4.0.ebuild b/dev-ruby/sassc/sassc-2.4.0.ebuild
new file mode 100644
index 000000000000..3040ccc0c12f
--- /dev/null
+++ b/dev-ruby/sassc/sassc-2.4.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby25 ruby26 ruby27"
+
+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 ~arm64"
+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__:"'${ESYSROOT}'/usr/'$(get_libdir)'":' \
+ 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
+}