diff options
author | Hans de Graaff <graaff@gentoo.org> | 2014-02-25 06:47:13 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2014-02-25 06:47:13 +0000 |
commit | 65498f38c05656e6116b6fb74aac76dd1d032d7c (patch) | |
tree | 7214ebe039c1b6743514ff5496a7361dd00aa785 /dev-ruby/sprockets | |
parent | Version bump. (diff) | |
download | gentoo-2-65498f38c05656e6116b6fb74aac76dd1d032d7c.tar.gz gentoo-2-65498f38c05656e6116b6fb74aac76dd1d032d7c.tar.bz2 gentoo-2-65498f38c05656e6116b6fb74aac76dd1d032d7c.zip |
Version bump.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/sprockets')
-rw-r--r-- | dev-ruby/sprockets/ChangeLog | 9 | ||||
-rw-r--r-- | dev-ruby/sprockets/sprockets-2.11.0.ebuild | 52 |
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/sprockets/ChangeLog b/dev-ruby/sprockets/ChangeLog index c7a5a7b34d47..c4bd6f2a627e 100644 --- a/dev-ruby/sprockets/ChangeLog +++ b/dev-ruby/sprockets/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/sprockets -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.18 2013/12/07 08:47:21 graaff Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/ChangeLog,v 1.19 2014/02/25 06:47:13 graaff Exp $ + +*sprockets-2.11.0 (25 Feb 2014) + + 25 Feb 2014; Hans de Graaff <graaff@gentoo.org> +sprockets-2.11.0.ebuild: + Version bump. 07 Dec 2013; Hans de Graaff <graaff@gentoo.org> sprockets-2.10.1.ebuild: Fix broken tests. diff --git a/dev-ruby/sprockets/sprockets-2.11.0.ebuild b/dev-ruby/sprockets/sprockets-2.11.0.ebuild new file mode 100644 index 000000000000..f4cea5b1506b --- /dev/null +++ b/dev-ruby/sprockets/sprockets-2.11.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sprockets/sprockets-2.11.0.ebuild,v 1.1 2014/02/25 06:47:13 graaff Exp $ + +EAPI=5 +USE_RUBY="ruby19" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec" + +inherit ruby-fakegem versionator + +DESCRIPTION="Ruby library for compiling and serving web assets." +HOMEPAGE="https://github.com/sstephenson/sprockets" +SRC_URI="https://github.com/sstephenson/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1)" +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +IUSE="" + +ruby_add_rdepend " + =dev-ruby/hike-1* >=dev-ruby/hike-1.2 + =dev-ruby/multi_json-1* + =dev-ruby/rack-1* + =dev-ruby/tilt-1* >=dev-ruby/tilt-1.3.1 + !!<dev-ruby/sprockets-2.2.2-r1:2.2" + +ruby_add_bdepend "test? ( + dev-ruby/json + dev-ruby/rack-test + =dev-ruby/coffee-script-2* + =dev-ruby/execjs-1* + =dev-ruby/sass-3* >=dev-ruby/sass-3.1 + )" + +all_ruby_prepare() { + # Avoid tests for template types that we currently don't package: + # eco and ejs. + sed -i -e '/eco templates/,/end/ s:^:#:' \ + -e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die + + # Add missing 'json' require + sed -i -e '4irequire "json"' test/test_manifest.rb || die + + # Avoid test breaking on specific javascript error being thrown, + # most likely due to using node instead of v8. + sed -i -e '/bundled asset cached if theres an error/,/^ end/ s:^:#:' test/test_environment.rb || die +} |