commit:     adc5fa99ef4b21c61b58790d4267e716a52ca695
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Feb 23 10:23:31 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Feb 23 10:24:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=adc5fa99

dev-ruby/asciidoctor-pdf: add 2.3.13

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-ruby/asciidoctor-pdf/Manifest                  |  1 +
 .../asciidoctor-pdf/asciidoctor-pdf-2.3.13.ebuild  | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-ruby/asciidoctor-pdf/Manifest 
b/dev-ruby/asciidoctor-pdf/Manifest
index 91cc8441a7..0bc297a7db 100644
--- a/dev-ruby/asciidoctor-pdf/Manifest
+++ b/dev-ruby/asciidoctor-pdf/Manifest
@@ -1 +1,2 @@
 DIST asciidoctor-pdf-2.3.12.tar.gz 6558252 BLAKE2B 
0e789496e23b558a44423547a834686ea0a99e55df244e208cbdf4bfce83ff0bd27949fd3c81f496e7f163519e6d0d932c584f5871e23c1a76a0e20ee1f2ed76
 SHA512 
889ee21a6b8d709983da8c9bbbc456add20f235634f6f63bfed0a0497bd10ca7337b48762c91a477a8017598bf201c4418cefb76482fb0c786ab6784e302d068
+DIST asciidoctor-pdf-2.3.13.tar.gz 6562594 BLAKE2B 
94f8c4694f1ff70fa5205c83c6b69dba7ea6eea9519ec7c083412e45cc04b0c4016045815cf89745751a64fcf572edca423099879c80f3c81f3ff26883dd29ee
 SHA512 
0b484ae44c880f079c75c01a7526ecf0e9a736ed375e0208a8e95a0331794c4d282272f5194fbc7c30f7b561154badc0d0ef0c8afc9a12556c3915e1100098e3

diff --git a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.13.ebuild 
b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.13.ebuild
new file mode 100644
index 0000000000..de18c4638f
--- /dev/null
+++ b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.13.ebuild
@@ -0,0 +1,53 @@
+# 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 )"
+
+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.32.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
+}
+
+all_ruby_install() {
+       all_fakegem_install
+}
+
+each_ruby_test() {
+       RSPEC_VERSION=3 ruby-ng_rspec -t ~network -t ~visual spec
+}

Reply via email to