mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-ruby/asciidoctor-pdf: add 2.3.19
Signed-off-by: Vincent Ahluwalia <vincentahluwalia@protonmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST asciidoctor-pdf-2.3.18.tar.gz 6563832 BLAKE2B 03e53537c8ff6ae302384276ca94bdf3d222841bdff0f4cbed3d7597a13c93cc9a533e46fc6367206e7ed31706a419b5753a633a8b891173bc138ee4058d133a SHA512 946015c110c6426b8a3c4576f97d54dbfe959caf16ffa05e55b03ea6384435d79d179aa20d306478af2c0fcd9f28483697ea1a2e0273057529038a9d0c3680f3
|
||||
DIST asciidoctor-pdf-2.3.19.tar.gz 6563750 BLAKE2B 921a5b621ae5459e4120c702e7c1efaf3ae292cf9e5b6353d179609086e552a59e91f408d26984d756880c56ac9911a120ac915e2df7c31d9cc17581bba63fcf SHA512 1cd64151542bb4c42922555113c596caa9180cd33b88b30feaaef059ab9be9478e9bbf4962ac774ea7bf374a83114200b5121626abebe176a255db15963641bd
|
||||
|
||||
50
dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.19.ebuild
Normal file
50
dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.19.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user