summaryrefslogtreecommitdiff
path: root/dev-ruby/prawn
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-08 13:07:48 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-08 13:07:48 +0000
commit7825305c5ddf11fffe24fa30453c4e8468f64305 (patch)
treef3c43caefa7210acc3d8fd79ac82f8ade47a8dc9 /dev-ruby/prawn
parentdc22a05dc2db2827053483e8cab136b33b339307 (diff)
gentoo auto-resync : 08:03:2024 - 13:07:48
Diffstat (limited to 'dev-ruby/prawn')
-rw-r--r--dev-ruby/prawn/Manifest2
-rw-r--r--dev-ruby/prawn/prawn-2.5.0.ebuild41
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest
index 375cbad78881..7129b527e18c 100644
--- a/dev-ruby/prawn/Manifest
+++ b/dev-ruby/prawn/Manifest
@@ -1,3 +1,5 @@
DIST prawn-2.4.0.tar.gz 5239492 BLAKE2B 5435d7715d2b3020316a04cbf2db1b7793435f2d05d34aae4832e12908a928f689c86d358562e7cd1c2675171a1743757097f0af3357eb667e4e2b9462890590 SHA512 e9fcc31ad2b5aa23592a8bf9419153fcb3080e00e53c9a91b50edc526631227fe86769eeb09336d267ea8f0a94f12336f71b24adc4d5cd9e750367d51f07c867
+DIST prawn-2.5.0.tar.gz 5254375 BLAKE2B e523522868716a3d4926cbbeb33b6d71ce8211065b66a1633e351465e9a9e5c6b62e2de066302c366964df468d6c494393c3afb011f7b91392bc6d0940e55ec9 SHA512 1feb425867c276dd4dcf27f5086c75700ef191e68a1a91756cfd4058540b268dfc29b0d249d281e7ded6e2d2bf7aa56065e6173c4c9caf4d568dc8e4ad66e08d
EBUILD prawn-2.4.0-r3.ebuild 1010 BLAKE2B cd00cb7d7d265eb572dcc89439cd69e141e72c6cc9cb4ec2577e1e77916654e42e2e0de8a4d3aca55fae574dd89fdcb52112fbe7e40ce06b421cd40931e34ecf SHA512 cf55aa161327fe1222e2a60ee655faaa8a3368dad470bff3014f13cd75f506c759f0124c5e04b784ae9f1ed231edeb560ceefef4e765f6c3f7ea73d0f4a2bd17
+EBUILD prawn-2.5.0.ebuild 1018 BLAKE2B b7df5084f3b8a8d38fd080cea8ddd5384c86bad55b6e3e9078998ee5385fc9f56dfa47bfefe7e22fc264aa2fa7c5c6c562dfd6bbe5afd2a2f4d3304f6c30a519 SHA512 0b2ca3547d015da9c0a70c5607441e8e2551ffdbcc470f77ddc0c1be47752387265f72c450651ca921e08d65dd6dcd17aa8a2c9602b5cb09b332574b97745256
MISC metadata.xml 341 BLAKE2B d4bc362dc1d1c68511331c27419392311303e743175939024613a804743bccfee6d5847c9c1b6f00718f1b5657a915f2ded744b25986697f98076c25199f76ae SHA512 6dfebe5f56d94eeecb0ca8fb8dd2a7b487cb0bd042cf343baf40973e40cd46e4a849a453fff2295b92257a86f78dfef7f5bad5156f1c7f0ca00d35b6b81b9881
diff --git a/dev-ruby/prawn/prawn-2.5.0.ebuild b/dev-ruby/prawn/prawn-2.5.0.ebuild
new file mode 100644
index 000000000000..f0f67e5ce12b
--- /dev/null
+++ b/dev-ruby/prawn/prawn-2.5.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_EXTRAINSTALL="data"
+
+RUBY_FAKEGEM_GEMSPEC="prawn.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Fast, Nimble PDF Generation For Ruby"
+HOMEPAGE="https://prawnpdf.org/"
+SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="|| ( GPL-2 GPL-3 Ruby )"
+SLOT="2"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+ruby_add_rdepend "
+ =dev-ruby/matrix-0.4*
+ =dev-ruby/pdf-core-0.10*
+ >=dev-ruby/ttfunk-1.8:*
+"
+ruby_add_bdepend "test? ( dev-ruby/coderay
+ >=dev-ruby/pdf-inspector-1.2.1
+ >=dev-ruby/pdf-reader-1.4
+ )"
+
+all_ruby_prepare() {
+ sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die
+
+ # Remove test that needs unpackaged dependency
+ rm -f spec/prawn_manual_spec.rb || die
+}