diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-ruby/sass-listen/sass-listen-4.0.0.ebuild | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-ruby/sass-listen/sass-listen-4.0.0.ebuild')
-rw-r--r-- | dev-ruby/sass-listen/sass-listen-4.0.0.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild b/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild new file mode 100644 index 000000000000..7d102181faca --- /dev/null +++ b/dev-ruby/sass-listen/sass-listen-4.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +SRC_URI="https://github.com/sass/listen/archive/v${PV}.tar.gz -> ${P}.tar.gz" +DESCRIPTION="Fork of guard/listen provides a stable API for users of the ruby Sass CLI" +HOMEPAGE="https://github.com/guard/listen" +RUBY_S="listen-${PV}" + +LICENSE="MIT" +SLOT="4" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_rdepend ">=dev-ruby/rb-inotify-0.9.7" + +ruby_add_bdepend "test? ( dev-ruby/thor )" + +all_ruby_prepare() { + rm -f Gemfile || die + sed -i -e "/git/,+3d" -e "/rb-fsevent/d" ${PN}.gemspec || die + sed -i -e "/rb-fsevent/d" lib/sass-listen/adapter/darwin.rb || die + rm -rf spec/lib/listen/adapter/darwin_spec.rb || die +} + +each_ruby_prepare() { + mkdir spec/.fixtures || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec + rm -rf spec/.fixtures || die +} |