From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 42197138334 for ; Wed, 4 Dec 2019 08:19:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DF05E083D; Wed, 4 Dec 2019 08:19:47 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 445AAE083D for ; Wed, 4 Dec 2019 08:19:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D100434D7AB for ; Wed, 4 Dec 2019 08:19:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D111A8CA for ; Wed, 4 Dec 2019 08:19:43 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1575447577.fb07d0edd9066f597900b551097c1c076a4e812f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/sassc-rails/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild X-VCS-Directories: dev-ruby/sassc-rails/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: fb07d0edd9066f597900b551097c1c076a4e812f X-VCS-Branch: master Date: Wed, 4 Dec 2019 08:19:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 790399af-94c2-467f-add7-3786988b1c3a X-Archives-Hash: a595327b921a8c451a4ae33b6cc0432f commit: fb07d0edd9066f597900b551097c1c076a4e812f Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 4 08:19:26 2019 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 4 08:19:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb07d0ed dev-ruby/sassc-rails: fix gemspec generation Closes: https://bugs.gentoo.org/692918 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild new file mode 100644 index 00000000000..089cbd49d65 --- /dev/null +++ b/dev-ruby/sassc-rails/sassc-rails-2.1.2-r1.ebuild @@ -0,0 +1,42 @@ +# 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 -e '/rake/ s/,.*$//' \ + -e 's/git ls-files -z/find . -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rake test || die +}