aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-02-03 17:52:39 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-02-03 17:55:48 +0900
commit3c803fcde688d54369cdeba348c94a4b075dc345 (patch)
treee043e77d0785f00197b0b120dfb590f9256c0811 /dev-ruby
parentapp-editors/amp: drop 0.6.2 (diff)
downloadguru-3c803fcde688d54369cdeba348c94a4b075dc345.tar.gz
guru-3c803fcde688d54369cdeba348c94a4b075dc345.tar.bz2
guru-3c803fcde688d54369cdeba348c94a4b075dc345.zip
dev-ruby/asciidoctor-pdf: add 2.3.12
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/asciidoctor-pdf/Manifest1
-rw-r--r--dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.12.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/dev-ruby/asciidoctor-pdf/Manifest b/dev-ruby/asciidoctor-pdf/Manifest
index bd18067f1..acff6dec3 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.4.tar.gz 6503029 BLAKE2B e5f58d04a58f8a4115734aa47013548bf4ab2e75654a0246923d0e22c8203b7a43257fe9165dbbe7eb6a3d4cd17e2387c0e465591464a8ec3479841b7ef091d1 SHA512 86a074e8d290502069d7cf46d842f19e7930612291f870e72a8fc8e0e53a3aee252d0bd65419333b949894bc73690b2854b5217416fad8f54e8c8cdca5e7283d
diff --git a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.12.ebuild b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.12.ebuild
new file mode 100644
index 000000000..adbaae760
--- /dev/null
+++ b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.12.ebuild
@@ -0,0 +1,51 @@
+# 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"
+
+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
+}