From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F07CE159C9B for ; Fri, 9 Aug 2024 03:29:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1F962BC060; Fri, 9 Aug 2024 03:29:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C079F2BC060 for ; Fri, 9 Aug 2024 03:29:11 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 166EB34307E for ; Fri, 9 Aug 2024 03:29:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5758F1EC2 for ; Fri, 9 Aug 2024 03:29:08 +0000 (UTC) From: "Lucio Sauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lucio Sauer" Message-ID: <1723119684.b782fcc44ee538531c9bdd6a9bd466b2dcaafd4c.watermanpaint@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-ruby/asciidoctor-pdf/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-ruby/asciidoctor-pdf/Manifest dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild X-VCS-Directories: dev-ruby/asciidoctor-pdf/ X-VCS-Committer: watermanpaint X-VCS-Committer-Name: Lucio Sauer X-VCS-Revision: b782fcc44ee538531c9bdd6a9bd466b2dcaafd4c X-VCS-Branch: master Date: Fri, 9 Aug 2024 03:29:08 +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: 96962e67-ebaa-4306-b90b-1f29be7afe72 X-Archives-Hash: fd33f38090adee9dd298ffe76158acc3 commit: b782fcc44ee538531c9bdd6a9bd466b2dcaafd4c Author: Takuya Wakazono gmail com> AuthorDate: Thu Aug 8 11:52:59 2024 +0000 Commit: Lucio Sauer posteo net> CommitDate: Thu Aug 8 12:21:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b782fcc4 dev-ruby/asciidoctor-pdf: add 2.3.18 Signed-off-by: Takuya Wakazono gmail.com> dev-ruby/asciidoctor-pdf/Manifest | 1 + .../asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-ruby/asciidoctor-pdf/Manifest b/dev-ruby/asciidoctor-pdf/Manifest index 3a18a7b0b..123cef9db 100644 --- a/dev-ruby/asciidoctor-pdf/Manifest +++ b/dev-ruby/asciidoctor-pdf/Manifest @@ -1 +1,2 @@ DIST asciidoctor-pdf-2.3.17.tar.gz 6561111 BLAKE2B ed46928cec36924257bc9d4f5604e41aa617c5595ab680c3190d95934932947e51639396e5348bbe01169ab20befe0083173cb004d3c23cb30dedcb245e986e3 SHA512 58334cc82660b6710a24dc170d35958dc9cccb2756aa114463cc7e3692e0cec2fd0ba165e093de2c1daf86690d4f64995c6d8f14e169c7586649e5562121499f +DIST asciidoctor-pdf-2.3.18.tar.gz 6563832 BLAKE2B 03e53537c8ff6ae302384276ca94bdf3d222841bdff0f4cbed3d7597a13c93cc9a533e46fc6367206e7ed31706a419b5753a633a8b891173bc138ee4058d133a SHA512 946015c110c6426b8a3c4576f97d54dbfe959caf16ffa05e55b03ea6384435d79d179aa20d306478af2c0fcd9f28483697ea1a2e0273057529038a9d0c3680f3 diff --git a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild new file mode 100644 index 000000000..1606805ee --- /dev/null +++ b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.adoc README.adoc" +RUBY_FAKEGEM_EXTRAINSTALL="data" +RUBY_FAKEGEM_GEMSPEC="asciidoctor-pdf.gemspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +inherit ruby-fakegem + +DESCRIPTION="A native PDF converter for AsciiDoc based on Asciidoctor and Prawn" +HOMEPAGE="https://github.com/asciidoctor/asciidoctor-pdf" +SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="test? ( app-text/poppler )" + +# prawn-2.5.0 is not compatible yet +ruby_add_rdepend " + >=dev-ruby/asciidoctor-2.0 + >=dev-ruby/concurrent-ruby-1.1 + >=dev-ruby/matrix-0.4 + ~dev-ruby/prawn-2.4.0 + >=dev-ruby/prawn-icon-3.0.0 + >=dev-ruby/prawn-svg-0.34.0 + >=dev-ruby/prawn-table-0.2.0 + >=dev-ruby/prawn-templates-0.1.0 + >=dev-ruby/treetop-1.6.0 + " +ruby_add_bdepend "test? ( + >=dev-ruby/chunky_png-1.4.0 + >=dev-ruby/coderay-1.1.0 + >=dev-ruby/pdf-inspector-1.3.0 +)" + +all_ruby_prepare() { + rm Gemfile || die + + sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + RSPEC_VERSION=3 ruby-ng_rspec -t ~network -t ~visual spec +}