From: Hans de Graaff Date: Sun, 5 May 2019 05:59:15 +0000 (+0200) Subject: dev-ruby/sprockets: cleanup X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0181a6c180e0d04ddf4cc7055187fa47de4fcd60;p=gentoo.git dev-ruby/sprockets: cleanup Signed-off-by: Hans de Graaff Package-Manager: Portage-2.3.62, Repoman-2.3.11 --- diff --git a/dev-ruby/sprockets/Manifest b/dev-ruby/sprockets/Manifest index a48c6a2bce1c..7843b9c439de 100644 --- a/dev-ruby/sprockets/Manifest +++ b/dev-ruby/sprockets/Manifest @@ -1,2 +1 @@ -DIST sprockets-3.7.1-git.tgz 368910 BLAKE2B 1411f0ad02da1fe6c3774a3c7fd689b174e18ef72a2a032eccfca2c9b4bb5298312488cd97511572e7785e7eb1b00b6accce90046b2d59b91edc8b38542aa0e1 SHA512 b766070806d62ef10839c12c0e1ba31b3553d014fc45df27fe7dc678d6980b8da3080733b1bcc3d40b1ed9d41550e45da7a365d10fc5de0b1eb88d769169cc3e DIST sprockets-3.7.2-git.tgz 369053 BLAKE2B 3c40de921d82b2f5c71e3ecaa114576293946352415da1195e60cdda6363066a6be05474eb7842ab1122e29fa6c19fd2f7a38fb0a7cf9972de0640eeb29d03f0 SHA512 bc7d79ba696a072644852b7a3a73ce086d297662309deb1d00318ad453f50ac6e494e6489632cb282795de2f334700155cfd21cc80be638dc471a3215422591f diff --git a/dev-ruby/sprockets/sprockets-3.7.1.ebuild b/dev-ruby/sprockets/sprockets-3.7.1.ebuild deleted file mode 100644 index 57dd68e9e173..000000000000 --- a/dev-ruby/sprockets/sprockets-3.7.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby23 ruby24 ruby25" - -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 ~arm64 ~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/concurrent-ruby:1 - >=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 - 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 -}