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: Wed, 28 Apr 2021 04:53:05 +0000 (UTC)	[thread overview]
Message-ID: <1619585581.9f433538be461266a3e6d287ed6216b621adc723.graaff@gentoo> (raw)

commit:     9f433538be461266a3e6d287ed6216b621adc723
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 27 04:59:37 2021 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Apr 28 04:53:01 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f433538

dev-ruby/gruff: add 0.12.2

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

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

diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest
index 2fb068e6be4..917ef653a09 100644
--- a/dev-ruby/gruff/Manifest
+++ b/dev-ruby/gruff/Manifest
@@ -1,3 +1,4 @@
 DIST gruff-0.12.1.tar.gz 27157241 BLAKE2B 18e0fc5398c16bc6eea9e628b4be887e9bd9e260e23476fbf7115a0db952ec036d36e5d28edf1b0dd121bf6193cc01fd00d629ba88da33b796db5618e3d401ab SHA512 553419952279cb26043d394286de26b0b63a57495a51e595d344cf8613bbf08b6838fd07d77e8c9272a1f3cb45042f88b9d3500ebbb6acca2bae8c6ded12b3bb
+DIST gruff-0.12.2.tar.gz 27157493 BLAKE2B 230e6c70226e3754719f8ca059ba6cfa68909b98b63d7a4ac753f7c6d5993117e3aeae2703565c8202c75863f142c3caa1d52e65fbcb8f26f173ac4f95e5ecd4 SHA512 a278066eb9e22dc1c30b3b607fac78e0f232a1c086412d895a648f640aaea5812b4783ff9f2fbe96e3200ceef7b58362571dd857da75266f124f415ca5527d9e
 DIST gruff-0.7.0.gem 318464 BLAKE2B bcc51f524089f53b89778143b444c70d4e168983edda247cdb4c9c84c288450154ce6e5234bbf7a0a8ae7251df611333c8bb411a8fd3765ccc5fe9650c3efc38 SHA512 b9842213ab3da7b4eccf8bd06e18d62aea14a6a15d7c45ebe7e51a76acd456ce140f094a9419d4c0bd1774e7d203bea49f9c39aca36c75d744f2732bcde9f688
 DIST gruff-0.8.0.tar.gz 24712264 BLAKE2B 836ea41e8c7a91ec09ef5356e4f021f99381be4ba437bd043ac628a31ad02f1846cfcf182c2ee038ff90918386413cc9d213d9958412c2bd0c89b1ee2d5c481d SHA512 867fdf50c41bf0e1040ef954c00bced11df0c3d382333aef42f6325a30a950f2ab04e0a5beedf1ab5c3cb23d1682b56d2a398d8afc8d7aa665980ddac4e6cdcb

diff --git a/dev-ruby/gruff/gruff-0.12.2.ebuild b/dev-ruby/gruff/gruff-0.12.2.ebuild
new file mode 100644
index 00000000000..93d003f3958
--- /dev/null
+++ b/dev-ruby/gruff/gruff-0.12.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 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/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:[~2021-04-28  4:53 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28  4:53 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-03-14  6:05 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-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=1619585581.9f433538be461266a3e6d287ed6216b621adc723.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