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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A644413835B for ; Sat, 13 Mar 2021 07:08:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2044E086B; Sat, 13 Mar 2021 07:08:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AB5A5E086B for ; Sat, 13 Mar 2021 07:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C4EF3340AB6 for ; Sat, 13 Mar 2021 07:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 65ECB59C for ; Sat, 13 Mar 2021 07:08:10 +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: <1615619286.68f41fcdb8d74c86d660ed71d877fe2b67742c76.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.12.1.ebuild X-VCS-Directories: dev-ruby/gruff/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 68f41fcdb8d74c86d660ed71d877fe2b67742c76 X-VCS-Branch: master Date: Sat, 13 Mar 2021 07:08:10 +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: 589a9d1e-0823-44c6-adb4-893109a42947 X-Archives-Hash: 07d84e343e25998bf82f379a7d7eec6b commit: 68f41fcdb8d74c86d660ed71d877fe2b67742c76 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 13 07:07:59 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 13 07:08:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68f41fcd dev-ruby/gruff: add 0.12.1 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/gruff/Manifest | 1 + dev-ruby/gruff/gruff-0.12.1.ebuild | 53 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/dev-ruby/gruff/Manifest b/dev-ruby/gruff/Manifest index c5d30fb81b6..2fb068e6be4 100644 --- a/dev-ruby/gruff/Manifest +++ b/dev-ruby/gruff/Manifest @@ -1,2 +1,3 @@ +DIST gruff-0.12.1.tar.gz 27157241 BLAKE2B 18e0fc5398c16bc6eea9e628b4be887e9bd9e260e23476fbf7115a0db952ec036d36e5d28edf1b0dd121bf6193cc01fd00d629ba88da33b796db5618e3d401ab SHA512 553419952279cb26043d394286de26b0b63a57495a51e595d344cf8613bbf08b6838fd07d77e8c9272a1f3cb45042f88b9d3500ebbb6acca2bae8c6ded12b3bb 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.1.ebuild b/dev-ruby/gruff/gruff-0.12.1.ebuild new file mode 100644 index 00000000000..9c7cd283b20 --- /dev/null +++ b/dev-ruby/gruff/gruff-0.12.1.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" +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 +}