From d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 29 Jan 2021 18:03:51 +0000 Subject: gentoo resync : 29.01.2021 --- www-apps/jekyll/Manifest | 3 ++ www-apps/jekyll/jekyll-4.2.0-r1.ebuild | 93 +++++++++++++++++++++++++++++++++ www-apps/jekyll/jekyll-4.2.0.ebuild | 95 ++++++++++++++++++++++++++++++++++ 3 files changed, 191 insertions(+) create mode 100644 www-apps/jekyll/jekyll-4.2.0-r1.ebuild create mode 100644 www-apps/jekyll/jekyll-4.2.0.ebuild (limited to 'www-apps/jekyll') diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest index df2f92c27f12..1f76c7ecd896 100644 --- a/www-apps/jekyll/Manifest +++ b/www-apps/jekyll/Manifest @@ -1,4 +1,7 @@ AUX jekyll-3.6.0-test-helper.patch 657 BLAKE2B 8e9d9bb57efa2370976d459dac772f7f41c0bf02c2fc0c71f19d4b78714e06f96d8a800a45f7c3eca80f766639036a624df24e681a9258e4bdc76bfb563498ad SHA512 7b53cd03a988cc5c949d15be8de91ffd37d4f228822cc3bec64c961c163ba60946df1d314bdf746a33a42df091f06f481f945a712515cca04539e111393246d0 DIST jekyll-4.1.1.tar.gz 1398438 BLAKE2B ac207d58b155e069fda40b4598d441d8fb88f22e85740082829d018dc9cefe51ca636b23a6207c37711c4d26e078f6e4913946599f0200b8e8cb065a9ceff952 SHA512 98c635b54219c9666de6496e76f3a131fc715d650d868049c0fe10d76851a027e0808609c2dce1a138c95eb2fb7e58ef978237a305484071339b4a15d5acc4d5 +DIST jekyll-4.2.0.tar.gz 1412419 BLAKE2B 351852b52abc227f8e1eedeeef0871a593d66ffc95f4ed644441f81e841582ab9f393b206f049107daa7e9deaa63d36359ff8d0b47c69b629dda2ea462cd0481 SHA512 aee4d832631a285c3d37576b5f3d80073b56afefcb8c8a19a74435ce431b606b5cedc28a02c8e3930f9bc35ab432c952f96e1878b3bee6b9d33fbd01f0a147ec EBUILD jekyll-4.1.1.ebuild 2478 BLAKE2B 7ebfa111013b93c0f930c1ee67a0a7b72b70e9c3084b6781dbb2192742720e3c5d408e7189489e51d3afbfd6f5d6e3df24fc09d979eb15f9a73713675c349ffc SHA512 20d1db68d598c41702f1dafb9c6ced88b93e0f4db63f67349a7e179b35fff6fe75c21caf8a8b566204d6d403c5a2f040d375c62358b5f125b258d1b14577120b +EBUILD jekyll-4.2.0-r1.ebuild 2561 BLAKE2B a852d27dc158b9834820f5fc016054a09fc4251501608221f20cdc81e15618a094b1b1fa3faf2724335f1943411dff67d546b91cfba3286c062944e769dd0d78 SHA512 1d153c79191ac02f172474ea24a0f1d3a2afc88ae20ef02b4c8400d70f72020b604711460d4da20cee73fbf4ac1a8471200d88d679a8a7962601d25e86bda07e +EBUILD jekyll-4.2.0.ebuild 2668 BLAKE2B 15d02fc712b298690f2422f274e68c0ac715a79384e03bc48fef0c21774c6f25d6c7e4972e42d95c2d15263c1d6d8f5a9d513f558edcb0e60416e3e5b1e798c0 SHA512 9145422d7e5e498d963618341951cdade141d79fff21c7307a175ef740346f80756906e1d8a4526aa892e8dd3b55d26cc7e6bdb6e33c5da52e4f440097d00b72 MISC metadata.xml 321 BLAKE2B 29660b55030baa390178266fa77f44eb0396ac4dabd22929e683d9263fa596af844cd0ba7d6ac062ae16bb03bd28dd2210d2bee0025cd440bed8fbbe22194eff SHA512 f9d8641c5df992e4b59095b7b40ebf7448a5751d9668796f96db23b829c7ac56c7d594d513421040bf7c47d1ef1b6106e4c89564071fc52cf330b043c148c9d2 diff --git a/www-apps/jekyll/jekyll-4.2.0-r1.ebuild b/www-apps/jekyll/jekyll-4.2.0-r1.ebuild new file mode 100644 index 000000000000..40520250a3c6 --- /dev/null +++ b/www-apps/jekyll/jekyll-4.2.0-r1.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +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="https://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 ~arm64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.4 + >=dev-ruby/colorator-1.0 + >=dev-ruby/em-websocket-0.5 + dev-ruby/i18n:1 + >=dev-ruby/kramdown-2.1:2 + dev-ruby/kramdown-parser-gfm:1 + dev-ruby/liquid:4 + >=dev-ruby/mercenary-0.4.0 + >=dev-ruby/pathutil-0.9 + =dev-ruby/rouge-3* + >=dev-ruby/safe_yaml-1.0 + >=dev-ruby/terminal-table-1.8:0 + >=www-apps/jekyll-sass-converter-2.0 + >=www-apps/jekyll-watch-2.2.1-r1 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/classifier-reborn-2.1.0 + dev-ruby/httpclient + dev-ruby/kramdown-syntax-coderay + dev-ruby/launchy + dev-ruby/nokogiri + >=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 -e 's/git ls-files/find -not -type d -print/' \ + -e 's:_relative ": "./:' \ + -i $RUBY_FAKEGEM_GEMSPEC || die + + # FIXMEs: + # fails to find fixtures because this requires bundler + 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 + sed -i -e '/context "with a theme"/,/^ end/ s:^:#:' test/test_layout_reader.rb || die + sed -i -e '/normalize paths of rendered items/askip "test-theme"' test/test_liquid_renderer.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 + + # Tries to use bundler and install packages. + rm -f test/test_new_command.rb || die +} + +src_test() { + local -x JEKYLL_NO_BUNDLER_REQUIRE=true + + ruby-ng_src_test +} diff --git a/www-apps/jekyll/jekyll-4.2.0.ebuild b/www-apps/jekyll/jekyll-4.2.0.ebuild new file mode 100644 index 000000000000..8affdcb77943 --- /dev/null +++ b/www-apps/jekyll/jekyll-4.2.0.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26" + +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="https://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 ~arm64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/addressable-2.4 + >=dev-ruby/colorator-1.0 + >=dev-ruby/em-websocket-0.5 + dev-ruby/i18n:1 + >=dev-ruby/kramdown-2.1:2 + dev-ruby/kramdown-parser-gfm:1 + dev-ruby/liquid:4 + >=dev-ruby/mercenary-0.4.0 + >=dev-ruby/pathutil-0.9 + =dev-ruby/rouge-3* + >=dev-ruby/safe_yaml-1.0 + >=dev-ruby/terminal-table-1.8:0 + >=www-apps/jekyll-sass-converter-2.0 + >=www-apps/jekyll-watch-2.0 +" + +ruby_add_bdepend " + test? ( + >=dev-ruby/classifier-reborn-2.1.0 + dev-ruby/httpclient + dev-ruby/kramdown-syntax-coderay + dev-ruby/launchy + dev-ruby/nokogiri + >=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() { + # reported upstream https://github.com/jekyll/jekyll/issues/8556 + eapply "${FILESDIR}"/jekyll-missingdep.patch + 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 -e 's/git ls-files/find -not -type d -print/' \ + -e 's:_relative ": "./:' \ + -i $RUBY_FAKEGEM_GEMSPEC || die + + # FIXMEs: + # fails to find fixtures because this requires bundler + 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 + sed -i -e '/context "with a theme"/,/^ end/ s:^:#:' test/test_layout_reader.rb || die + sed -i -e '/normalize paths of rendered items/askip "test-theme"' test/test_liquid_renderer.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 + + # Tries to use bundler and install packages. + rm -f test/test_new_command.rb || die +} + +src_test() { + local -x JEKYLL_NO_BUNDLER_REQUIRE=true + + ruby-ng_src_test +} -- cgit v1.2.3