diff options
| author | Hans de Graaff <graaff@gentoo.org> | 2025-10-24 10:35:35 +0200 |
|---|---|---|
| committer | Hans de Graaff <graaff@gentoo.org> | 2025-10-24 13:21:05 +0200 |
| commit | 4fd165f44cbf6b3548a42b9b542861e8bb3c1943 (patch) | |
| tree | fd1c709d387f8ef8cc0192f211be1f27bb9985a2 | |
| parent | 4f63611ab5590f5167903229c95fb03d71249fad (diff) | |
| download | gentoo-4fd165f44cbf6b3548a42b9b542861e8bb3c1943.tar.gz gentoo-4fd165f44cbf6b3548a42b9b542861e8bb3c1943.tar.bz2 gentoo-4fd165f44cbf6b3548a42b9b542861e8bb3c1943.zip | |
dev-ruby/asciidoctor: add 2.0.26
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
| -rw-r--r-- | dev-ruby/asciidoctor/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/asciidoctor/asciidoctor-2.0.26.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/dev-ruby/asciidoctor/Manifest b/dev-ruby/asciidoctor/Manifest index b9a6feae27c3..bb273764e655 100644 --- a/dev-ruby/asciidoctor/Manifest +++ b/dev-ruby/asciidoctor/Manifest @@ -1,3 +1,4 @@ DIST asciidoctor-2.0.23.tar.gz 1708942 BLAKE2B 870b0ea5be05ae4b2d91d7cfcf4d81b36f443740b591b8fd4f9bb547647cb777c5d9b03eb7982f84e6ac84ce5af3c9161a21e4d82ae56c70afd6ce138629675b SHA512 eeb6ef3268f8df2881fafccdb88480f203365d423f53ec9a42c3e9a91a6ec2d20048150019366a71ba0b2a9a0a90a6752fa7342ce558609ff8c242418e2f29c0 DIST asciidoctor-2.0.24.tar.gz 1712755 BLAKE2B d47b77efd671493d8cfea5478077091b834e9e121f371df80c3b0ad4655a4b4c38487a1e3b9ea011998c3ee3d24e866b77ea04fc1a1fac8510d4fa705fce926c SHA512 8ffffb59a3931cc54652e8a75352cab552ec1cd43bbaf5f01bfa51b37c4fca32aefa6f7a3e5e4ff0ef1b345a2c49075adbc867cb78a49c783d803cc629adbdaf DIST asciidoctor-2.0.25.tar.gz 1713351 BLAKE2B d8720245e8211baa0a6f1ad8532b36f0451515861c447318a4c4b239d0cc3a8788da373c12613b96d2dc0cc7c96f9991b20c85d20baf5f2d2b60a2086e07e7f9 SHA512 68e4dd1e3428edaa4a4d0f6166f60c66a058c0cbb70b2d27be2bbafa7be1c58e2c370f1414ca79e42ba26b54015f12480dba3776591194247094d00e5c10b5ea +DIST asciidoctor-2.0.26.tar.gz 1713830 BLAKE2B c631e55c181dc9766b78fb34d5d1ed540379ac2626f78da2c8f14bc43867d4fd8a7a13a07ba4e8a9f9aacc63fc4a9698f820123e2d093cdaed45348bba15bb6a SHA512 5e42079374fb1767dd0fd6767fd1e718d2c1c673e131ef1ae401c7b17e5b413168de3b25889eda35d2021ded55855b83b78f6110729e1a7765f757b37bbf5858 diff --git a/dev-ruby/asciidoctor/asciidoctor-2.0.26.ebuild b/dev-ruby/asciidoctor/asciidoctor-2.0.26.ebuild new file mode 100644 index 000000000000..2ea631c5a4ec --- /dev/null +++ b/dev-ruby/asciidoctor/asciidoctor-2.0.26.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34" + +RUBY_FAKEGEM_TASK_TEST="CUCUMBER_PUBLISH_QUIET=true test features" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" + +RUBY_FAKEGEM_EXTRAINSTALL="data" + +RUBY_FAKEGEM_GEMSPEC="asciidoctor.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Processor for converting AsciiDoc into HTML 5, DocBook 4.5 and other formats" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( + dev-util/cucumber + dev-ruby/rspec-expectations:* + dev-ruby/asciimath + dev-ruby/coderay + dev-ruby/concurrent-ruby + dev-ruby/erubi + dev-ruby/haml:6 + dev-ruby/nokogiri + dev-ruby/rouge + dev-ruby/slim + dev-ruby/tilt )" + +all_ruby_prepare() { + rm Gemfile || die + + sed -e "s:_relative ': './:" \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Avoid broken blocks_test.rb (already appears to be fixed upstream) + rm -f test/blocks_test.rb || die + + # Avoid test depending on haml 6 binary which we currently don't install. + sed -e '/should \(load\|locate\) custom templates/askip "wrong haml binary"' \ + -i test/invoker_test.rb || die + + # Add missing require for URI + sed -e "/nokogiri/arequire 'uri'" \ + -i test/test_helper.rb || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/asciidoctor.1 +} |
