From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 389F4158094 for ; Mon, 22 Aug 2022 05:32:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85CD8E09DC; Mon, 22 Aug 2022 05:32:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 4ADBFE09AD for ; Mon, 22 Aug 2022 05:32:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 22CEA340F11 for ; Mon, 22 Aug 2022 05:32:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2076584 for ; Mon, 22 Aug 2022 05:32:25 +0000 (UTC) From: "Hans de Graaff" 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" Message-ID: <1661146335.186bbe154bb3001d57fa572fef6c8bc2eb78fddf.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.19.0.ebuild X-VCS-Directories: dev-ruby/gruff/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 186bbe154bb3001d57fa572fef6c8bc2eb78fddf X-VCS-Branch: master Date: Mon, 22 Aug 2022 05:32:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5c8b2fc9-b699-44c2-bc0c-f78a999c23be X-Archives-Hash: cd5b5178241b26afb7c44039067eac34 commit: 186bbe154bb3001d57fa572fef6c8bc2eb78fddf Author: Hans de Graaff gentoo org> AuthorDate: Mon Aug 22 05:32:15 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Aug 22 05:32:15 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186bbe15 dev-ruby/gruff: add 0.19.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/gruff/Manifest | 1 + dev-ruby/gruff/gruff-0.19.0.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest index 6a545958f28b..9a25a21eeba6 100644 --- a/dev-ruby/gruff/Manifest +++ b/dev-ruby/gruff/Manifest @@ -3,3 +3,4 @@ DIST gruff-0.15.0.tar.gz 20408532 BLAKE2B 979d027b7763a03dc98e42b195df36d8095f85 DIST gruff-0.16.0.tar.gz 23371113 BLAKE2B 94d83e8b410c391283e06b6bde9171851599181cc553cd0e924254c07f6ba3724a8737667f56487c7ada97b28aa4b25c97585312fbc7b70b528a492359524358 SHA512 1e4199620cb049b8e70c4462cd9ce9a4d72d3639522c97bf320e176cdd3484f632533573f6ead53b881c87ef0886461c86ec5051d470febfc9cfa26d9a012c60 DIST gruff-0.17.0.tar.gz 25740284 BLAKE2B cbe3d9eaa6121c86a632dd7b64666069ccaa7635d86a54bd2c37f0d258bce9e5b0e5c75ff6574bca54e8e3bdb807614276b63af47f39dd3106625d2e11bb65c3 SHA512 028ee41a41d24e5678640da83684d2455fc92443c67abbd49bf308832af4e8eace04522e87ecca453f48bd3822e2a43e6de9c0134c1ba3372947645d20d1d9ce DIST gruff-0.18.0.tar.gz 25884658 BLAKE2B 2943d7de2ea6d024d46b2cb389ab46dcf6dc5cb00cc6e0cf089a401552424dbc1978f98f454bedfd74cc1d3caf079857d4df2da4067d8ddadd8e28d47314430a SHA512 fcfa0c5062d3b71188ae4b3aa39b391866f69a35037a6e82a40071ac59cc0837804ef642d00f9c73bbe4a9ec3e46a3de7b14c8e61a341497f7f362130a467cf8 +DIST gruff-0.19.0.tar.gz 25770103 BLAKE2B 6f1d45e03a4ca0a022c1f7313114bb87a06dc2265f1500fea703b2bb4dbbdba21336a63e4a10b166696baa37eb034977c7606817284f8abc06f8ce5bb4a4d6c2 SHA512 5028429c6b2d3551964190956cc5ce7e234b14aef94f8687fc9ac52aa810d98c9018ce5f1dfc04756936dfa47665d3566d53ec300523ca5786693ac99740d81f diff --git a/dev-ruby/gruff/gruff-0.19.0.ebuild b/dev-ruby/gruff/gruff-0.19.0.ebuild new file mode 100644 index 000000000000..0ed5ede00214 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.19.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="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 +}