From 5b5fb5b075a3f6f9a5abe714312f1f78015564f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20R=C3=BCger?= Date: Sat, 26 Sep 2015 02:58:39 +0200 Subject: [PATCH] dev-ruby/sprockets: Version bump Package-Manager: portage-2.2.22 --- dev-ruby/sprockets/Manifest | 1 + dev-ruby/sprockets/sprockets-3.3.5.ebuild | 59 +++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 dev-ruby/sprockets/sprockets-3.3.5.ebuild diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest index 20161395b19b..f9c33b8fe94b 100644 --- a/dev-ruby/sprockets/Manifest +++ b/dev-ruby/sprockets/Manifest @@ -4,3 +4,4 @@ DIST sprockets-2.2.3-git.tgz 185139 SHA256 d8d8c59a4f129357f5d9093db02d8e5df0b2d DIST sprockets-3.1.0-git.tgz 290551 SHA256 b49a8f300adb526f9e1fa65e5e648e113885e820f33a63a004afaf3d37e9ea90 SHA512 e74e7ac1e29d92dc6ef064e103c7b2af3cf202ef2bfd5c8ec4215d2ae60cf1283cb53ba2496d1aabae87497dd372a0caf67b8a9be261d9d44b0df35735aaf6ca WHIRLPOOL 28de9f6ffefb959eac4bb845b252e3b138d6e1b6a63b550c8af83d1be9392d2d727d23e243214a92bce5bb118f7f366ad9d5156d21c57b986a93b83fb077d707 DIST sprockets-3.2.0-git.tgz 290551 SHA256 231cde13cc79f548d72eb53aef52515aff885461fde6c98281133f973c3fccd8 SHA512 c146ce41518d86754f60478b4501df4fef8f77d3f6210637d460d8d7aad182908d5eea5f6677aac32dab6bf2ced0078d5cb9d00b5a4a51252c1c079041254a3e WHIRLPOOL 79bd194a44475afd8ecafd37179eb6d0fe99d05c4ceb55c7e0b6f3cc558309284c4c030bdc897f8e1f575900abaab42f8e4162cbc3318cdd9153cf61cf40654f DIST sprockets-3.3.4-git.tgz 297110 SHA256 b8059ed5be77a7a9f8aefbf4aef873851e6fd198af454b20f05986e83dd7dff1 SHA512 907e0d24532c37e3085304c13b633467cf2793a2b2b899e270f1022cbcbde3c9979d4bdff6bd20560758c76c214e45b8b174f5992ff767ad499807d9c71721ff WHIRLPOOL 77d97c9e028c136d9b26d17c88b0a8c3bab21c60a9e474710248e5540de4db374434539a82146766704c0dbe79d4270c559d94aee2713889cb4b2cd2eed48ee2 +DIST sprockets-3.3.5-git.tgz 297306 SHA256 f8cba6b61de022e3ab5d4fc14bcaac487da405251e651234a9c24187bf38cec9 SHA512 d7f850a333cf1930e68d0c630df8afec688dd1f219a8c8d03c1b7f093bc0103044b27272623e70225b0f5334c450e604067b41fbbea6a9b4ddf1922ee280565f WHIRLPOOL 8aa934a435023f4c7ecbcf3d93f2ad7af6bcdb1cbf7f20d128f69dd28bec61e5135968154881c071556d8b9af950f7e08a8ce5ca3e91d9251889a55d015cb658 diff --git a/dev-ruby/sprockets/sprockets-3.3.5.ebuild b/dev-ruby/sprockets/sprockets-3.3.5.ebuild new file mode 100644 index 000000000000..703a4ea7a05d --- /dev/null +++ b/dev-ruby/sprockets/sprockets-3.3.5.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21" + +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/rails/sprockets" +SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="MIT" +SLOT="$(get_version_component_range 1)" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~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/rack-1*:* + !!=dev-ruby/sass-3.1 + dev-ruby/uglifier + )" + +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 + sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die + rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die +} + +each_ruby_prepare() { + sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die +} + +each_ruby_test() { + # Make sure we have completely separate copies. Hardlinks won't work + # for this test suite. + cp -R test test-new || die + rm -rf test || die + mv test-new test || die + + each_fakegem_test +} -- 2.26.2