diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-21 06:42:16 +0000 |
commit | 30c47f3c341cb37e4808aaa3842b679d0ca420e8 (patch) | |
tree | 30eb5383b9ae93fec49d9a5660b34201e6190933 /www-apps/jekyll | |
parent | cd57012a0ef40d302cf7d5a92dd2f3dfae285d2f (diff) |
gentoo auto-resync : 21:01:2025 - 06:42:16edge
Diffstat (limited to 'www-apps/jekyll')
-rw-r--r-- | www-apps/jekyll/Manifest | 1 | ||||
-rw-r--r-- | www-apps/jekyll/jekyll-4.3.4-r1.ebuild | 113 |
2 files changed, 114 insertions, 0 deletions
diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest index c4efc5ab1558..9731997560c0 100644 --- a/www-apps/jekyll/Manifest +++ b/www-apps/jekyll/Manifest @@ -2,5 +2,6 @@ AUX jekyll-3.6.0-test-helper.patch 657 BLAKE2B 8e9d9bb57efa2370976d459dac772f7f4 AUX jekyll-4.3.2-no-safe_yaml.patch 16966 BLAKE2B 4af96af3bc4c60836639ccdb2ffb58331b807eac04711a899a4b72357e989b6fb06767d9fa605d403ead822ef8363a31a076e825383dc40ab03491f0a4d134e9 SHA512 6333d0cb148ba3c9edb56915bc3b48fbe064bab4d9289289491129d8750f22fbf925730fb9ca9cefc0b7a58550e5b1a8e5b5ba5a5487accc7dc64fc16ea13eba AUX jekyll-4.3.2-sass.patch 4212 BLAKE2B 32c9764cf97e0c925eeee64ce10c6e6af8858199f588149dc33010814882b27a0886bb46d53ab9c82ae9639f9dc3cac63711240046723b42d39f0902837d7a90 SHA512 b7444d33cc0e98d1f53c0fd17a33a9a411621122e29793f1efdaf3f41bdcaf188ba8e0308b77d941250bd3183b8306e410f0b1ea959b927be2d214ff9db480b9 DIST jekyll-4.3.4.tar.gz 1458348 BLAKE2B fda9c3eea5283a631e27ae618589d5357f2c221885b11015cb3b6b3dad66d728aa343a3d141ecd006ec1cf4cfbbf8bdaa3b0c0e97d28bd90fece939a37588e90 SHA512 eb4b233ef7d6b0761e462560b2710dca64f61dab3d6a6f0ce6d675e284af5d92a5ea6a195e87b3dee6e117744decaba30c70ad9b123e72c8a5adb25d9dca234f +EBUILD jekyll-4.3.4-r1.ebuild 3498 BLAKE2B 5374e70869c62155a964443866910de5b533ce8ab80e0f4a9dc5fc5a64f30a7c64f8dfa170e52b2fb08591b43b3f99c18e4d340634517466cb6ae10427f2bfc0 SHA512 b635e46a5bf459b938e35754d9543f456191ab2d1ae356b3e2865ca011e04fcc4ebd3c4d9c7346bc0431f178696b3587dd0e287f89b8898f7357448071a054f9 EBUILD jekyll-4.3.4.ebuild 3321 BLAKE2B 55929532b7462e7fd23ad78588f599ef4afb09f4ffe9076ca56fcfd88250698846e810cee9af3b2bfa034d812eb7c64f28e5da8341d65f549f5e6ec730830f89 SHA512 e27440c0fc0f52fecc8a909ce29b8ca90a7520751285bd380a10aec9942a63491a0e72c0b8decb2bd8cde74a901f0608b9bda0a4a2e0dd732bb4e932992a1a14 MISC metadata.xml 246 BLAKE2B a1eee8b457925c68b280d73349fa5bfff1639a1b7c1763bb38f9c43680a0cedfaf583b776820211cf3992ea83e983c237e00be9340b4d64a72775f0c4014ff54 SHA512 7ccb92985f1a956a36f408671063aac1ef02e2e8284cba45ae636dd23dd085087f452b9a96c3bbbcff5d809e4559fc8ba653b3198eb995baf1f217f20e893303 diff --git a/www-apps/jekyll/jekyll-4.3.4-r1.ebuild b/www-apps/jekyll/jekyll-4.3.4-r1.ebuild new file mode 100644 index 000000000000..a5b0320df33e --- /dev/null +++ b/www-apps/jekyll/jekyll-4.3.4-r1.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +inherit ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="README.markdown History.markdown" +RUBY_FAKEGEM_EXTRAINSTALL="features" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +RUBY_FAKEGEM_BINDIR="exe" + +DESCRIPTION="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.3.1:2 + dev-ruby/kramdown-parser-gfm:1 + dev-ruby/liquid:4 + =dev-ruby/mercenary-0.4* + || ( dev-ruby/rouge:4 dev-ruby/rouge:2 ) + || ( dev-ruby/terminal-table:3 dev-ruby/terminal-table:2 ) + >=dev-ruby/webrick-1.7:0 + >=www-apps/jekyll-sass-converter-2.0 + >=www-apps/jekyll-watch-2.2.1-r1 +" +ruby_add_bdepend " + test? ( + 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 + eapply -R "${FILESDIR}/jekyll-4.3.2-sass.patch" + eapply "${FILESDIR}"/jekyll-4.3.2-no-safe_yaml.patch + + # Avoid pathutil since it is not compatible with ruby 3.2+ and not + # Pathutil specific methods seem to be used. + sed -e '/pathutil/ s:^:#:' \ + -i lib/jekyll.rb ${RUBY_FAKEGEM_GEMSPEC} || die + + # Drop tests requiring bundler + sed -i -e '/bundle_message/d' test/test_new_command.rb || die + rm test/test_plugin_manager.rb || die + + # Drop tests requiring classifier-reborn (ruby27-only package) + rm -f test/test_related_posts.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 + + sed -e '3igem "liquid", "~> 4.0"' -i test/helper.rb || die + + # FIXMEs: + # fails to find fixtures because this requires bundler + rm -f test/test_theme.rb || die + rm -f test/test_theme_{assets_reader,data_reader,drop}.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 + + # Tries to use bundler and install packages. + rm -f test/test_new_command.rb || die + + # Fails due to ordering differences in ruby 3.0 + sed -e '/convert drop to json/askip "hash ordering with ruby 3"' \ + -i test/test_filters.rb || die + + # Avoid a test failing due to TZ differences + sed -e '/contain the proper page data to mimic the post liquid/askip "TZ difference"' \ + -i test/test_excerpt.rb || die + + # Confused by network-sandbox + sed -e "/return true if there's internet/askip \"Confused by network-sandbox\"" \ + -i test/test_utils.rb || die + + # Avoid tests requiring unmaintained and broken httpclient + rm -f test/test_commands_serve.rb || die +} + +src_test() { + local -x JEKYLL_NO_BUNDLER_REQUIRE=true + + ruby-ng_src_test +} |