diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-07-25 13:44:06 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-07-25 19:10:40 +0200 |
commit | 90e37f0c8e9e6edadb5b1cd942bede4c4bfb08a9 (patch) | |
tree | 46b375549ed7e55aa8de17385ed36ef37fbf2f02 /dev-ruby/slim | |
parent | dev-ruby/slop: cleanup (diff) | |
download | gentoo-90e37f0c8e9e6edadb5b1cd942bede4c4bfb08a9.tar.gz gentoo-90e37f0c8e9e6edadb5b1cd942bede4c4bfb08a9.tar.bz2 gentoo-90e37f0c8e9e6edadb5b1cd942bede4c4bfb08a9.zip |
dev-ruby/slim: cleanup
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/slim')
-rw-r--r-- | dev-ruby/slim/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/slim/slim-4.0.1-r1.ebuild | 51 | ||||
-rw-r--r-- | dev-ruby/slim/slim-4.0.1.ebuild | 50 |
3 files changed, 0 insertions, 102 deletions
diff --git a/dev-ruby/slim/Manifest b/dev-ruby/slim/Manifest index 641a07459dec..01dd2ce3af84 100644 --- a/dev-ruby/slim/Manifest +++ b/dev-ruby/slim/Manifest @@ -1,3 +1,2 @@ DIST slim-3.0.9.gem 99840 BLAKE2B e449585fe5642c1980b4d8fb0c93979d8c16020c331f1bc2993c6f7b5bb3e55c1b85595711bf3acdc369c6a3fbfdc6873a8208c59aedaa49dead1cd9166347d4 SHA512 220dbcde230aab05e294022924346fbb02a1bf813a7c97910c2f60d7b3a7dd498d04f6f4f2883b895d2a3e6e9f526331914e3ab4560e748de2bd991358cca90d -DIST slim-4.0.1.gem 103424 BLAKE2B cf3629e6bb5254082ee3596dc4ddd05921186071823cfe6c423d3f173f80c46ca874e3cfa9a795ce4d564da2c7aa42a422513677978a6e79545a918ef3b9fb6f SHA512 afdaf01ce8372e270c00bc3fd863b9c2f7d26c851ed032374e648f069e6591e9522d4490f57350d4f13b85c68e6a9038111ad03a644a8e89894dca4ebffa0c90 DIST slim-4.1.0.gem 103424 BLAKE2B 87de8411d6284569ac56366d4e2f3ee351c6908001cbda2926312f25c1c39520662371e826493d1346722bb507348bd8c117f3b0447b433bdb406435b80a70e2 SHA512 a929edcd1b194bc6abddf5757e0e942835f6c5e1555aa7bf021b0e850d74c9777637a2a0eafbdf2de7f0f0574eb03866c562826c656adcc0517cc4bfcb5ca897 diff --git a/dev-ruby/slim/slim-4.0.1-r1.ebuild b/dev-ruby/slim/slim-4.0.1-r1.ebuild deleted file mode 100644 index 4e71e1931b4b..000000000000 --- a/dev-ruby/slim/slim-4.0.1-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_TASK_DOC="yard" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit eapi7-ver 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 ~arm64 ~hppa ~ppc ~ppc64 ~x86" -SLOT="$(ver_cut 1)" -IUSE="doc" - -ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* - >=dev-ruby/temple-0.7.6:0.7 - !!<dev-ruby/slim-3.0.9-r1" - -ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" - -ruby_add_bdepend "test? ( dev-ruby/redcarpet 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 - - sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ - -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_prepare() { - sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die -} diff --git a/dev-ruby/slim/slim-4.0.1.ebuild b/dev-ruby/slim/slim-4.0.1.ebuild deleted file mode 100644 index c6a86b286162..000000000000 --- a/dev-ruby/slim/slim-4.0.1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_EXTRADOC="CHANGES README.md" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_TASK_DOC="yard" - -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit eapi7-ver 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 ~arm64 ~hppa ~ppc ~ppc64 ~x86" -SLOT="$(ver_cut 1)" -IUSE="doc" - -ruby_add_rdepend ">=dev-ruby/tilt-2.0.6:* =dev-ruby/tilt-2.0*:* - >=dev-ruby/temple-0.7.6:0.7" - -ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )" - -ruby_add_bdepend "test? ( dev-ruby/redcarpet 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 - - sed -i -e '/s\.files/ s/git ls-files/find . -type f -print/' \ - -e '/s\.executables/ s:git ls-files -- bin/\*:find bin -type f -print:' ${RUBY_FAKEGEM_GEMSPEC} || die -} - -each_ruby_prepare() { - sed -i -e '/Open3/ s:ruby:'${RUBY}':' test/core/test_commands.rb || die -} |