mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
dev-ruby/gruff: drop 0.14.0, 0.18.0
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST gruff-0.14.0.tar.gz 20193671 BLAKE2B b8cdaaca71c5b034206c4f88b1e50e09f8d9c5a3227eaa59a5c66718468ffa643509acfe8bd6919fd012a50daa27709569c210b030e25207c17a0ce13b60616f SHA512 e3c3acbce0888698e2aa92b8e86d2ada5499f394d100209b94ac4284f05a6a4f64c2bdcce91f76be7cec860d0546ebf5fa24aab73b51c0ca9763dc07855c8a68
|
||||
DIST gruff-0.18.0.tar.gz 25884658 BLAKE2B 2943d7de2ea6d024d46b2cb389ab46dcf6dc5cb00cc6e0cf089a401552424dbc1978f98f454bedfd74cc1d3caf079857d4df2da4067d8ddadd8e28d47314430a SHA512 fcfa0c5062d3b71188ae4b3aa39b391866f69a35037a6e82a40071ac59cc0837804ef642d00f9c73bbe4a9ec3e46a3de7b14c8e61a341497f7f362130a467cf8
|
||||
DIST gruff-0.19.0.tar.gz 25770103 BLAKE2B 6f1d45e03a4ca0a022c1f7313114bb87a06dc2265f1500fea703b2bb4dbbdba21336a63e4a10b166696baa37eb034977c7606817284f8abc06f8ce5bb4a4d6c2 SHA512 5028429c6b2d3551964190956cc5ce7e234b14aef94f8687fc9ac52aa810d98c9018ce5f1dfc04756936dfa47665d3566d53ec300523ca5786693ac99740d81f
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby26 ruby27"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Beautiful graphs for one or multiple datasets"
|
||||
HOMEPAGE="https://github.com/topfunky/gruff"
|
||||
SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
# imagemagick is an indirect dependency through rmagick. However, for
|
||||
# gruff to work properly imagemagick needs to be compiled with truetype
|
||||
# support and this cannot be expressed in the rmagick dependency. Tests
|
||||
# also require imagemagick to have jpeg and png support.
|
||||
DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
|
||||
RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/histogram dev-ruby/rmagick:*"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
|
||||
sed -i -e '2irequire "date"' test/test_scatter.rb || die
|
||||
|
||||
sed -e 's/git ls-files/find . -print/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Skip the image comparison checks since the images are not
|
||||
# pixel-perfect identical, most likely due to the use of a slightly
|
||||
# different font.
|
||||
SKIP_CHECK=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="assets rails_generators"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="gruff.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Beautiful graphs for one or multiple datasets"
|
||||
HOMEPAGE="https://github.com/topfunky/gruff"
|
||||
SRC_URI="https://github.com/topfunky/gruff/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# imagemagick is an indirect dependency through rmagick. However, for
|
||||
# gruff to work properly imagemagick needs to be compiled with truetype
|
||||
# support and this cannot be expressed in the rmagick dependency. Tests
|
||||
# also require imagemagick to have jpeg and png support.
|
||||
DEPEND="${DEPEND} test? ( media-gfx/imagemagick[jpeg,png,truetype,webp] )"
|
||||
RDEPEND="${RDEPEND} media-gfx/imagemagick[truetype]"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/histogram >=dev-ruby/rmagick-4.2:*"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(reporters\|simplecov\)/I s:^:#:' test/gruff_test_case.rb || die
|
||||
sed -i -e '2irequire "date"' test/test_scatter.rb || die
|
||||
|
||||
sed -e 's/git ls-files/find . -print/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Skip the image comparison checks since the images are not
|
||||
# pixel-perfect identical, most likely due to the use of a slightly
|
||||
# different font.
|
||||
SKIP_CHECK=true ${RUBY} -Ilib:. -e "Dir['test/test_*.rb'].each{|f| require f}" || die
|
||||
}
|
||||
Reference in New Issue
Block a user