summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-02-24 09:42:07 +0100
committerHans de Graaff <graaff@gentoo.org>2018-02-24 09:48:39 +0100
commit855d7b767bdb860a6aebd259e557721d2db696fd (patch)
tree0f3904afdca16a553972be086155ab6533155f04 /dev-ruby/sprockets
parentdev-ruby/sass-rails: remove masked version (diff)
downloadgentoo-855d7b767bdb860a6aebd259e557721d2db696fd.tar.gz
gentoo-855d7b767bdb860a6aebd259e557721d2db696fd.tar.bz2
gentoo-855d7b767bdb860a6aebd259e557721d2db696fd.zip
dev-ruby/sprockets: remove masked version
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/sprockets')
-rw-r--r--dev-ruby/sprockets/Manifest1
-rw-r--r--dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild79
2 files changed, 0 insertions, 80 deletions
diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest
index 1a9ed815512d..ecd5a1344025 100644
--- a/dev-ruby/sprockets/Manifest
+++ b/dev-ruby/sprockets/Manifest
@@ -1,2 +1 @@
-DIST sprockets-2.12.3-git.tgz 195647 BLAKE2B 332855d9505456ddf2cc17e8027c1a048ff503c82deb4cb22d0df1d1711a88db11b2e9b3a102843e1affc8d4c676726344f5676248ea8a3e8de57746e4fba4e1 SHA512 fd9544ed946bdf95968f198e74a36b682613d68e29a46708fd46c8b58792bf52526936b4c8d9ec3acea8f7cce789a69bcf4da3269741d43e186001061cbed03a
DIST sprockets-3.7.1-git.tgz 368910 BLAKE2B 1411f0ad02da1fe6c3774a3c7fd689b174e18ef72a2a032eccfca2c9b4bb5298312488cd97511572e7785e7eb1b00b6accce90046b2d59b91edc8b38542aa0e1 SHA512 b766070806d62ef10839c12c0e1ba31b3553d014fc45df27fe7dc678d6980b8da3080733b1bcc3d40b1ed9d41550e45da7a365d10fc5de0b1eb88d769169cc3e
diff --git a/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild b/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild
deleted file mode 100644
index e33a105fff55..000000000000
--- a/dev-ruby/sprockets/sprockets-2.12.3-r1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-USE_RUBY="ruby21 ruby22"
-
-RUBY_FAKEGEM_TASK_DOC=""
-RUBY_FAKEGEM_EXTRADOC="README.md"
-
-RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
-
-RUBY_FAKEGEM_BINWRAP=""
-
-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 ~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/hike-1*:0 >=dev-ruby/hike-1.2:0
- =dev-ruby/multi_json-1*
- =dev-ruby/rack-1*:*
- =dev-ruby/tilt-1*:0 >=dev-ruby/tilt-1.3.1:0
- !!<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-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
-
- # 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
-
- # Require a newer version of execjs since we do not have this slotted.
- sed -i -e '/execjs/ s/1.0/2.0/' ${RUBY_FAKEGEM_GEMSPEC} || die
-
- # Make sure the correct version of tilt and rack used when testing
- sed -i -e '1igem "tilt", "~>1.3"; gem "rack", "~>1.0"' test/sprockets_test.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
-
- # Make sure we use the correct tilt and rack version.
- sed -i -e '2i gem "tilt", "~>1.3"; gem "rack", "~>1.0"' bin/sprockets || die
-
- each_fakegem_test
-
- sed -i -e '/tilt/d' bin/sprockets || die
-}