Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/prawn/
Date: Sat, 27 Feb 2021 06:23:05
Message-Id: 1614406970.29c626040018b3e0b9584067aa2d331f7e5d912d.graaff@gentoo
1 commit: 29c626040018b3e0b9584067aa2d331f7e5d912d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 06:21:14 2021 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 06:22:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c62604
7
8 dev-ruby/prawn: add 2.4.0
9
10 Package-Manager: Portage-3.0.13, Repoman-3.0.2
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/prawn/Manifest | 1 +
14 dev-ruby/prawn/prawn-2.4.0.ebuild | 37 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 38 insertions(+)
16
17 diff --git a/dev-ruby/prawn/Manifest b/dev-ruby/prawn/Manifest
18 index be2ada80449..bf3480acb19 100644
19 --- a/dev-ruby/prawn/Manifest
20 +++ b/dev-ruby/prawn/Manifest
21 @@ -1 +1,2 @@
22 DIST prawn-2.2.2.tar.gz 5215413 BLAKE2B a906491b60e68de0308fec74131286d3f3c868a38dad9a4cf2ce28424cd746f96b530c7e9ea49a74af58d63a7ed9669f2b110dd8dff315c4943272e3a6b822b3 SHA512 8bd47f80d7873f9435eac7f42015b2ca87f703b5d091ec0e9710f2d4b26e3c7b83aad03de3bf44ca5d5fe07a2bf9af32c59d479373543459576e7a0088715a1b
23 +DIST prawn-2.4.0.tar.gz 5239492 BLAKE2B 5435d7715d2b3020316a04cbf2db1b7793435f2d05d34aae4832e12908a928f689c86d358562e7cd1c2675171a1743757097f0af3357eb667e4e2b9462890590 SHA512 e9fcc31ad2b5aa23592a8bf9419153fcb3080e00e53c9a91b50edc526631227fe86769eeb09336d267ea8f0a94f12336f71b24adc4d5cd9e750367d51f07c867
24
25 diff --git a/dev-ruby/prawn/prawn-2.4.0.ebuild b/dev-ruby/prawn/prawn-2.4.0.ebuild
26 new file mode 100644
27 index 00000000000..db051feed41
28 --- /dev/null
29 +++ b/dev-ruby/prawn/prawn-2.4.0.ebuild
30 @@ -0,0 +1,37 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +USE_RUBY="ruby25 ruby26 ruby27"
36 +
37 +RUBY_FAKEGEM_RECIPE_DOC="yard"
38 +RUBY_FAKEGEM_RECIPE_TEST="rspec3"
39 +RUBY_FAKEGEM_EXTRAINSTALL="data"
40 +
41 +RUBY_FAKEGEM_GEMSPEC="prawn.gemspec"
42 +
43 +inherit ruby-fakegem
44 +
45 +DESCRIPTION="Fast, Nimble PDF Generation For Ruby"
46 +HOMEPAGE="https://prawnpdf.org/"
47 +SRC_URI="https://github.com/prawnpdf/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 +LICENSE="|| ( GPL-2 Ruby )"
49 +SLOT="2"
50 +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
51 +IUSE=""
52 +
53 +ruby_add_rdepend "=dev-ruby/pdf-core-0.9*
54 + >=dev-ruby/ttfunk-1.7:*"
55 +ruby_add_bdepend "test? ( dev-ruby/coderay
56 + >=dev-ruby/pdf-inspector-1.2.1
57 + >=dev-ruby/pdf-reader-1.4
58 + )"
59 +
60 +all_ruby_prepare() {
61 + sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
62 +
63 + sed -i -e "/[Bb]undler/d" Rakefile spec/spec_helper.rb || die
64 +
65 + # Remove test that needs unpackaged dependency
66 + rm -f spec/prawn_manual_spec.rb || die
67 +}