From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E6B62158176 for ; Tue, 14 Oct 2025 09:26:21 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id CF161340E30 for ; Tue, 14 Oct 2025 09:26:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D28A9110462; Tue, 14 Oct 2025 09:26:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C8AC6110462 for ; Tue, 14 Oct 2025 09:26:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7CFE0340E30 for ; Tue, 14 Oct 2025 09:26:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEDA1119A for ; Tue, 14 Oct 2025 09:26:18 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1760433938.119a32466cad4a4396d34f2baf6ff38f0709b86d.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/asciidoctor/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/asciidoctor/Manifest dev-ruby/asciidoctor/asciidoctor-2.0.24.ebuild X-VCS-Directories: dev-ruby/asciidoctor/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 119a32466cad4a4396d34f2baf6ff38f0709b86d X-VCS-Branch: master Date: Tue, 14 Oct 2025 09:26:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 322a1772-7f8b-4559-b64b-1e65f4104265 X-Archives-Hash: e807be56fe36461091a4139ffdc60b4e commit: 119a32466cad4a4396d34f2baf6ff38f0709b86d Author: Hans de Graaff gentoo org> AuthorDate: Tue Oct 14 09:25:38 2025 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Oct 14 09:25:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119a3246 dev-ruby/asciidoctor: add 2.0.24 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/asciidoctor/Manifest | 1 + dev-ruby/asciidoctor/asciidoctor-2.0.24.ebuild | 62 ++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-ruby/asciidoctor/Manifest b/dev-ruby/asciidoctor/Manifest index bcc66dd7e36b..4c855394df1f 100644 --- a/dev-ruby/asciidoctor/Manifest +++ b/dev-ruby/asciidoctor/Manifest @@ -1 +1,2 @@ DIST asciidoctor-2.0.23.tar.gz 1708942 BLAKE2B 870b0ea5be05ae4b2d91d7cfcf4d81b36f443740b591b8fd4f9bb547647cb777c5d9b03eb7982f84e6ac84ce5af3c9161a21e4d82ae56c70afd6ce138629675b SHA512 eeb6ef3268f8df2881fafccdb88480f203365d423f53ec9a42c3e9a91a6ec2d20048150019366a71ba0b2a9a0a90a6752fa7342ce558609ff8c242418e2f29c0 +DIST asciidoctor-2.0.24.tar.gz 1712755 BLAKE2B d47b77efd671493d8cfea5478077091b834e9e121f371df80c3b0ad4655a4b4c38487a1e3b9ea011998c3ee3d24e866b77ea04fc1a1fac8510d4fa705fce926c SHA512 8ffffb59a3931cc54652e8a75352cab552ec1cd43bbaf5f01bfa51b37c4fca32aefa6f7a3e5e4ff0ef1b345a2c49075adbc867cb78a49c783d803cc629adbdaf diff --git a/dev-ruby/asciidoctor/asciidoctor-2.0.24.ebuild b/dev-ruby/asciidoctor/asciidoctor-2.0.24.ebuild new file mode 100644 index 000000000000..2ea631c5a4ec --- /dev/null +++ b/dev-ruby/asciidoctor/asciidoctor-2.0.24.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 +}