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/rbpdf/
Date: Mon, 12 Aug 2019 04:55:15
Message-Id: 1565585682.4fbe8ed67e560a7a0e997659243c6b00daeb769b.graaff@gentoo
1 commit: 4fbe8ed67e560a7a0e997659243c6b00daeb769b
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 12 04:43:40 2019 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 12 04:54:42 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbe8ed6
7
8 dev-ruby/rbpdf: cleanup
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
12
13 dev-ruby/rbpdf/Manifest | 2 --
14 dev-ruby/rbpdf/rbpdf-1.19.6.ebuild | 51 --------------------------------------
15 dev-ruby/rbpdf/rbpdf-1.19.7.ebuild | 51 --------------------------------------
16 3 files changed, 104 deletions(-)
17
18 diff --git a/dev-ruby/rbpdf/Manifest b/dev-ruby/rbpdf/Manifest
19 index a1cdb65cd09..3d75a3692ba 100644
20 --- a/dev-ruby/rbpdf/Manifest
21 +++ b/dev-ruby/rbpdf/Manifest
22 @@ -1,3 +1 @@
23 -DIST rbpdf-1.19.6.tar.gz 12026339 BLAKE2B 8ec388e65f110773b9a7c160a9bccbb1beb6f3ad0bbe2393a7b91087e1d2b3cbdfb03284737f6763cee6cfa947d68532cde8f4b684b004dfc92f300510a1f5c0 SHA512 192dae84ef2a44cfc7bde38e776ade1aab95e812f55ba1848c20be4a2e65231c97330859cf14b1d3bfd7aa158a1ea561602723e9e96e275ecc771ca781901271
24 -DIST rbpdf-1.19.7.tar.gz 12026440 BLAKE2B be785f7f810c11c64efcc2ef896486dcc3d13b506badc3527abe18065c82ff32a025eda3fd925c9ac0da5c99d0300f2d76fbcf52d444bec46ebdf533b0180234 SHA512 6d4f01760511f117f2ddda87cde26ddd0e47c6245692d80fe84a9ff5cde9759b7803dcfbd328ff9af9e59f6bca9f210d8bcb66f66f288acb512f58920fb5e7d8
25 DIST rbpdf-1.19.8.tar.gz 12026547 BLAKE2B 4989bee6f35d74a703539c6d209c14730e2674d94454b1794172f147dd01af20bdea5c4ed3e68a047f7ddad17083d74ea061dc5b0c28e66acdbf56ab1e335dd3 SHA512 e3015e80b26f9de2727ebd1a97ff5fd3937b7e133d9d39c2e1b3e9fe326354ca66ef569fa35bdf4c8b495b40df1ceec26d043e6f86be8ce741068a2c28ff8a28
26
27 diff --git a/dev-ruby/rbpdf/rbpdf-1.19.6.ebuild b/dev-ruby/rbpdf/rbpdf-1.19.6.ebuild
28 deleted file mode 100644
29 index 90dafc43b89..00000000000
30 --- a/dev-ruby/rbpdf/rbpdf-1.19.6.ebuild
31 +++ /dev/null
32 @@ -1,51 +0,0 @@
33 -# Copyright 1999-2018 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -USE_RUBY="ruby23 ruby24 ruby25"
39 -
40 -# Avoid the complexity of the "rake" recipe and run the tests manually.
41 -RUBY_FAKEGEM_RECIPE_TEST=none
42 -
43 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
44 -RUBY_FAKEGEM_EXTRADOC="README.md"
45 -
46 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
47 -
48 -inherit ruby-fakegem
49 -
50 -DESCRIPTION="Ruby on Rails RBPDF plugin"
51 -HOMEPAGE="https://github.com/naitoh/rbpdf"
52 -SRC_URI="https://github.com/naitoh/rbpdf/archive/${PV}.tar.gz -> ${P}.tar.gz"
53 -
54 -LICENSE="LGPL-2.1+"
55 -SLOT="0"
56 -KEYWORDS="~amd64 ~x86"
57 -IUSE="test"
58 -
59 -ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3 )"
60 -ruby_add_rdepend "dev-ruby/actionview:*
61 - dev-ruby/htmlentities
62 - =dev-ruby/rbpdf-font-1.19*"
63 -
64 -all_ruby_prepare() {
65 - default
66 -
67 - # This test is enabled automagically in the presence of rmagick, and
68 - # then fails.
69 - rm -f test/rbpdf_image_rmagick_test.rb \
70 - || die "failed to remove rmagick tests"
71 -
72 - # Loosen very restrictive htmlentities dependency
73 - sed -i -e '/htmlentities/ s/=/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die
74 -}
75 -
76 -each_ruby_test() {
77 - local cmd='gem "test-unit", ">= 3.0"'
78 - cmd+=' and '
79 - cmd+='require "test/unit"'
80 - cmd+=' and '
81 - cmd+='Dir["test/rbpdf_*.rb"].each{|f| require("./" + f)}'
82 - ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed"
83 -}
84
85 diff --git a/dev-ruby/rbpdf/rbpdf-1.19.7.ebuild b/dev-ruby/rbpdf/rbpdf-1.19.7.ebuild
86 deleted file mode 100644
87 index 30a493bea85..00000000000
88 --- a/dev-ruby/rbpdf/rbpdf-1.19.7.ebuild
89 +++ /dev/null
90 @@ -1,51 +0,0 @@
91 -# Copyright 1999-2019 Gentoo Authors
92 -# Distributed under the terms of the GNU General Public License v2
93 -
94 -EAPI=6
95 -
96 -USE_RUBY="ruby23 ruby24 ruby25"
97 -
98 -# Avoid the complexity of the "rake" recipe and run the tests manually.
99 -RUBY_FAKEGEM_RECIPE_TEST=none
100 -
101 -RUBY_FAKEGEM_RECIPE_DOC="rdoc"
102 -RUBY_FAKEGEM_EXTRADOC="README.md"
103 -
104 -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
105 -
106 -inherit ruby-fakegem
107 -
108 -DESCRIPTION="Ruby on Rails RBPDF plugin"
109 -HOMEPAGE="https://github.com/naitoh/rbpdf"
110 -SRC_URI="https://github.com/naitoh/rbpdf/archive/${PV}.tar.gz -> ${P}.tar.gz"
111 -
112 -LICENSE="LGPL-2.1+"
113 -SLOT="0"
114 -KEYWORDS="~amd64 ~x86"
115 -IUSE="test"
116 -
117 -ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3 )"
118 -ruby_add_rdepend "dev-ruby/actionview:*
119 - dev-ruby/htmlentities
120 - =dev-ruby/rbpdf-font-1.19*"
121 -
122 -all_ruby_prepare() {
123 - default
124 -
125 - # This test is enabled automagically in the presence of rmagick, and
126 - # then fails.
127 - rm -f test/rbpdf_image_rmagick_test.rb \
128 - || die "failed to remove rmagick tests"
129 -
130 - # Loosen very restrictive htmlentities dependency
131 - sed -i -e '/htmlentities/ s/=/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die
132 -}
133 -
134 -each_ruby_test() {
135 - local cmd='gem "test-unit", ">= 3.0"'
136 - cmd+=' and '
137 - cmd+='require "test/unit"'
138 - cmd+=' and '
139 - cmd+='Dir["test/rbpdf_*.rb"].each{|f| require("./" + f)}'
140 - ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed"
141 -}