diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-05-18 07:07:06 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-05-18 07:07:06 +0200 |
commit | c12e0addc4a2934b7c6178cd5bc1a1df47d56fbb (patch) | |
tree | 853b9cdba571570c01b776e11e074190c7eeeea5 /dev-ruby/slim | |
parent | dev-ruby/simplecov-html: add 0.10.1 (diff) | |
download | gentoo-c12e0addc4a2934b7c6178cd5bc1a1df47d56fbb.tar.gz gentoo-c12e0addc4a2934b7c6178cd5bc1a1df47d56fbb.tar.bz2 gentoo-c12e0addc4a2934b7c6178cd5bc1a1df47d56fbb.zip |
dev-ruby/slim: cleanup
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/slim')
-rw-r--r-- | dev-ruby/slim/slim-3.0.7.ebuild | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/dev-ruby/slim/slim-3.0.7.ebuild b/dev-ruby/slim/slim-3.0.7.ebuild deleted file mode 100644 index 7e3da4a828ec..000000000000 --- a/dev-ruby/slim/slim-3.0.7.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -USE_RUBY="ruby20 ruby21 ruby22 ruby23" - -RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_TASK_DOC="yard" - -inherit ruby-fakegem - -DESCRIPTION="A template language aiming to reduce the syntax to the essential parts" -HOMEPAGE="http://slim-lang.com/" -LICENSE="MIT" - -KEYWORDS="~amd64 ~arm ~ppc" -SLOT="0" -IUSE="doc" - -ruby_add_rdepend ">=dev-ruby/tilt-1.3.3:* <dev-ruby/tilt-2.1:* - >=dev-ruby/temple-0.7.3:0.7" - -ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" - -ruby_add_bdepend "test? ( dev-ruby/sass )" - -all_ruby_prepare() { - sed -i -e '/bundler/I s:^:#:' Rakefile || die - - # This sinatra code expects tests to be installed but we strip those. - sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die - - # Avoid tests for things we don't have. The builder test does not pass with tilt 2.x - sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \ - -e '/test_render_with_wiki/,/^ end/ s:^:#:' \ - -e '/test_render_with_creole/,/^ end/ s:^:#:' \ - -e '/test_render_with_builder/,/^ end/ s:^:#:' \ - -e '/test_render_with_org/,/^ end/ s:^:#:' test/core/test_embedded_engines.rb || die -} - -each_ruby_prepare() { - sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die -} |