From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18284138330 for ; Sat, 17 Sep 2016 01:34:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1EF7FE0B0B; Sat, 17 Sep 2016 01:34:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 35284E0B0B for ; Sat, 17 Sep 2016 01:34:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CA6003408DD for ; Sat, 17 Sep 2016 01:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE2602481 for ; Sat, 17 Sep 2016 01:34:41 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1474076067.f04a1b8b82b0d87795ffc8885251f99ffd18606e.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/jekyll/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/jekyll/jekyll-3.2.1-r1.ebuild X-VCS-Directories: www-apps/jekyll/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: f04a1b8b82b0d87795ffc8885251f99ffd18606e X-VCS-Branch: master Date: Sat, 17 Sep 2016 01:34:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 17ae8cda-430a-4ecc-b116-9307800e1dbc X-Archives-Hash: 622a03458fef307dd9ed0ac59b7a6101 commit: f04a1b8b82b0d87795ffc8885251f99ffd18606e Author: Manuel Rüger gentoo org> AuthorDate: Sat Sep 17 01:34:27 2016 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sat Sep 17 01:34:27 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04a1b8b www-apps/jekyll: Install jekyll binary again Patch by Nicolas Porcel Gentoo-Bug: #592990 Package-Manager: portage-2.3.0 www-apps/jekyll/jekyll-3.2.1-r1.ebuild | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/www-apps/jekyll/jekyll-3.2.1-r1.ebuild b/www-apps/jekyll/jekyll-3.2.1-r1.ebuild new file mode 100644 index 00000000..c845e04 --- /dev/null +++ b/www-apps/jekyll/jekyll-3.2.1-r1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="README.markdown History.markdown" +RUBY_FAKEGEM_EXTRAINSTALL="features site" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINDIR="exe" + +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-1.0 + >=dev-ruby/kramdown-1.3 + >=dev-ruby/liquid-3.0:3 + >=dev-ruby/mercenary-0.3.3 + >=dev-ruby/pathutil-0.9 + >=dev-ruby/safe_yaml-1.0 + >=dev-ruby/rouge-1.7 + >=www-apps/jekyll-sass-converter-1.0 + >=www-apps/jekyll-watch-1.1" + +ruby_add_bdepend "test? ( + dev-ruby/rspec-mocks + dev-ruby/launchy + dev-ruby/mime-types:0 + >=dev-ruby/rdiscount-2.0 + >=dev-ruby/redcloth-4.2.1 + >=dev-ruby/rouge-1.7 + >=dev-ruby/shoulda-3 + dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e "/simplecov/,+5d"\ + -e "1igem 'test-unit'"\ + -e "1igem 'minitest', '~> 5.0'"\ + -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 + rm test/test_theme.rb || die + # Replace git command in gemspec + sed -i 's/git ls-files -z/find -not -type d -print0/' $RUBY_FAKEGEM_GEMSPEC || die +}