commit:     ce6395753a5966edb730440256bbeb5ef19783f0
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Sun Aug 28 14:25:27 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sun Aug 28 14:26:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce639575

dev-ruby/asciidoctor-pdf: new package, add 2.3.0

Signed-off-by: Huang Rui <vowstar <AT> gmail.com>

 dev-ruby/asciidoctor-pdf/Manifest                  |  1 +
 .../asciidoctor-pdf/asciidoctor-pdf-2.3.0.ebuild   | 50 ++++++++++++++++++++++
 dev-ruby/asciidoctor-pdf/metadata.xml              | 19 ++++++++
 3 files changed, 70 insertions(+)

diff --git a/dev-ruby/asciidoctor-pdf/Manifest 
b/dev-ruby/asciidoctor-pdf/Manifest
new file mode 100644
index 000000000..ff20e0431
--- /dev/null
+++ b/dev-ruby/asciidoctor-pdf/Manifest
@@ -0,0 +1 @@
+DIST asciidoctor-pdf-2.3.0.tar.gz 6481184 BLAKE2B 
d304aa7f2833897c525696dad6bf9fdfae3dc135351750cc27707f27e4a3c82c4aebff8ef2fb7241b6d903ff0901bb224c9321cdbbef4c16936fb9484ac56290
 SHA512 
da55e2ea20d7e076fa9068d9582d1d2a9ed169410f2b1fc3fe5b3b47b7194f9f9552d793c0d9d0c80ff8eb732695c1c2abbee7a325ab507d62761e05c0ea1a14

diff --git a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.0.ebuild 
b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.0.ebuild
new file mode 100644
index 000000000..b0f1ea441
--- /dev/null
+++ b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+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-pdf.gemspec"
+
+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"
+IUSE=""
+
+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/pdf-inspector-1.3.0
+       dev-ruby/rspec-expectations:*
+       )"
+
+all_ruby_prepare() {
+       rm Gemfile || die
+
+       sed -i -e "s:_relative ': './:" ${RUBY_FAKEGEM_GEMSPEC} || die
+}
+
+all_ruby_install() {
+       all_fakegem_install
+}

diff --git a/dev-ruby/asciidoctor-pdf/metadata.xml 
b/dev-ruby/asciidoctor-pdf/metadata.xml
new file mode 100644
index 000000000..d5cd3a9ae
--- /dev/null
+++ b/dev-ruby/asciidoctor-pdf/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Huang Rui</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">asciidoctor/asciidoctor-pdf</remote-id>
+       </upstream>
+       <longdescription lang="en">
+               Asciidoctor PDF is a native PDF converter for AsciiDoc that 
serves the
+               pdf backend. It bypasses the step of generating an intermediary 
format
+               such as DocBook, Apache FO, or LaTeX in order to produce PDF.
+               Instead, you use Asciidoctor PDF to convert your documents 
directly
+               from AsciiDoc to PDF with Asciidoctor. The aim of this library 
is to
+               take the pain out of creating PDF documents from AsciiDoc.
+       </longdescription>
+</pkgmetadata>

Reply via email to