summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-07-12 06:02:54 +0000
committerHans de Graaff <graaff@gentoo.org>2014-07-12 06:02:54 +0000
commit49f912b4234688bda288697d06a873d4661bbda1 (patch)
tree76066527c8e6513718f80c2888b54f77841cfbd0 /dev-ruby
parentRevert change to mirror://bitbucket as wget fails to download due to mismatch... (diff)
downloadgentoo-2-49f912b4234688bda288697d06a873d4661bbda1.tar.gz
gentoo-2-49f912b4234688bda288697d06a873d4661bbda1.tar.bz2
gentoo-2-49f912b4234688bda288697d06a873d4661bbda1.zip
Version bump.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sass/ChangeLog7
-rw-r--r--dev-ruby/sass/sass-3.3.10.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/dev-ruby/sass/ChangeLog b/dev-ruby/sass/ChangeLog
index 1f739816d61c..89dc348c8661 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.55 2014/06/28 05:39:01 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/ChangeLog,v 1.56 2014/07/12 06:02:54 graaff Exp $
+
+*sass-3.3.10 (12 Jul 2014)
+
+ 12 Jul 2014; Hans de Graaff <graaff@gentoo.org> +sass-3.3.10.ebuild:
+ Version bump.
*sass-3.3.9 (28 Jun 2014)
diff --git a/dev-ruby/sass/sass-3.3.10.ebuild b/dev-ruby/sass/sass-3.3.10.ebuild
new file mode 100644
index 000000000000..cf3d68cdb8cb
--- /dev/null
+++ b/dev-ruby/sass/sass-3.3.10.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.10.ebuild,v 1.1 2014/07/12 06:02:54 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
+}