public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sassc/
Date: Sat,  5 Jun 2021 05:49:45 +0000 (UTC)	[thread overview]
Message-ID: <1622871986.05cad4f7c7d452ef538335d507355cffebda4d0b.graaff@gentoo> (raw)

commit:     05cad4f7c7d452ef538335d507355cffebda4d0b
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  5 05:46:26 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jun  5 05:46:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05cad4f7

dev-ruby/sassc: add 2.4.0

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/sassc/Manifest           |  1 +
 dev-ruby/sassc/sassc-2.4.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-ruby/sassc/Manifest b/dev-ruby/sassc/Manifest
index 30aeadcbad3..d55ceba045f 100644
--- a/dev-ruby/sassc/Manifest
+++ b/dev-ruby/sassc/Manifest
@@ -1 +1,2 @@
 DIST sassc-2.2.1.gem 302080 BLAKE2B 626601d2b22f91f354a4ddf7a68e4463b0a56b0a79e5d2ca122a083101146dac32699e348fd4573ef4ba76a430470ecd39427a8542caec931a8e16b26a23bb70 SHA512 728ad274363fd79aedee74fb6d4dbfc60f31b334e1a8054943ccf9cfa534fa3465abb00a2bd3020e198d287327058890411bb1983da6dc5dc3c4413b1936e2eb
+DIST sassc-2.4.0.gem 304640 BLAKE2B a4cd96859855cfd26e78a35becba30af8b7ee52d8ba67f7dcbc6354786f26e60a312be4e773f515f6edda6623142249a4a470f418d9fae3db734f8ae11498dc8 SHA512 835ba03d0fc5a791b2d620367f63202973f778bd8ebaa87c27f6a1de75b5895270205e8746fbb242d2739c9830a27d72453a75c1b536090840de581c52caade6

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 00000000000..3040ccc0c12
--- /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
+}


             reply	other threads:[~2021-06-05  5:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-05  5:49 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-03-06  6:42 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sassc/ Hans de Graaff
2023-08-23  4:33 Hans de Graaff
2023-04-07 18:25 Sam James
2023-04-01 23:19 Sam James
2022-12-18  9:27 Sam James
2022-12-18  9:27 Sam James
2022-12-18  9:18 Sam James
2022-09-25  8:43 Hans de Graaff
2022-06-19  8:24 Agostino Sarubbo
2022-06-19  8:15 Agostino Sarubbo
2022-06-19  8:14 Agostino Sarubbo
2022-06-17  8:14 Arthur Zamarin
2022-03-19 12:00 Hans de Graaff
2022-03-19 12:00 Hans de Graaff
2021-11-25 13:03 Hans de Graaff
2021-11-08  2:51 Yixun Lan
2021-11-01 15:46 Sam James
2021-10-10 23:45 Sam James
2021-10-10 21:48 Sam James
2021-10-10 20:43 Sam James
2021-10-10  0:09 Sam James
2021-10-06  5:33 Hans de Graaff
2021-03-09 13:00 Hans de Graaff
2021-03-09 12:57 Hans de Graaff
2021-03-09  9:01 Hans de Graaff
2020-09-08  5:48 Hans de Graaff
2020-07-27  2:09 Sam James
2020-07-12  6:22 Hans de Graaff
2019-10-12  8:58 Hans de Graaff
2019-05-30 18:05 Hans de Graaff
2019-05-26  5:41 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1622871986.05cad4f7c7d452ef538335d507355cffebda4d0b.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox