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/gruff/
Date: Sat, 18 Mar 2023 16:29:14
Message-Id: 1679156945.4da91e3d8f9dca3f618c5b40690963c2c31bcec8.graaff@gentoo
1 commit: 4da91e3d8f9dca3f618c5b40690963c2c31bcec8
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 12:23:10 2023 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 16:29:05 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da91e3d
7
8 dev-ruby/gruff: drop 0.14.0, 0.18.0
9
10 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
11
12 dev-ruby/gruff/Manifest | 2 --
13 dev-ruby/gruff/gruff-0.14.0.ebuild | 53 --------------------------------------
14 dev-ruby/gruff/gruff-0.18.0.ebuild | 53 --------------------------------------
15 3 files changed, 108 deletions(-)
16
17 diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest
18 index c7a5c53e86de..626414c980d3 100644
19 --- a/dev-ruby/gruff/Manifest
20 +++ b/dev-ruby/gruff/Manifest
21 @@ -1,3 +1 @@
22 -DIST gruff-0.14.0.tar.gz 20193671 BLAKE2B b8cdaaca71c5b034206c4f88b1e50e09f8d9c5a3227eaa59a5c66718468ffa643509acfe8bd6919fd012a50daa27709569c210b030e25207c17a0ce13b60616f SHA512 e3c3acbce0888698e2aa92b8e86d2ada5499f394d100209b94ac4284f05a6a4f64c2bdcce91f76be7cec860d0546ebf5fa24aab73b51c0ca9763dc07855c8a68
23 -DIST gruff-0.18.0.tar.gz 25884658 BLAKE2B 2943d7de2ea6d024d46b2cb389ab46dcf6dc5cb00cc6e0cf089a401552424dbc1978f98f454bedfd74cc1d3caf079857d4df2da4067d8ddadd8e28d47314430a SHA512 fcfa0c5062d3b71188ae4b3aa39b391866f69a35037a6e82a40071ac59cc0837804ef642d00f9c73bbe4a9ec3e46a3de7b14c8e61a341497f7f362130a467cf8
24 DIST gruff-0.19.0.tar.gz 25770103 BLAKE2B 6f1d45e03a4ca0a022c1f7313114bb87a06dc2265f1500fea703b2bb4dbbdba21336a63e4a10b166696baa37eb034977c7606817284f8abc06f8ce5bb4a4d6c2 SHA512 5028429c6b2d3551964190956cc5ce7e234b14aef94f8687fc9ac52aa810d98c9018ce5f1dfc04756936dfa47665d3566d53ec300523ca5786693ac99740d81f
25
26 diff --git a/dev-ruby/gruff/gruff-0.14.0.ebuild b/dev-ruby/gruff/gruff-0.14.0.ebuild
27 deleted file mode 100644
28 index 07e87c0e3d04..000000000000
29 --- a/dev-ruby/gruff/gruff-0.14.0.ebuild
30 +++ /dev/null
31 @@ -1,53 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -USE_RUBY="ruby26 ruby27"
37 -
38 -RUBY_FAKEGEM_TASK_DOC=""
39 -
40 -RUBY_FAKEGEM_DOCDIR="doc"
41 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
42 -
43 -RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
44 -
45 -RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
46 -
47 -inherit ruby-fakegem
48 -
49 -DESCRIPTION="Beautiful graphs for one or multiple datasets"
50 -HOMEPAGE="https://github.com/topfunky/gruff"
51 -SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
52 -
53 -LICENSE="MIT"
54 -SLOT="0"
55 -KEYWORDS="amd64 x86"
56 -IUSE=""
57 -
58 -# imagemagick is an indirect dependency through rmagick. However, for
59 -# gruff to work properly imagemagick needs to be compiled with truetype
60 -# support and this cannot be expressed in the rmagick dependency. Tests
61 -# also require imagemagick to have jpeg and png support.
62 -DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
63 -RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
64 -
65 -ruby_add_rdepend "dev-ruby/histogram dev-ruby/rmagick:*"
66 -ruby_add_bdepend "
67 - test? (
68 - dev-ruby/test-unit
69 - )"
70 -
71 -all_ruby_prepare() {
72 - sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
73 - sed -i -e '2irequire "date"' test/test_scatter.rb || die
74 -
75 - sed -e 's/git ls-files/find . -print/' \
76 - -i ${RUBY_FAKEGEM_GEMSPEC} || die
77 -}
78 -
79 -each_ruby_test() {
80 - # Skip the image comparison checks since the images are not
81 - # pixel-perfect identical, most likely due to the use of a slightly
82 - # different font.
83 - SKIP_CHECK=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
84 -}
85
86 diff --git a/dev-ruby/gruff/gruff-0.18.0.ebuild b/dev-ruby/gruff/gruff-0.18.0.ebuild
87 deleted file mode 100644
88 index f39dc996da03..000000000000
89 --- a/dev-ruby/gruff/gruff-0.18.0.ebuild
90 +++ /dev/null
91 @@ -1,53 +0,0 @@
92 -# Copyright 1999-2022 Gentoo Authors
93 -# Distributed under the terms of the GNU General Public License v2
94 -
95 -EAPI=8
96 -USE_RUBY="ruby26 ruby27 ruby30 ruby31"
97 -
98 -RUBY_FAKEGEM_TASK_DOC=""
99 -
100 -RUBY_FAKEGEM_DOCDIR="doc"
101 -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
102 -
103 -RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
104 -
105 -RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
106 -
107 -inherit ruby-fakegem
108 -
109 -DESCRIPTION="Beautiful graphs for one or multiple datasets"
110 -HOMEPAGE="https://github.com/topfunky/gruff"
111 -SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
112 -
113 -LICENSE="MIT"
114 -SLOT="0"
115 -KEYWORDS="~amd64 ~x86"
116 -IUSE=""
117 -
118 -# imagemagick is an indirect dependency through rmagick. However, for
119 -# gruff to work properly imagemagick needs to be compiled with truetype
120 -# support and this cannot be expressed in the rmagick dependency. Tests
121 -# also require imagemagick to have jpeg and png support.
122 -DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
123 -RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
124 -
125 -ruby_add_rdepend "dev-ruby/histogram >=dev-ruby/rmagick-4.2:*"
126 -ruby_add_bdepend "
127 - test? (
128 - dev-ruby/test-unit
129 - )"
130 -
131 -all_ruby_prepare() {
132 - sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
133 - sed -i -e '2irequire "date"' test/test_scatter.rb || die
134 -
135 - sed -e 's/git ls-files/find . -print/' \
136 - -i ${RUBY_FAKEGEM_GEMSPEC} || die
137 -}
138 -
139 -each_ruby_test() {
140 - # Skip the image comparison checks since the images are not
141 - # pixel-perfect identical, most likely due to the use of a slightly
142 - # different font.
143 - SKIP_CHECK=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
144 -}