public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gruff/
Date: Thu, 14 Mar 2024 06:05:12 +0000 (UTC)	[thread overview]
Message-ID: <1710396300.1c7ec03f7d14584ee9d8b6503e6543282de3f267.graaff@gentoo> (raw)

commit:     1c7ec03f7d14584ee9d8b6503e6543282de3f267
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 14 06:04:43 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Mar 14 06:05:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7ec03f

dev-ruby/gruff: add 0.24.0

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/gruff/Manifest            |  1 +
 dev-ruby/gruff/gruff-0.24.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest
index 74e129d7ac82..ae18ecd1a4af 100644
--- a/dev-ruby/gruff/Manifest
+++ b/dev-ruby/gruff/Manifest
@@ -1,2 +1,3 @@
 DIST gruff-0.22.0.tar.gz 25772970 BLAKE2B 3a56d03f0e9a53decfa7df3b6b5cc867cfe584548fe7b1435babde1486414bc97c4a46ad574692848df6483d01592e88d22ef64eb045f271df9c1e2f7c821fa0 SHA512 6d16f8a308289453eb4a51110946aca702c725e59a3ffb8c128610cbca7f521ae5cdea64ceaa0a3382b86fe2f1de74b2d33d2a49fa033728f2f5cbc474222758
 DIST gruff-0.23.0.tar.gz 25772848 BLAKE2B 5c0f6131ec52270e6a88c469d1ddf28701ca8e6f40277f094172e14f39faeed98af19d9e85c28a38b7ade5a6e35f21ba70bd9c8cb49a90edf434d9a9fb8c4371 SHA512 47e121b56cffb941063d127ba2b6e6de0dd0e8d5544263ca0234f7fcd782294fe972921a67407956674a97b9767651d7a2c33448d38887c05a40715a06cc1c54
+DIST gruff-0.24.0.tar.gz 25940874 BLAKE2B 071cfc8283c03f1a5fb2c73e084f717de4da25e076b9a71c6ee08df86c1aa41d06916006f35591ebad4ba6e4dec75edb1d7c0d0bbe5a81e7fc828e2bb0a83589 SHA512 51d174ab2c74b67d62916259e86bebeb3cb114099b7e05299cd1f7a3609ad863b82f5f1d4e8b8181ba80ca0b891fbdabc5cca0426b6dba5e0cf8c35b6e0d2582

diff --git a/dev-ruby/gruff/gruff-0.24.0.ebuild b/dev-ruby/gruff/gruff-0.24.0.ebuild
new file mode 100644
index 000000000000..445d13b31227
--- /dev/null
+++ b/dev-ruby/gruff/gruff-0.24.0.ebuild
@@ -0,0 +1,53 @@
+# 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_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-5.3:*"
+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
+}


             reply	other threads:[~2024-03-14  6:05 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14  6:05 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08  8:59 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gruff/ Hans de Graaff
2024-10-06 11:36 Sam James
2024-05-09  4:59 Hans de Graaff
2024-01-01  9:32 Hans de Graaff
2023-08-29 17:19 Hans de Graaff
2023-07-20 12:24 Sam James
2023-07-20 12:19 Sam James
2023-07-20  6:22 Hans de Graaff
2023-06-18  4:22 Hans de Graaff
2023-06-05  5:29 Hans de Graaff
2023-03-18 16:29 Hans de Graaff
2023-03-13 16:35 Sam James
2023-03-13 16:35 Sam James
2022-08-22  5:33 Hans de Graaff
2022-08-22  5:32 Hans de Graaff
2022-07-30  7:46 Hans de Graaff
2022-06-27  4:56 Hans de Graaff
2022-06-13  5:20 Hans de Graaff
2022-05-05  5:50 Hans de Graaff
2022-04-19  5:09 Hans de Graaff
2021-10-23  7:05 Hans de Graaff
2021-10-20  0:21 Sam James
2021-10-18 23:49 Sam James
2021-10-18  9:28 Hans de Graaff
2021-07-29  4:41 Hans de Graaff
2021-07-07  8:31 Hans de Graaff
2021-05-23  7:16 Hans de Graaff
2021-04-28  4:53 Hans de Graaff
2021-04-01 12:30 Thomas Deutschmann
2021-03-13  7:08 Hans de Graaff
2020-05-23  5:28 Hans de Graaff
2020-04-06  9:28 Hans de Graaff
2020-04-06  9:28 Hans de Graaff
2019-07-29  8:12 Hans de Graaff
2019-07-14  7:18 Hans de Graaff
2019-07-14  6:32 Hans de Graaff
2019-07-12 13:48 Hans de Graaff
2019-02-16 12:02 Hans de Graaff
2018-12-13  8:09 Hans de Graaff
2018-04-26  4:57 Hans de Graaff
2018-02-25  6:47 Hans de Graaff
2018-01-23  6:53 Hans de Graaff
2017-05-04  4:31 Hans de Graaff
2016-06-02  5:16 Hans de Graaff
2016-05-25  6:08 Hans de Graaff
2015-12-25 18:26 Manuel Rüger
2015-12-11 10:06 Agostino Sarubbo
2015-08-11  5:18 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1710396300.1c7ec03f7d14584ee9d8b6503e6543282de3f267.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox