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 8013D1382C5 for ; Sat, 6 Feb 2021 06:59:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 196D5E0863; Sat, 6 Feb 2021 06:59:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 BD545E085E for ; Sat, 6 Feb 2021 06:59:49 +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 35ECE343397 for ; Sat, 6 Feb 2021 06:59:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 646894C for ; Sat, 6 Feb 2021 06:59:46 +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: <1612594158.74642e3aa888342ada4fdb24dc568b9dea37f21f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/afm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/afm/afm-0.2.2-r1.ebuild X-VCS-Directories: dev-ruby/afm/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 74642e3aa888342ada4fdb24dc568b9dea37f21f X-VCS-Branch: master Date: Sat, 6 Feb 2021 06:59:46 +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: 1b4ffb17-04fd-487c-bfa6-4f4795d7572c X-Archives-Hash: 151d03ba1df51bf0f2474cef6b617a32 commit: 74642e3aa888342ada4fdb24dc568b9dea37f21f Author: Hans de Graaff gentoo org> AuthorDate: Sat Feb 6 06:49:18 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Feb 6 06:49:18 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74642e3a dev-ruby/afm: EAPI=7; add ruby30 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/afm/afm-0.2.2-r1.ebuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/dev-ruby/afm/afm-0.2.2-r1.ebuild b/dev-ruby/afm/afm-0.2.2-r1.ebuild new file mode 100644 index 00000000000..51fbde2f60b --- /dev/null +++ b/dev-ruby/afm/afm-0.2.2-r1.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="A very simple library to read Adobe Font Metrics files" +HOMEPAGE="https://github.com/halfbyte/afm" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="test" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/s/^/#/" Rakefile test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test test/test_afm.rb || die +}