summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-06-18 06:59:16 +0200
committerHans de Graaff <graaff@gentoo.org>2016-06-19 07:20:02 +0200
commit3b29f2592b57be721d3af131832622d22fec8da8 (patch)
tree63bb8feed8f8eec3e0689548fbc946e69694c2c1 /dev-ruby/sprockets
parentdev-ruby/css_parser: add 1.4.2 (diff)
downloadgentoo-3b29f2592b57be721d3af131832622d22fec8da8.tar.gz
gentoo-3b29f2592b57be721d3af131832622d22fec8da8.tar.bz2
gentoo-3b29f2592b57be721d3af131832622d22fec8da8.zip
dev-ruby/sprockets: add 3.6.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby/sprockets')
-rw-r--r--dev-ruby/sprockets/Manifest1
-rw-r--r--dev-ruby/sprockets/sprockets-3.6.1.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index 7c8c75877d6b..e629973a7c8e 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.4.1-git.tgz 298315 SHA256 fb2dcf86378c45c8028fb9b483f2def9ae558613794255f6eb12c97db0f220db SHA512 dd8bae1d922b662ef3215742731024d13b3fbc435124bb25351eeb6d33363383cb630ff60a8f6199205f31ed484e76c4a40d2c8a02b05e35bd9e73eb43a951bb WHIRLPOOL 8ae84a080dc7dab113a6109a3c50e61b3da8b753391e0ac2113c8ac6f89b955c6b4c6d40dee6ff8d6522a0c289c0a49e1777bbf7958f819adbcae6204641d9f7
DIST sprockets-3.5.2-git.tgz 302784 SHA256 8ef5507db16113c9f839371544a8ed4e3911c99525df95cc55bf61413f432b3b SHA512 8e599cf646baf53650ecafc65923d7e92c0d04cbf7207f64a0aaa4098d068ce4a1c252c5ce879188cff9d9af6f88ba50fa39d7af643b2668f23b1b8535a284c2 WHIRLPOOL 108da86d47be7b889ab74c5f75bd3ff592ff310e43f006d1a4362d5912bb044fa2dd5b29f86bec0ff4222c85093785fbf4a55f94c73b30ac4fe2fbe0862a1c40
DIST sprockets-3.6.0-git.tgz 365525 SHA256 8260dc8e237d5b00b8fce19cdeee871057b530a4ffad889debdc8c2e5140931e SHA512 0306a69b510a7e2b5b334e8e3156bf064c4f7b721c6a86ce733f4e129186d5a5a19fd129d4a9b7d00d36505371ea811c52d2f808e52272f5a09e6bc631b3b14d WHIRLPOOL bf9e8e4deb499f59749bc5123b6aec558eb438525f37b706238de0bb9c2d4e115d32725478f2dd89b58ac6a742b19327aa72bbfb14b229e164b9a7952ef8ee60
+DIST sprockets-3.6.1-git.tgz 365930 SHA256 841afbc968b9897d7138771e425e771ff6e73083c573650eecb1c2dc05e5370f SHA512 b120e2ae3fcc73bd63ce280bf4db9e06e65063d9ea8db2772368cecdc98a111f39c1448b724312c8320f077372775591f96bdd7220de30a89bd1d36c742c4e09 WHIRLPOOL 156a8d05791c3edca44329a56e8fd9b141ae591ffaf9085434317587a46e1146561c89424de70bfed725585a11feca9bb59f2cdc3a2570d8dd7c2275f9bbb5d7
diff --git a/dev-ruby/sprockets/sprockets-3.6.1.ebuild b/dev-ruby/sprockets/sprockets-3.6.1.ebuild
new file mode 100644
index 000000000000..9ddc4d386cb6
--- /dev/null
+++ b/dev-ruby/sprockets/sprockets-3.6.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+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 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+IUSE=""
+
+ruby_add_rdepend "
+ dev-ruby/concurrent-ruby:1
+ =dev-ruby/rack-1*:*
+ !!<dev-ruby/sprockets-2.12.3-r1:2"
+
+ruby_add_bdepend "test? (
+ dev-ruby/json
+ dev-ruby/rack-test
+ =dev-ruby/coffee-script-2*
+ =dev-ruby/execjs-2*
+ =dev-ruby/sass-3* >=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
+ sed -i -e "/bundler/d" Rakefile || 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
+}