diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-12-24 20:05:58 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-12-24 20:05:58 +0100 |
commit | ca798f713f4f708aae9ed7d6e2e912f9654fe823 (patch) | |
tree | 873fa49f2f2066c4f380f0fa4d12bef5ec88ba9a /dev-ruby/sass/sass-3.4.25-r1.ebuild | |
parent | sci-biology/allpathslg: Sanitize ebuild (diff) | |
download | gentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.tar.gz gentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.tar.bz2 gentoo-ca798f713f4f708aae9ed7d6e2e912f9654fe823.zip |
dev-ruby/sass: add sass 3.5.4
Fix installation together with older slots.
Closes: https://bugs.gentoo.org/636822
Package-Manager: Portage-2.3.13, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/sass/sass-3.4.25-r1.ebuild')
-rw-r--r-- | dev-ruby/sass/sass-3.4.25-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/sass/sass-3.4.25-r1.ebuild b/dev-ruby/sass/sass-3.4.25-r1.ebuild new file mode 100644 index 000000000000..c5c7fc107d06 --- /dev/null +++ b/dev-ruby/sass/sass-3.4.25-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME" + +# Allow the latest slot to provide these +RUBY_FAKEGEM_BINWRAP="" + +inherit ruby-fakegem versionator + +DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, and more" +HOMEPAGE="http://sass-lang.com/" +LICENSE="MIT" + +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" +SLOT="$(get_version_component_range 1-2)" +IUSE="" + +ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 )" + +ruby_add_rdepend ">=dev-ruby/listen-1.3.1:1 !!<dev-ruby/haml-3.1 !!<dev-ruby/sass-3.2.19-r1:0 !!<dev-ruby/sass-3.3.14-r1:3.3" + +# tests could use `less` if we had it + +all_ruby_prepare() { + rm -rf vendor/listen || die + + # Don't require maruku as markdown provider but let yard decide. + sed -i -e '/maruku/d' .yardopts || die +} + +each_ruby_test() { + RUBOCOP=false ${RUBY} -S rake test:ruby || die +} |