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 91B691382C5 for ; Sun, 6 May 2018 08:14:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4E808E08C0; Sun, 6 May 2018 08:14:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 20415E08C0 for ; Sun, 6 May 2018 08:14:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 15EAD335C9B for ; Sun, 6 May 2018 08:14:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55FC5243 for ; Sun, 6 May 2018 08:14:40 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1525594466.7144ce91319e988b988efaeff7623dfdd5f3c9f7.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/jekyll/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/jekyll/Manifest www-apps/jekyll/jekyll-3.6.2.ebuild X-VCS-Directories: www-apps/jekyll/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 7144ce91319e988b988efaeff7623dfdd5f3c9f7 X-VCS-Branch: master Date: Sun, 6 May 2018 08:14:40 +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: 13f0e435-6bee-4362-9b73-5823845276f5 X-Archives-Hash: d790283cb54864d1454b9c7acb9b9361 commit: 7144ce91319e988b988efaeff7623dfdd5f3c9f7 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 6 08:13:43 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun May 6 08:14:26 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7144ce91 www-apps/jekyll: add 3.6.2 Package-Manager: Portage-2.3.24, Repoman-2.3.6 www-apps/jekyll/Manifest | 1 + www-apps/jekyll/jekyll-3.6.2.ebuild | 79 +++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest index 40d85bf366c..b8aebb934d4 100644 --- a/www-apps/jekyll/Manifest +++ b/www-apps/jekyll/Manifest @@ -1 +1,2 @@ DIST jekyll-3.6.0.tar.gz 737199 BLAKE2B b823d794c5f4e0fb78276d2af28821a7ac67b13159832cbda3a691ad0f9e32c2228da1dde22a0ee33890ffb8384ac6d92adbb7b47629f98dda1d92024488475a SHA512 87c17c31cda44d040308079aacbcdba1e704186a69d64c1240a44960f7a79e74b35bb230be7c14419bb89843cfbf48ecf3601a8018df2255deebc0afdb4fcd86 +DIST jekyll-3.6.2.tar.gz 740389 BLAKE2B c51e8b1545bfd1bab64c890fdf8d53087e27b3ba2fac07d286d009f1c4b6efb81d3528d239f73a73afa68d1f2d320e816c7015bf385dc9e27cad13d1b4279a50 SHA512 3af17f32098bf1012393d0ad47269ef305138553735ede9c65e461c8f1e1033008a01805c8c96f9aa0f4682f7e68a9cff3eda83a70660a334161ec3d04ce9c72 diff --git a/www-apps/jekyll/jekyll-3.6.2.ebuild b/www-apps/jekyll/jekyll-3.6.2.ebuild new file mode 100644 index 00000000000..2479d9e1842 --- /dev/null +++ b/www-apps/jekyll/jekyll-3.6.2.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="README.markdown History.markdown" +RUBY_FAKEGEM_EXTRAINSTALL="features" + +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/addressable-2.4 + >=dev-ruby/colorator-1.0 + >=dev-ruby/kramdown-1.14 + >=dev-ruby/liquid-4.0:4 + >=dev-ruby/mercenary-0.3.3 + >=dev-ruby/pathutil-0.9 + >=dev-ruby/safe_yaml-1.0 + >=dev-ruby/rouge-1.7:0 + >=www-apps/jekyll-sass-converter-1.0 + >=www-apps/jekyll-watch-1.1 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/classifier-reborn-2.1.0 + dev-ruby/launchy + >=dev-ruby/pygments_rb-0.6.0 + >=dev-ruby/rdiscount-2.0 + >=dev-ruby/redcarpet-3.2.3 + dev-ruby/rspec-mocks + >=dev-ruby/shoulda-3 + dev-ruby/test-unit:2 + www-apps/jekyll-coffeescript + ) +" + +all_ruby_prepare() { + eapply "${FILESDIR}"/jekyll-3.6.0-test-helper.patch + + # Drop tests requiring bundler + sed -i -e '/bundle_message/d' test/test_new_command.rb || die + rm test/test_plugin_manager.rb || die + + # Replace git command in gemspec + sed -i 's/git ls-files -z/find -not -type d -print0/' $RUBY_FAKEGEM_GEMSPEC || die + + # FIXMEs: + # fails to find fixtures + rm test/test_theme.rb || die + rm test/test_theme_assets_reader.rb || die + sed -i -e '/^ should.*theme/,/^ end$/d' \ + -e '/^ should.*theme/,/^ end$/d' test/test_site.rb || die + # partially requires 'toml' + rm test/test_configuration.rb || die + # pygments tests fail because of line numbering + sed -i -e '/^ context.*pygments/,/^ end$/d' test/test_tags.rb || die + sed -i -e '/^ context.*pygments/,/^ end$/d' test/test_redcarpet.rb || die +} + +src_test() { + local -x JEKYLL_NO_BUNDLER_REQUIRE=true + + ruby-ng_src_test +}