From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1525629-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7BAC215806E for <garchives@archives.gentoo.org>; Mon, 5 Jun 2023 05:29:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A680FE0949; Mon, 5 Jun 2023 05:29:28 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BA9BE0949 for <gentoo-commits@lists.gentoo.org>; Mon, 5 Jun 2023 05:29:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8F25D340E98 for <gentoo-commits@lists.gentoo.org>; Mon, 5 Jun 2023 05:29:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2A3468DC for <gentoo-commits@lists.gentoo.org>; Mon, 5 Jun 2023 05:29:26 +0000 (UTC) From: "Hans de Graaff" <graaff@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" <graaff@gentoo.org> Message-ID: <1685942962.0989ae0f0c7d9d8065a8b13e11334dab98fb8f96.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/gruff/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/gruff/Manifest dev-ruby/gruff/gruff-0.21.0.ebuild X-VCS-Directories: dev-ruby/gruff/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 0989ae0f0c7d9d8065a8b13e11334dab98fb8f96 X-VCS-Branch: master Date: Mon, 5 Jun 2023 05:29:26 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 31481911-5e37-4b28-a49c-a77d7f306723 X-Archives-Hash: a9ea6302eda430d4a25b073c958ecc97 commit: 0989ae0f0c7d9d8065a8b13e11334dab98fb8f96 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Mon Jun 5 05:19:27 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Jun 5 05:29:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0989ae0f dev-ruby/gruff: add 0.21.0 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/gruff/Manifest | 1 + dev-ruby/gruff/gruff-0.21.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest index 626414c980d3..ec61ff658e71 100644 --- a/dev-ruby/gruff/Manifest +++ b/dev-ruby/gruff/Manifest @@ -1 +1,2 @@ DIST gruff-0.19.0.tar.gz 25770103 BLAKE2B 6f1d45e03a4ca0a022c1f7313114bb87a06dc2265f1500fea703b2bb4dbbdba21336a63e4a10b166696baa37eb034977c7606817284f8abc06f8ce5bb4a4d6c2 SHA512 5028429c6b2d3551964190956cc5ce7e234b14aef94f8687fc9ac52aa810d98c9018ce5f1dfc04756936dfa47665d3566d53ec300523ca5786693ac99740d81f +DIST gruff-0.21.0.tar.gz 25770436 BLAKE2B a474c1f9a18d5b87c21e20921db8529d36c6d92d0b253b8df0c8242fb0018d222501a9489804112a819a17ecd50b5ef38c22d613560e048bcf2614e88b0fdb49 SHA512 9e189b5c5a23294045109888dc3322c34408f895088f113b77a3f2e577ef9bd359be450a96d709feb91c11afbb1b77a8c3d8d78f13f4515b74484b44c6cc9834 diff --git a/dev-ruby/gruff/gruff-0.21.0.ebuild b/dev-ruby/gruff/gruff-0.21.0.ebuild new file mode 100644 index 000000000000..8474accf9636 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.21.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +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 +}