Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/jekyll/
Date: Thu, 18 Feb 2016 22:52:28
Message-Id: 1455835906.c8232434dca709cfc8d84c202e2f5c9778b1a8ac.mrueg@gentoo
1 commit: c8232434dca709cfc8d84c202e2f5c9778b1a8ac
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 18 22:51:46 2016 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 18 22:51:46 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8232434
7
8 www-apps/jekyll: Move to old slot
9
10 Package-Manager: portage-2.2.27
11
12 www-apps/jekyll/jekyll-3.1.1-r1.ebuild | 53 ++++++++++++++++++++++++++++++++++
13 1 file changed, 53 insertions(+)
14
15 diff --git a/www-apps/jekyll/jekyll-3.1.1-r1.ebuild b/www-apps/jekyll/jekyll-3.1.1-r1.ebuild
16 new file mode 100644
17 index 0000000..6d421c6
18 --- /dev/null
19 +++ b/www-apps/jekyll/jekyll-3.1.1-r1.ebuild
20 @@ -0,0 +1,53 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +
25 +EAPI=5
26 +USE_RUBY="ruby20 ruby21"
27 +
28 +inherit ruby-fakegem
29 +
30 +RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.markdown README.markdown History.markdown"
31 +RUBY_FAKEGEM_EXTRAINSTALL="features site"
32 +
33 +DESCRIPTION="A simple, blog aware, static site generator"
34 +HOMEPAGE="http://jekyllrb.com https://github.com/jekyll/jekyll"
35 +SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="MIT"
38 +SLOT="0"
39 +KEYWORDS="~amd64"
40 +IUSE="test"
41 +
42 +ruby_add_rdepend "dev-ruby/colorator
43 + >=dev-ruby/kramdown-1.3
44 + >=dev-ruby/liquid-3.0:3
45 + >=dev-ruby/mercenary-0.3.3
46 + >=dev-ruby/safe_yaml-1
47 + >=dev-ruby/rouge-1.7
48 + >=www-apps/jekyll-sass-converter-1.0
49 + >=www-apps/jekyll-watch-1.1"
50 +
51 +ruby_add_bdepend "test? (
52 + dev-ruby/activesupport:3.2
53 + dev-ruby/launchy
54 + >=dev-ruby/maruku-0.7
55 + dev-ruby/mime-types:0
56 + =dev-ruby/rdiscount-1.6*
57 + >=dev-ruby/redcloth-4.2.1
58 + >=dev-ruby/rouge-1.7
59 + dev-ruby/rr
60 + >=dev-ruby/shoulda-3
61 + dev-ruby/test-unit:2 )"
62 +
63 +all_ruby_prepare() {
64 + sed -i -e "/simplecov/,+5d"\
65 + -e "1igem 'test-unit'"\
66 + -e "/reporters/d"\
67 + -e "/profile/d"\
68 + -e "/Reporters/,+4d" test/helper.rb || die
69 + # Drop bundler
70 + sed -i -e "/self.class.require_from_bundler/d" lib/jekyll/plugin_manager.rb || die
71 + # This test fails without bundler
72 + rm test/test_plugin_manager.rb || die
73 +}