summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-07-31 06:10:59 +0000
committerHans de Graaff <graaff@gentoo.org>2014-07-31 06:10:59 +0000
commitdb63b31fb7e20b915a25b595f59c89fccfb202d2 (patch)
tree1a40d36fc765f7b9b2b1fae287fc82de0019b58c /dev-ruby/sass
parentStable on amd64 and x86, wrt bug #517770. Drop old and vulnerable version (diff)
downloadgentoo-2-db63b31fb7e20b915a25b595f59c89fccfb202d2.tar.gz
gentoo-2-db63b31fb7e20b915a25b595f59c89fccfb202d2.tar.bz2
gentoo-2-db63b31fb7e20b915a25b595f59c89fccfb202d2.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/sass')
-rw-r--r--dev-ruby/sass/ChangeLog7
-rw-r--r--dev-ruby/sass/sass-3.3.12.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/dev-ruby/sass/ChangeLog b/dev-ruby/sass/ChangeLog
index 1b00c672e768..80adca964faa 100644
--- a/dev-ruby/sass/ChangeLog
+++ b/dev-ruby/sass/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/sass
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/ChangeLog,v 1.57 2014/07/26 05:35:14 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/ChangeLog,v 1.58 2014/07/31 06:10:59 graaff Exp $
+
+*sass-3.3.12 (31 Jul 2014)
+
+ 31 Jul 2014; Hans de Graaff <graaff@gentoo.org> +sass-3.3.12.ebuild:
+ Version bump.
*sass-3.3.11 (26 Jul 2014)
diff --git a/dev-ruby/sass/sass-3.3.12.ebuild b/dev-ruby/sass/sass-3.3.12.ebuild
new file mode 100644
index 000000000000..9e4449244505
--- /dev/null
+++ b/dev-ruby/sass/sass-3.3.12.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.3.12.ebuild,v 1.1 2014/07/31 06:10:59 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
+HOMEPAGE="http://sass-lang.com/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+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"
+
+# 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_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # Test fails on jruby for us, upstream can't
+ # reproduce. Avoiding it since it only affects debug
+ # information in the CSS file.
+ # https://github.com/nex3/sass/issues/563
+ sed -i -e '24s/filename_fn//' test/sass/plugin_test.rb || die
+ sed -i -e '/test_random/,/^ end/ s:^:#:' test/sass/functions_test.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}
+
+each_ruby_test() {
+ RUBOCOP=false ${RUBY} -S rake test || die
+}