diff options
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/Manifest.gz | bin | 48778 -> 48786 bytes | |||
-rw-r--r-- | app-text/webgen/Manifest | 2 | ||||
-rw-r--r-- | app-text/webgen/webgen-1.7.3.ebuild | 59 |
3 files changed, 61 insertions, 0 deletions
diff --git a/app-text/Manifest.gz b/app-text/Manifest.gz Binary files differindex c5ce5d3eeb0c..41e0459ccacd 100644 --- a/app-text/Manifest.gz +++ b/app-text/Manifest.gz diff --git a/app-text/webgen/Manifest b/app-text/webgen/Manifest index ec47eb75a08e..033fe93206e1 100644 --- a/app-text/webgen/Manifest +++ b/app-text/webgen/Manifest @@ -1,3 +1,5 @@ DIST webgen-1.7.2.gem 201728 BLAKE2B abd3a8a9accfbc1a1e0070b7cbd4d0cc24796540ce1c8c0cfd3dc50882bf953b1e794971a90e2a429b3ecd64b1cb009b16c96ce1e6cfa05516ce48c10e39cd95 SHA512 806303f56319b6f55d8457b0b68438a9732bc1adc95ea50a955ad02b184814d0b878d618fc0547831cac53292208f1d0837d190b078ebb2ba42641dbaa5ffd93 +DIST webgen-1.7.3.gem 201728 BLAKE2B fc3c63d12b547c14e7900dfe881c95150de2f4783bfcbdd3f9a0bff6cd88d8278f1f2b0d7281394b35c3032e0cec639e01911807ddcc8b8114890bb4e404e2a4 SHA512 7e5738f66a2095fbfde922cf6711735273109bd10ebf12e2ebbbf4aa72cd54a8d4d50057d5aba8a428c154654000b718850e8c23391736123ea38f2f3b75cf50 EBUILD webgen-1.7.2.ebuild 1639 BLAKE2B 1b75d49bbbcd33a75df192ad3e9db4784ab6d0a403b0e978ed5b0ccf0b48e1af23916c19f519f7cbebaefaefce92f451e46529ad8cc4d8f85b17d073228790bb SHA512 9f10a6cf40b8ca998eb7c66e7243b69e4a4ea1a4528c2cd2fabafd1d1770babefd647e11033345026ebf7ab1db2542ab9ec65503bfb059abc571a125d390c877 +EBUILD webgen-1.7.3.ebuild 1656 BLAKE2B 676d0ca671cb51cffe9d64014f72e4223b66295249fc77c0bc5633728a3bc05fea46a7a7d521a126af8596a4bbd0f9d95582c44bd078a83f6f2a13eb4badab29 SHA512 6347d9398d8f7a3a1977447971f2f5c10c7e90330fe68ef6c9c34861240896c2c3b2a1be5f6eb99c7e9b05257d4ca61cead3fad0d5697cb184f25ecf337a2c96 MISC metadata.xml 563 BLAKE2B c9f9d0a1d1de08cd068e04840ee25d8d3d9495e565c54d6803af8822f6e2d5d6e9be5aabc9a31ba881b9d3025cc239c089f2dea0816994c22756ad27a97f200d SHA512 a5cd45886081b339c7744bbee678956fcdce810337a8c5d10425ad342ba225adacf0d9389674dc9058beb69b1beb4c143bfa7eaeb47963808fa66c08135b93c0 diff --git a/app-text/webgen/webgen-1.7.3.ebuild b/app-text/webgen/webgen-1.7.3.ebuild new file mode 100644 index 000000000000..c630a650eedd --- /dev/null +++ b/app-text/webgen/webgen-1.7.3.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_DOC="task" +RUBY_FAKEGEM_DOCDIR="htmldoc/rdoc" +RUBY_FAKEGEM_EXTRADOC="AUTHORS THANKS" +RUBY_FAKEGEM_EXTRAINSTALL="data" + +inherit ruby-fakegem + +DESCRIPTION="A template-based static website generator" +HOMEPAGE="https://webgen.gettalong.org" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="builder doc highlight markdown" + +ruby_add_bdepend "doc? ( dev-ruby/rdoc ) + test? ( + dev-ruby/minitest:5 + dev-ruby/rdiscount + >=dev-ruby/sass-3.2:* )" + +ruby_add_rdepend ">=dev-ruby/cmdparse-3.0.1:3 + >=dev-ruby/systemu-2.5 =dev-ruby/systemu-2* + >=dev-ruby/kramdown-2.3:2 + >=dev-ruby/psych-5.1:5 + builder? ( >=dev-ruby/builder-2.1.0:* ) + highlight? ( >=dev-ruby/coderay-1.0 ) + markdown? ( dev-ruby/maruku )" + +all_ruby_prepare() { + # Avoid a test fragile for sass version differences + sed -i -e '/test_static_call/,/^ end/ s:^:#:' test/webgen/content_processor/test_sass.rb || die + # Avoid a test with fragile whitespace tests + rm -f test/webgen/content_processor/test_haml.rb || die + + # Avoid tests for rdoc since that requires an obsolete version + sed -i -e '/def test_create_nodes/askip' test/webgen/path_handler/test_api.rb || die + + # Avoid tests for unpackaged dependencies + rm -f test/webgen/content_processor/test_{css_minify,tikz}.rb || die + + # Avoid tests failing with newer Psych versions + rm -f test/test_documentation.rb || die + + # Fix minitest deprecation + sed -i -e 's/MiniTest/Minitest/' $(find test -type f -print) || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/man1/webgen.1 +} |