summaryrefslogtreecommitdiff
path: root/www-apps/jekyll
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/jekyll')
-rw-r--r--www-apps/jekyll/Manifest4
-rw-r--r--www-apps/jekyll/jekyll-3.6.0.ebuild4
-rw-r--r--www-apps/jekyll/jekyll-3.6.2.ebuild79
3 files changed, 84 insertions, 3 deletions
diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest
index 62bd9ab956be..f29fdd248922 100644
--- a/www-apps/jekyll/Manifest
+++ b/www-apps/jekyll/Manifest
@@ -1,4 +1,6 @@
AUX jekyll-3.6.0-test-helper.patch 657 BLAKE2B 8e9d9bb57efa2370976d459dac772f7f41c0bf02c2fc0c71f19d4b78714e06f96d8a800a45f7c3eca80f766639036a624df24e681a9258e4bdc76bfb563498ad SHA512 7b53cd03a988cc5c949d15be8de91ffd37d4f228822cc3bec64c961c163ba60946df1d314bdf746a33a42df091f06f481f945a712515cca04539e111393246d0
DIST jekyll-3.6.0.tar.gz 737199 BLAKE2B b823d794c5f4e0fb78276d2af28821a7ac67b13159832cbda3a691ad0f9e32c2228da1dde22a0ee33890ffb8384ac6d92adbb7b47629f98dda1d92024488475a SHA512 87c17c31cda44d040308079aacbcdba1e704186a69d64c1240a44960f7a79e74b35bb230be7c14419bb89843cfbf48ecf3601a8018df2255deebc0afdb4fcd86
-EBUILD jekyll-3.6.0.ebuild 2060 BLAKE2B e4cc457be60914fc5ed7a2c01367026a8101ae3993b5596e8c0c9692019291ec4bd271437880057b36b78d5b953d2d3e614f0fed6f34046caff92a729a3818f9 SHA512 1d468fa1ee943368d07eeb8f2d303a4cace987838e501d4b5e773cf18782a0c44399611cd7ceb351b75aafd771ccebf7281475e6cf388da940a9f0fa516a06fc
+DIST jekyll-3.6.2.tar.gz 740389 BLAKE2B c51e8b1545bfd1bab64c890fdf8d53087e27b3ba2fac07d286d009f1c4b6efb81d3528d239f73a73afa68d1f2d320e816c7015bf385dc9e27cad13d1b4279a50 SHA512 3af17f32098bf1012393d0ad47269ef305138553735ede9c65e461c8f1e1033008a01805c8c96f9aa0f4682f7e68a9cff3eda83a70660a334161ec3d04ce9c72
+EBUILD jekyll-3.6.0.ebuild 2060 BLAKE2B 8c162677f23aaf5bd9fd5c78b5d20b0d51d3e2a47ec3a0fea2b7efa96b3e955052515d69798cfa0a651ba4ce93db5d72204d00879efdbdc3a3f689bf5c40f5cf SHA512 199f4db93d8be9eb5efa63fd25add64a486a1adc7b409bebfd8262f428f6a8b804118814d0eb3be0f1578b6dc3ea88c026024835cf72574288459b14c2ac1365
+EBUILD jekyll-3.6.2.ebuild 2060 BLAKE2B 8c162677f23aaf5bd9fd5c78b5d20b0d51d3e2a47ec3a0fea2b7efa96b3e955052515d69798cfa0a651ba4ce93db5d72204d00879efdbdc3a3f689bf5c40f5cf SHA512 199f4db93d8be9eb5efa63fd25add64a486a1adc7b409bebfd8262f428f6a8b804118814d0eb3be0f1578b6dc3ea88c026024835cf72574288459b14c2ac1365
MISC metadata.xml 325 BLAKE2B c29145c8eacfee5164b55192ebd77d0b4134179380ac4c5f0ac29b1f708dc0cb1d91748ad68aca73380466451efcfe03c1115ebc706c16a70b527b2e3360a7d2 SHA512 02b93ff17a615bde6a2074bed7dc0d64c0cea0d11002e48fe5a132b3d8044c0329a5a69f62f917eadf8fb090ef1ea7ce99bd78496fd738a1d327599dde7582e2
diff --git a/www-apps/jekyll/jekyll-3.6.0.ebuild b/www-apps/jekyll/jekyll-3.6.0.ebuild
index f0c36c2a9a3c..2479d9e18425 100644
--- a/www-apps/jekyll/jekyll-3.6.0.ebuild
+++ b/www-apps/jekyll/jekyll-3.6.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby22 ruby23"
+USE_RUBY="ruby23 ruby24"
inherit ruby-fakegem
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 000000000000..2479d9e18425
--- /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
+}