summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2012-06-25 17:46:48 +0000
committerHans de Graaff <graaff@gentoo.org>2012-06-25 17:46:48 +0000
commitfe0d3c83f602164d5a030415454412af870dc24b (patch)
tree5e4736c4f0a495dd33828bcf95ca8d4f581de26d /dev-ruby
parentnet-misc/vncsnapshot: Fix parallel build, #295741; bump EAPI and resort ebuild (diff)
downloadgentoo-2-fe0d3c83f602164d5a030415454412af870dc24b.tar.gz
gentoo-2-fe0d3c83f602164d5a030415454412af870dc24b.tar.bz2
gentoo-2-fe0d3c83f602164d5a030415454412af870dc24b.zip
Version bump. Avoid known-to-be-broken tests on jruby. Fixes bug 422937.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sass/ChangeLog7
-rw-r--r--dev-ruby/sass/sass-3.1.19.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-ruby/sass/ChangeLog b/dev-ruby/sass/ChangeLog
index 2a921ed36a22..3929eabd870e 100644
--- a/dev-ruby/sass/ChangeLog
+++ b/dev-ruby/sass/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/sass
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/ChangeLog,v 1.16 2012/06/02 08:25:07 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/ChangeLog,v 1.17 2012/06/25 17:46:48 graaff Exp $
+
+*sass-3.1.19 (25 Jun 2012)
+
+ 25 Jun 2012; Hans de Graaff <graaff@gentoo.org> +sass-3.1.19.ebuild:
+ Version bump. Avoid known-to-be-broken tests on jruby. Fixes bug 422937.
02 Jun 2012; Hans de Graaff <graaff@gentoo.org> -sass-3.1.4.ebuild,
-sass-3.1.5.ebuild, -sass-3.1.10.ebuild, -sass-3.1.10-r1.ebuild,
diff --git a/dev-ruby/sass/sass-3.1.19.ebuild b/dev-ruby/sass/sass-3.1.19.ebuild
new file mode 100644
index 000000000000..1cf8e172079a
--- /dev/null
+++ b/dev-ruby/sass/sass-3.1.19.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.1.19.ebuild,v 1.1 2012/06/25 17:46:48 graaff Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ruby19 ree18 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
+
+DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
+HOMEPAGE="http://sass-lang.com/"
+LICENSE="MIT"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 >=dev-ruby/maruku-0.5.9 )"
+
+ruby_add_rdepend "dev-ruby/fssm !!<dev-ruby/haml-3.1"
+
+# tests could use `less` if we had it
+
+each_ruby_prepare() {
+ case ${RUBY} in
+ *jruby)
+ # tests fail with JRuby, and that's a given for now; it's
+ # not a bug in the code as much as it is relying on a detail
+ # of the implementation of CRuby. We remove failing files
+ # for now, this could probably be narrowed down more so that
+ # we could run more tests.
+ rm test/sass/script_test.rb test/sass/util_test.rb test/sass/engine_test.rb test/sass/scss/scss_test.rb || die
+ ;;
+ *)
+ ;;
+ esac
+}