Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/tilt/
Date: Thu, 27 Jul 2017 07:13:14
Message-Id: 1501134327.07ba3871596a9df3d81d51ed9d958c34baba4d00.graaff@gentoo
1 commit: 07ba3871596a9df3d81d51ed9d958c34baba4d00
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 27 05:45:27 2017 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 27 05:45:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07ba3871
7
8 dev-ruby/tilt: add 2.0.8
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-ruby/tilt/Manifest | 1 +
13 dev-ruby/tilt/tilt-2.0.8.ebuild | 42 +++++++++++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-ruby/tilt/Manifest b/dev-ruby/tilt/Manifest
17 index 3c5fea01ac8..881c1e52b06 100644
18 --- a/dev-ruby/tilt/Manifest
19 +++ b/dev-ruby/tilt/Manifest
20 @@ -1,3 +1,4 @@
21 DIST tilt-1.4.1.gem 42496 SHA256 39820562c4f5db45fe18de87ccc30a0e77a998bf5334b1d8c10a2f7dbc1f5903 SHA512 10fec263596d0e18a7a1440a7edfa08a161526cc46cc70427bc251951c447c40b4a4e8675e9162a9ed288879682b4aceeeb35b48cf3f4925921025194543363f WHIRLPOOL 5d70949358b97e867cdec160bd3c3726dabfec94bfeadc3a12f17463d378779d8502dda6458c7deb92bd3d9def91e306077ef806a7f75bd6c892554739ce46e9
22 DIST tilt-2.0.5.gem 52224 SHA256 0ec3e46ff4dcbabe0e90af1e92786b3c88312ebca55816b04f2511d1dd42f351 SHA512 b032439d00e09d3968b20f5ea5937c5918b1e10e0255cce402b6859b7d59ecdc265523a151c0fcca0034e0de26ca5fe422944790939896d7e0000641980764fa WHIRLPOOL ab98e857c456b664e8364d037b800ace4559b3de317c72da116402d0845a697e1979c33a77606ebd976b7ac03d0ecd24d4c56711e53190ae62edb63bc19f8b9c
23 DIST tilt-2.0.7.gem 54272 SHA256 eb684011d518d16d293a9fdc1ac52bdeb7b6c04153537dda453f1150b85741c7 SHA512 5becf05d870db6ddb656e7a1c45615aa821e0b9827a9cdc4212dcca25c24db671bd8d9fb8f8d6a6ea4095dbe6a80fc0b4792b4382d50ada6c0eec81fd6270064 WHIRLPOOL f3ca0c00b217140589da31255e2dcb62d873d65a54aee4777a7fbddee584194a571781e4832c9748727c70c6c68cbe37696890e1ee39c5dafb9ed4ec603462f2
24 +DIST tilt-2.0.8.gem 54784 SHA256 2a3be6c56a8cc6338203c02910e20e858664b633adb550e1103804d75eae4000 SHA512 1767f2e5ce45afe95d84d32de7c2b6fe24ff7cb6f7ee8485d84344820b2f6e969ae60a6fbaa7141f7fe135c6540d96fa5b27fd8010b95c0ded5d049a315001d5 WHIRLPOOL a2978224e803febba2dd3d25a8c1b4a3618f5d3794631e806f9de90a186f260e7fb8a1705bec36059272ee976f280d2b0252a6294fdb4d0ba1c280cce8d0bf74
25
26 diff --git a/dev-ruby/tilt/tilt-2.0.8.ebuild b/dev-ruby/tilt/tilt-2.0.8.ebuild
27 new file mode 100644
28 index 00000000000..2d2b204f530
29 --- /dev/null
30 +++ b/dev-ruby/tilt/tilt-2.0.8.ebuild
31 @@ -0,0 +1,42 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +USE_RUBY="ruby21 ruby22 ruby23 ruby24"
38 +
39 +RUBY_FAKEGEM_TASK_DOC=""
40 +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md docs/TEMPLATES.md"
41 +
42 +inherit ruby-fakegem
43 +
44 +DESCRIPTION="Thin interface over template engines to make their usage as generic as possible"
45 +HOMEPAGE="https://github.com/rtomayko/tilt"
46 +
47 +LICENSE="MIT"
48 +SLOT="2"
49 +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"
50 +IUSE=""
51 +
52 +# Block on some of the potential test dependencies. These dependencies
53 +# are optional for the test suite, and we don't want to depend on all of
54 +# them to faciliate keywording and stabling.
55 +ruby_add_bdepend "test? (
56 + dev-ruby/bluecloth
57 + dev-ruby/coffee-script
58 + dev-ruby/erubis
59 + dev-ruby/nokogiri
60 + !!<dev-ruby/maruku-0.7.2 )"
61 +
62 +ruby_add_rdepend "!!<dev-ruby/tilt-1.4.1-r2:0"
63 +
64 +all_ruby_prepare() {
65 + rm Gemfile || die
66 + sed -e '/bundler/I s:^:#:' -i Rakefile test/test_helper.rb || die
67 +
68 + # Avoid tests with minor syntax differences since this happens all
69 + # the time when details in the dependencies change.
70 + sed -e '/test_smarty_pants_true/,/^ end/ s:^:#:' \
71 + -e '/test_smart_quotes_true/,/^ end/ s:^:#:' -i test/tilt_markdown_test.rb || die
72 + sed -e '/smartypants when :smart is set/,/^ end/ s:^:#:' -i test/tilt_rdiscounttemplate_test.rb || die
73 +}