mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/jekyll: Move to old slot
Package-Manager: portage-2.2.27
This commit is contained in:
53
www-apps/jekyll/jekyll-3.1.1-r1.ebuild
Normal file
53
www-apps/jekyll/jekyll-3.1.1-r1.ebuild
Normal file
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.markdown README.markdown History.markdown"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="features site"
|
||||
|
||||
DESCRIPTION="A simple, blog aware, static site generator"
|
||||
HOMEPAGE="http://jekyllrb.com https://github.com/jekyll/jekyll"
|
||||
SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/colorator
|
||||
>=dev-ruby/kramdown-1.3
|
||||
>=dev-ruby/liquid-3.0:3
|
||||
>=dev-ruby/mercenary-0.3.3
|
||||
>=dev-ruby/safe_yaml-1
|
||||
>=dev-ruby/rouge-1.7
|
||||
>=www-apps/jekyll-sass-converter-1.0
|
||||
>=www-apps/jekyll-watch-1.1"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/activesupport:3.2
|
||||
dev-ruby/launchy
|
||||
>=dev-ruby/maruku-0.7
|
||||
dev-ruby/mime-types:0
|
||||
=dev-ruby/rdiscount-1.6*
|
||||
>=dev-ruby/redcloth-4.2.1
|
||||
>=dev-ruby/rouge-1.7
|
||||
dev-ruby/rr
|
||||
>=dev-ruby/shoulda-3
|
||||
dev-ruby/test-unit:2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e "/simplecov/,+5d"\
|
||||
-e "1igem 'test-unit'"\
|
||||
-e "/reporters/d"\
|
||||
-e "/profile/d"\
|
||||
-e "/Reporters/,+4d" test/helper.rb || die
|
||||
# Drop bundler
|
||||
sed -i -e "/self.class.require_from_bundler/d" lib/jekyll/plugin_manager.rb || die
|
||||
# This test fails without bundler
|
||||
rm test/test_plugin_manager.rb || die
|
||||
}
|
||||
Reference in New Issue
Block a user