summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuetzaly Solano Gómez <gentoo@sattvik.com>2024-10-28 09:25:33 -0500
committerQuetzaly Solano Gómez <gentoo@sattvik.com>2024-10-28 09:25:33 -0500
commit062b6c92b4d504ccf9e2bd2c722078d5d93f6fbf (patch)
tree044d00c69f2c92b309fa867feef276ebf76ced26
parentdev-ruby/prawn-svg: add 0.35.1, drop 0.32.0 (diff)
downloadsattvik-master.tar.gz
sattvik-master.tar.bz2
sattvik-master.zip
dev-ruby/asciidoctor-pdf: add 2.3.18, drop 2.3.4HEADmaster
Signed-off-by: Quetzaly Solano Gómez <gentoo@sattvik.com>
-rw-r--r--dev-ruby/asciidoctor-pdf/Manifest4
-rw-r--r--dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild (renamed from dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.4.ebuild)26
2 files changed, 16 insertions, 14 deletions
diff --git a/dev-ruby/asciidoctor-pdf/Manifest b/dev-ruby/asciidoctor-pdf/Manifest
index ef12fd7..160c1a1 100644
--- a/dev-ruby/asciidoctor-pdf/Manifest
+++ b/dev-ruby/asciidoctor-pdf/Manifest
@@ -1,3 +1,3 @@
-DIST asciidoctor-pdf-2.3.4.tar.gz 6503029 BLAKE2B e5f58d04a58f8a4115734aa47013548bf4ab2e75654a0246923d0e22c8203b7a43257fe9165dbbe7eb6a3d4cd17e2387c0e465591464a8ec3479841b7ef091d1 SHA512 86a074e8d290502069d7cf46d842f19e7930612291f870e72a8fc8e0e53a3aee252d0bd65419333b949894bc73690b2854b5217416fad8f54e8c8cdca5e7283d
-EBUILD asciidoctor-pdf-2.3.4.ebuild 1135 BLAKE2B b5a56438e05f9ef797d37342778bbafd9bb6fdb6a77ab04345d2ff86dc5c5947b081ae8e11075a1e8e4cd532e3b2e18508ca2877155e5c3f74c73899b13a3749 SHA512 fdfb73fec25d7796150bef7d2d5b7e458b559ab871d34a11f382b3292af335d1da254e2e963c46898abe496bb3bbc2b708b47cc0df077c32a622f9c24daf302f
+DIST asciidoctor-pdf-2.3.18.tar.gz 6563832 BLAKE2B 03e53537c8ff6ae302384276ca94bdf3d222841bdff0f4cbed3d7597a13c93cc9a533e46fc6367206e7ed31706a419b5753a633a8b891173bc138ee4058d133a SHA512 946015c110c6426b8a3c4576f97d54dbfe959caf16ffa05e55b03ea6384435d79d179aa20d306478af2c0fcd9f28483697ea1a2e0273057529038a9d0c3680f3
+EBUILD asciidoctor-pdf-2.3.18.ebuild 1252 BLAKE2B 314df8fe5cc16d525dc92652ea077887f82e6b58f8955d696da2595f60df7d71ddf01de4f2956340c12799008e524570931394576ea9b069fd620bd52a47b224 SHA512 f84a1374ba923fa83c131d5f822476f445e422d929e8861b695fde2894c5da718a342576858ca3c8b0723b999c46cf3f80b218b4f16794f5fb1a17f3c3ec0687
MISC metadata.xml 796 BLAKE2B b27ad40b0ebd92b01ec7fe1c2eeb69d68ce7c9549d4331b10c62d939052f07e395ae16ac4d40fa7237ef6eacba4026ce2636490716ff4aa20ed6adbb831237b1 SHA512 5bc29feb57a3c1e7560a6a7e5045bbc30da1344281ae031a5855c918634ff80f7db7d82b21ee297f315b76a14470eea2b8da6c66e0f36027d2a8168896b4b3fc
diff --git a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.4.ebuild b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild
index 273d582..1606805 100644
--- a/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.4.ebuild
+++ b/dev-ruby/asciidoctor-pdf/asciidoctor-pdf-2.3.18.ebuild
@@ -1,15 +1,13 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby31 ruby32"
-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"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
inherit ruby-fakegem
@@ -20,22 +18,26 @@ SRC_URI="https://github.com/asciidoctor/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-# rake have no task test, skipping for now
-RESTRICT=test
+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-2.4.0
>=dev-ruby/prawn-icon-3.0.0
- >=dev-ruby/prawn-svg-0.32.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
@@ -43,6 +45,6 @@ all_ruby_prepare() {
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
}